Hello, I'm trying to implement a SyntaxHighlighter in a way that in fine will permitted me to switch the highlighted text from one variable to an other in a word like text editor. At the moment I managed to highlight the text but as soon as I edited the text before the highlighted region everything seems to crumble. Note that the HighlightRegion is updated correctly in most case but that visualy it didn't follow when I added text before it or use the dell key (the strangest of all being that pressing backspace with the caret before the HilghlightRegion work perfectly)
#Highlighted text doesn't update on text edit
15 messages · Page 1 of 1 (latest)
send the whole project if you can.
There is not much aside from this 3 files but if it can help here it is
which version of Godot are you using?
4.1.1 Stable
Nope you can right click on text and select Create HilghlightRegion
i know i have been sinking my teeth into it for at least a week and a half and couldn't figure out what i was doing wrong
could this be a bug in the editor?
i honestly don't know