You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to change the colour of specific parts of text in a line using your StyledText plugin, but I am only able change it`s background. Is it possible to use the StyledText plugin as a RAP alternative for the RCP StyledText widget or does it not have the functionality?
What I`m trying to do is colour code specific ranges of chars in specific lines of text on a widget that shows text, sort of like console output.
The text was updated successfully, but these errors were encountered:
For now, only a subset of the RCP styledText API is available on RAP. DSL Forge does the default syntax coloring (keywords, strings, comments, numbers) of language grammars, but if you want to specify the ranges yourself, you can do it only in JavaScript, following the official ACE documentation, see a usage example here.
If you are interested in the styled text widget and don't need a language grammar, I'd recommend you use the styled text repository, which is going to be incubated under Eclipse RAP, the initial code is available here,
Hi!
I am trying to change the colour of specific parts of text in a line using your StyledText plugin, but I am only able change it`s background. Is it possible to use the StyledText plugin as a RAP alternative for the RCP StyledText widget or does it not have the functionality?
What I`m trying to do is colour code specific ranges of chars in specific lines of text on a widget that shows text, sort of like console output.
The text was updated successfully, but these errors were encountered: