Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Dear all,

I am completely lost on how to determine the number of lines entered in a CL_GUI_RTF_EDITOR control.

The class CL_GUI_RTF_EDITOR provides the method IS_LINE_BEGIN, but this only works for hard line breaks - those created by pressing ENTER.

Line breaks that appear by writing a very long line that goes over the right window end are not counted.

Otherwise there is no suitable method.

A clue might be to use the method get_property, but I don't know the correct property.

Any help is really appreciated!!

Best regards from Switzerland,

Ingolf Dresp


Helpful Answer

Not what you were looking for? View more on this topic or Ask a question