Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Format text from SO10 when displayed in text editor

Former Member
0 Likes
1,092

Hi,

I'm working on a module pool where I want to display a text which I declared in SO10. For getting the text from SO10, I use the function READ_TEXT_INLINE. For displaying the text in the text editor I use the method text_editor->set_text_as_r3table. Text editor is an instance of class cl_gui_textedit.

The displayed text is totally unformatted and if I edit in SO10 with the line editor, it displays all the control characters in the text editor of my program. Is there a way to format this text?

Thanks in advance and regards,

Martin

Hi,

I'm working on a module pool where I want to display a text which I declared in SO10. For getting the text from SO10, I use the function READ_TEXT_INLINE. For displaying the text in the text editor I use the method text_editor->set_text_as_r3table. Text editor is an instance of class cl_gui_textedit.

The displayed text is totally unformatted and if I edit in SO10 with the line editor, it displays all the control characters in the text editor of my program. Is there a way to format this text?

Thanks in advance and regards,

Martin

3 REPLIES 3
Read only

Former Member
0 Likes
764

Hi

I don't know that class, but u can use the fm EDIT_TEXT in order to display the std text.

Max

Read only

0 Likes
764

Hi Max,

thanks for your reply, but I cannot find this method. Are there other ideas how this can be solved?

Regards,

Martin

Read only

0 Likes
764

thanks for your reply, but I cannot find this method. Are there other ideas how this can be solved?

It's not a method...It's a Function Module...

Greetings,

Blag.