Syntax Highlighter for TEditor sub classes #122
paule32
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I toying a little bit witht the source code file source/tvision/edits.cpp, and include/tvision/editors.h.
The result is a little Syntax Highlighter for Pascal keywords.
It is a very simple parser, so it can be proof - it is nothing, just for fun Project:
I added 3 members to the TEditor class in include/tvvison/editors.h:
the first Argument is the keyword name, and the second Argument of the map container is the BIOS color code
Here the code, that I used in source/edits.cpp:
Here is a example on using the features:
Let me know, if this helpfull .
Thanks, paule32
Beta Was this translation helpful? Give feedback.
All reactions