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, '/*', '*/');
Mystix is โโreleased under the same license as SynEdit (MPL).
user2026189
source share