Start of Content Area

Function documentationSET_HIGHLIGHT_COMMENTS_MODE  Locate the document in its SAP Library structure

Use

Use this method to switch automatic highlighting for comment lines on or off. The method SET_COMMENTS_STRING determines the lines that are recognized as comments.

Windows

HTML

Java

ü

X

ü

Features

call method textedit- >set_highlight_comments_mode

  exporting
    highlight_comments_mode = highlight_comments_mode

  exceptions
    error_cntl_call_method = 1
    invalid_parameter = 2.

Parameters

Description

Possible values

highlight_comments_mode

Switches automatic highlighting on or off

true
Switch on (default value)

false
Switch off

Note

If this mode is switched on, the methods HIGHLIGHT_SELECTION and HIGHLIGHT_LINES for highlighting areas of text have no effect.