Open source editors using (Uni)SynEdit [except Dev-PHP/Dev-C++] - delphi

does anyone know some good open source editors / IDES that are using SynEdit?
this is very powerful control, but it definitely lacks some advanced demos...

The Lazarus IDE is built around SynEdit. That's about as advanced a "demo" as you can get.

Innosetup uses SynEdit and you can get the source to examine for free. I found the demos that come with Synedit quite acceptable though.
Bri

My favorite programmer's editor, ConTEXT Editor that recently has turned Open Source.
The project is hosted on Google Code.

There is Syn text editor. Somewhat dated but should give you an idea.

Tinn-R uses the latest version (UNICODE) of SynEdit:
Web page
SourceForge
GitHub

Related

What is the latest SynEdit version or clone?

I havent used synEdit for a while, but today I found that I needed a good editor for a form with script support. As I went to download synEdit (which my mind had frozen in time as a "sure thing") I found that the original author had abandoned it. I am aware that FreePascal has a synEdit version - and I hear there is a more recent unicode version out there "somewhere"-- but where exactly can I get the newest and best version?
I would prefer unicode support if it's possible, but more importantly is support for dynamic styling (being able to add tokens to underline keywords, a bit like Delphi does when you access a variable of a class you just typed).
http://synedit.sourceforge.net has a link to the Unicode version.
SynEdit is much faster than any other text editor component. See the comparison benchmark here.
Currently I'm developing a new IDE for Arduino (official one is lack too much standard IDE features) to contribute to Arduino community. Since I want my IDE to run natively without rely on any VM and cross-platform is not my goal, so I took my o'good friend Delphi 7 and search for updated SynEdit VCL. Slightly dissapointing is it still has no very important feature: code folding (which you can say as "standard code editor feature" nowdays).
But after a little search I've found a descendant project which based on SynEdit which feature code folding: Mystix (hosted at SourceForge). You can simply overwrite your previous SynEdit source with this one (there is no new dpk package to install). It's based on SynEdit 2.0.1 anyway.
Documentation is a little vague (you have to throughfully examine the source code to get idea how to use it properly), but here is hint how to use the code folding feature:
SynEdit1.CodeFolding.FolderBarColor: = clDefault;
SynEdit1.CodeFolding.HighlighterFoldRegions: = False;
SynEdit1.CodeFolding.FoldRegions.Add(rtChar, False, False, True, '{', '}');
SynEdit1.CodeFolding.FoldRegions.Add(rtKeyword, False, False, True, '/*', '*/');
// and don't forget to initialize...
SynEdit1.InitCodeFolding;
// ... and enable it
SynEdit1.CodeFolding.Enabled: = True;
Mystix is released under same license as SynEdit (MPL).
I strongly recommend the use of Scintilla. It has all features you are looking for. It is much more capable and mature than SynEdit. The development of SynEdit decreased in the last yeast to almost standstill. The only problem of Scintilla is that the no one is updating the Delphi code that binds to it. The SourceForge project is not active anymore. You can find Delphi code in the following URLs:
Borland Delphi control wrapper for Scintilla and Delphi Components
The latter contains the most recent code. It is not difficult to update it to add recent features of Scintilla.
I would not use the link in the current answer as it hasn't been updated lately even though it is still getting about 80 downloads a week on SourceForge. (https://sourceforge.net/projects/synedit/)
There are three fairly recently updated versions on GitHub:
The generally considered "official" version:
https://github.com/SynEdit/SynEdit
A fork with new features added and a bunch of cruft removed
https://github.com/pyscripter/SynEdit-2
Embarcadero's "official" version, supported by GetIt. (Their "TurboPack" packages removed support for old Delphi versions to nudge people to the latest version.)
https://github.com/TurboPack/SynEdit
For a brief history see this thread on DelphiPraxis:
https://en.delphipraxis.net/topic/3028-synedit-preferred-version/?do=findComment&comment=24291

