Use
This method allows you to switch the highlighting mode for a selection of lines on and off.
Windows |
HTML |
Java |
ü |
X |
ü |
Features
call method textedit- >highlight_selection
exporting
highlight_mode = highlight_mode
exceptions
has_no_effect = 1
error_cntl_call_method = 2
invalid_parameter = 3.
Parameters |
Description |
Possible values |
highlight_mode |
Switches highlighting on or off (true/false) |
true Switched on (default value) false Switched off |

If you used the method
SET_HIGHLIGHT_COMMENTS_MODE to highlight all comment lines automatically, the method HIGHLIGHT_SELECTION has no effect.