Start of Content Area

Function documentationCOMMENT_SELECTION  Locate the document in its SAP Library structure

Use

Use this method to make the selected lines into comment lines. The starting and finishing lines are always converted entirely to comment lines, even if the user did not select all of them.

Windows

HTML

Java

ü

X

ü

Features

call method textedit->comment_selection

  exporting
    enable_editing_protected_text = enable_editing_protected_text

  exceptions
    error_cntl_call_method = 1.

Parameters

Description

Possible values

enable_editing_protected_text

Editing for protected sections of text

false
Protected sections cannot be edited (default value)

true
Protected sections can be edited