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.
| Demo | Folder | Shows |
|---|---|---|
| Edit Applications | EditAppDemos | Complete editors in MDI, SDI and Workbook style. |
| Code Completion | CompletionProposalDemo | TSynCompletionProposal with the code list and the parameter hints. |
| Search and Replace | SearchReplaceDemo | Search, replace, confirmation and highlight of the matches. |
| Code Folding | Folding | Folding of C++, JavaScript and Python files. |
| Print and Preview | PrintDemo | TSynEditPrint and TSynEditPrintPreview. |
| Simple IDE | SimpleIDEDemo | Breakpoints, current line and a custom gutter band. |
| Spell Check | SpellCheck | TSynSpellCheck with errors, suggestions and actions. |
| Markdown Viewer | MarkdownViewer | A viewer for Markdown derived from TSynEdit, with indicators. |
| Highlighter | HighlighterDemo | A 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.
