Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
The setStyling doesn't work for me. I open a new editor and the console. I type some text into the editor. Then I type the following into the console:
But nothings happen. The editor.getStyledText returns 0 for styles.
The following code works fine:
editor.addStyledText(Cell("Hello in blue\n", ))
How can I change the styling of a text?
You need to set the lexer to the container, otherwise scintilla will ignore the calls for startStyling and so on.
Thank you for your incredible quick answer, it works! This plugin is awesome!