Syntax highlighting example?

is there any simple code example or how to do, how to make the richedit syntax a highlight-syntax? I tried SynEdit, but it is very difficult for me, I was wondering if there is a small piece of code there that I can work on? or just an idea of ​​how to do this as fast as the IDE does?

amuses;

+3
source share
4 answers

You can look at the source Gexperts. There is a Source Export based on Martin Waldenburg Pascal Parser IIRC.
But I'm not sure it's “simple.”

+1
source

, SynEdit , TRichEdit.

1. TSynEdit SynEdit

2. Highligther SynEdit Highligthers

3.set Highlighter TSynEdit.

alt text

, RichEdit, .

+14

SynEdit (, , mwEdit) , .

, . Pascal, . { }, , , }, , . . .

, , Windows. , . ( , , , ..), , .

: (, Scintilla), - , ( SynEdit). SynEdit , , 1000 1010 , 1000 .

, . , , , ; -, , , , .

, , , Unicode, /, , .. , , , , , , , .

+10

LMD SyntaxEdit, . . , .

0

Source: https://habr.com/ru/post/1763186/


All Articles