Use
Use this method to switch the highlighting mode on and off for a range of lines.
Windows |
HTML |
Java |
ü |
X |
ü |
Features
call method textedit- >highlight_lines
exporting
from_line = from_line
to_line = to_line
highlight_mode = highlight_mode
exceptions
has_no_effect = 1
error_cntl_call_method = 2
invalid_parameter = 3.
Parameters |
Description |
Possible values |
from_line |
Starting line for the range |
|
to_line |
Final line (inclusive) of the range |
|
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_LINES has no effect.