-
Hello,
|
Beta Was this translation helpful? Give feedback.
Answered by
magiblot
Feb 5, 2024
Replies: 1 comment
-
These hacks are no good. You only have two options:
For example, the original
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
paule32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These hacks are no good. You only have two options:
draw()
(or maybeformatLine()
in your case).For example, the original
TEditor
simply applies the following logic:selStart
, draw using the normal text color.selStart
toselEnd
, draw using the selected text color.selEnd
to the document end (bufLen
), draw using the normal text color again.