I have written a code calling calling RSyntaxTextArea and autocomplete. When the user enters function, the word will be replaces with function<>. I want to highlight the word "label" in the below code, so that the user knows they have to enter a name.
provider.addCompletion(new ShorthandCompletion(provider, "function", "function<Label>","funtion<Label>"));
The code basically replaces function with function and moves on instead of highlighting label and waiting for the user to enter something. How can I do this?