Start of Content Area

Function documentationUNINDENT_LINES  Locate the document in its SAP Library structure

Use

Use this method to reduce the indentation of a set of lines by a certain number of spaces. Use the parameter M_SPACES_ON_INDENT of the method SET_SPACES_ON_INDENT to set the number of spaces. The indentation is only reduced if there are spaces at the beginning of the lines in question.

Features

call method textedit->unindent_lines

  exporting
    from_line = from_line
    to_line = to_line
    enable_editing_protected_text = enable_editing_protected_text

  exceptions
    error_cntl_call_method = 1.

Parameters

Description

Possible values

from_line

Beginning of the section you want to indent

 

to_line

End of the section you want to indent

 

enable_editing_protected_text

Editing for protected sections of text

false
Protected sections cannot be edited (default value)

true
Protected sections can be edited