Where can I find DeskUtil documentation?

Where I can find DeskUtil documentation/help? I am trying to build Delphi add-in and I have some troubles with saving/registering/loading the add-in docking form into the active IDE desktop. I am using the DeskUtil methods after reading some examples here and there, but, examples don’t go deep in how these methods work, and in the mechanism of the IDE loading/destroying. Is there any official documentation/help about the DeskUtil or the OpenTools Api? In other words, how and where can developer like me get deep knowledge (not articles or demos) about IDE and OpenTools Api?
Thanks for your help.
You can have a look at the GExperts "Erik's Open Tools API FAQ" and also search for examples in the GExperts code.
Also see articles by Allen Bauer:
Opening Doors: Notes On the Delphi ToolsAPI by its Creator
Opening Doors: Notes On the Delphi ToolsAPI by its Creator - Part 2
Opening Doors: Getting Inside the IDE
Units and Forms required to create Dockable IDE Forms

How do I make the Lazarus IDE look and work like Delphi 2007 or newer?

I've begun working with using Lazarus to make some simple utilities for my own use on Ubuntu 9.10. I know many people like the modular Delphi 7 layout, but I prefer a docked layout.
I'd also like to have the Delphi 2007 palette menu. Is this possible within the latest version of Lazarus (v0.9.28.x) ?
How can I configure Lazarus to look like, or behave like, Delphi 2007/9/10?
NOTE: This question is very old. It's now (2023) possible to configure Lazarus to appear more Delphi-like, and has been for a few years. Here's a good guide.
Kudos and thanks to the Lazarus developers for their amazing work!
I'm not sure that you can make it look like the newer Delphi IDEs.
I've used it in the past and I think that the D7 look is the only available option.
You could always edit the source and change it.
There is no option to have the palette menu like Delphi 2007 in Lazarus. I think there is also a reason for this: the Lazarus developers are mostly 'hard core, oldschool' Delphi programmers, and this kind of programmers seems to prefer the Delphi 7 tools menu.
You can try Anchor Docking. It Helps, but, not change the menu.
From the Lazarus main menu pick "Package" - "Install/Uninstall Packages" and install the "anchordockingdsgn" package
https://wiki.freepascal.org/Anchor_Docking
It's open source, you can code it...

How do I write a Delphi Galileo IDE Expert?

HI,
I want to write a small Delphi IDE Expert for D2007-D2009 (aka. Galileo IDE) in order to show a window with a TMemo instance on it, with all the component names and classes from the form designer in the above memo. The selected component will be marked with a '*'. The expert should appear on a menu/toolbar and have a shortcut assigned.
How do I do?
Ps: Actually the real code is more complicated than that, but I want to have a general framework to get started.
TIA
I did my first OTA with help of these links:
Erik's Open Tools API FAQ and Resources (The author of GExpert)
Delphi Open Tools API from Jim Kueneman - Mustangpeak
Delphi Open Tools API from RayRay Lischner
They are not updated to the latest versions, but they will you good start point and most of the code will work with the last version, I tried them with D2007.
There are links to articles describing how to write an OTA plug-in here:
http://delphi.about.com/od/objectpascalide/a/wizardsexperts.htm

For Delphi IDE, Functions list in code editor like in Visual Studio

For Delphi IDE, Is there any tool/expert to know the name of the function where the cursor is, without scrolling the code editor?
CnPack offer that too for free ;-)
Castalia is the tool you want, for all IDE's including the post-Delphi 7 versions.
Castalia at TwoDesk
The Structure Pane provides this information when a code window is open.
Funny, nobody mentioned GExperts - that's a free addon for Delphi, works flawlessly with all editions from Personal to Architect. And has a lot useful stuff in it. Personally I don't even touch Delphi if there's no GExperts installed - but that's me :D
I never used it personally, but CodeRush for Delphi might be the tool you are looking for (on the linked page search for "breadcrumb").

Resources