What is the latest version or clone of SynEdit?

I have not used synEdit for a while, but today I found that I need a good editor for a script-enabled form. When I went to download synEdit (which my mind froze in time as a โ€œsure thingโ€), I found that the author of the original abandoned it. I know that FreePascal has a synEdit version - and I heard that there is a newer unicode version out there somewhere - but where exactly can I get the newest and best version?

I would prefer unicode support, if possible, but more importantly, support for dynamic style (the ability to add tokens to emphasize keywords, which is a bit like Delphi when you access a variable of a class just introduced).

+7
source share
3 answers

http://synedit.sourceforge.net has a link to the Unicode version.

+5
source

SynEdit is much faster than any other text editor component. See benchmark here .

I am currently developing a new IDE for Arduino (the official version lacks the standard IDE features) to contribute to the Arduino community. Since I want my IDE to start initially without relying on any virtual machine, and cross-platform is not my goal, so I took my friend O'good Delphi 7 and looked for the updated SynEdit VCL. A little disappointing, it still does not have a very important function: code folding (which you can now call the "standard code edition").

But after a short search, I found a descendant project that is based on SynEdit, which adds the code: Mystix (hosted on SourceForge) . You can simply overwrite your previous SynEdit source with this (there is no new dpk package to install). It is based on SynEdit 2.0.1 anyway.

The documentation is a bit vague (you need to carefully study the source code to get an idea of โ€‹โ€‹how to use it correctly), but there is a hint here on how to use the code folding function:

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 the same license as SynEdit (MPL).

+4
source

I highly recommend using Scintilla. It has all the features you are looking for. It is much more efficient and mature than SynEdit. The development of SynEdit has decreased almost completely to the last yeast. The only problem with Scintilla is that no one updates the Delphi code that communicates with it. The SourceForge project is no longer active. Delphi code can be found at the following URLs:

Borland Delphi control wrapper for Scintilla and Delphi Components

The latter contains the most recent code. It's easy to upgrade it to add the latest Scintilla features.

0
source

All Articles