How to find out the color of a character that is in row i, in column k, in RichEdit?
1 answer
Try to select a symbol and view the SelAttributes attribute .
with richedit.SelAttributes do begin SomeColor := Color; end; - But I need what the user would not select. It will be something like automatic syntax highlighting. - bitrixhater
- oneThe code (and not the user) can select itself, and then remove the selection. - Nicolas Chabanovsky ♦
- But I need the code not to stand out when I press the key, otherwise just when the user presses again on another button, all the contents will be deleted :( - bitrixhater
|