A syntax highlighting edit control for the RAD Studio (Delphi and C++ Builder VCL):
- Predefined highlighter definitions for 70 programming languages
- User defined highlighter definions
- Multi highglighter support (for example: HTTP and PHP)
- Minimap
- Matching pair highlighting (for example "<" and ">" in HTML)
- Search with regular expressions, forwards / backwards, whole words, case sensitive, selection only
- Search result highlighting
- Bookmarks
- User defined marks
- Word wrap
- Code folding
- Synchron edit
- Completion proposal popup window
- Unlimited undo and redo
- Macro recorder
- Fonts with variable character width
- Windows DPI Aware
- Delphi XE4 or higher
- C++ Builder XE6 or higher
with BCEditor1 do
begin
Highlighter.LoadFromFile('JSON.json');
Highlighter.Colors.LoadFromFile('Default.json');
...
Text := Highlighter.Sample;
end;
Note! LoadFromStream / LoadFromResource does not support multi-highlighters (for example HTML with Scripts.json). Override TBCBaseEditor.CreateFileStream function, if you want to load multi-highlighters from a stream.