[G4] How to make highlighted text in GTextArea persistent? (at first load, e.g., text from 10-15 are highlighted)
in
Contributed Library Questions
•
8 months ago
I know how to highlight text by using setSelectedTextStyle when the text is selected by user. However, I want to keep them persistent so that when the textarea appeared again, the text is still highlighted. I plan to keep the start/end cursor selection and then highlight text using those numbers. But GTextArea seems doesn't support it. Is there any method? Thanks.
1