Skip to content

Demos ​

The Demos folder of the library contains VCL applications that show how to use the components. Open the group Demos\DemosVCL.groupproj, or the single .dproj / .dpr of each demo, in the IDE where Ethea SynEdit is installed.

DemoFolderShows
Edit ApplicationsEditAppDemosComplete editors in MDI, SDI and Workbook style.
Code CompletionCompletionProposalDemoTSynCompletionProposal with the code list and the parameter hints.
Search and ReplaceSearchReplaceDemoSearch, replace, confirmation and highlight of the matches.
Code FoldingFoldingFolding of C++, JavaScript and Python files.
Print and PreviewPrintDemoTSynEditPrint and TSynEditPrintPreview.
Simple IDESimpleIDEDemoBreakpoints, current line and a custom gutter band.
Spell CheckSpellCheckTSynSpellCheck with errors, suggestions and actions.
Markdown ViewerMarkdownViewerA viewer for Markdown derived from TSynEdit, with indicators.
HighlighterHighlighterDemoA custom highlighter built with SynGen.

The folder contains also the unit uHighlighterProcs, used by several demos to find the highlighter of a file from its extension and to build the filter of the open and save dialogs.

Uses clauses

The demos use the unit names of Ethea SynEdit (SynEdit.Core, SynEdit.Highlighter.Pas...): see Migrating from another SynEdit to port your own projects.

Some demos have no .dproj: create one in the IDE from the .dpr.

Released under the MPL 1.1 / GPL 2 dual license.