Start of Content Area

Function documentationINDENT_SELECTION  Locate the document in its SAP Library structure

Use

Use this method to indent a selected area by a given number of spaces. Use the parameter M_SPACES_ON_INDENT of the method SET_SPACES_ON_INDENT to set the number of spaces.

Note

Only the text that is actually selected is indented (important if you did not select from the beginning of a line or to the end of a line).

Windows

HTML

Java

ü

X

ü

Features

call method textedit->indent_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