Hi,
I try to display bold, italic and underlined text within a TextEditor gadget but it doesn't work : all is displayed with "normal" style.
This is what I use :
WINDOW_Layout, LayoutObject,
LAYOUT_AddChild, TxtEd = TextEditorObject,
GA_ReadOnly, TRUE,
GA_TEXTEDITOR_BevelStyle, BVS_NONE,
GA_TEXTEDITOR_ImportHook, GV_TEXTEDITOR_ImportHook_Plain,
GA_TEXTEDITOR_Contents, "\33bbold\33iitalic\33uunderlined\33nnormal",
TAG_END),
What am I doing wrong ? Any help would be welcomed.
Here is the full source, exe and screenshot : http://boing.attitude.online.fr/temp/TextEditor_OS4.lha
Thanks
PS: the same code works under OS 3.2.
PS 2 : I use AmigaOS 4.1 FE update 3 => texteditor.gadget 53.32
TextEditor... and styles
- javierdlr
- Beta Tester

- Posts: 393
- Joined: Sun Jun 19, 2011 11:13 pm
- Location: Donostia (GUIPUZCOA) - Spain
- Contact:
Re: TextEditor... and styles
Hi, tried too have BOLD in mirrorGUI log text gadget, but no luck, only the "highlight" option/tag worked "\033h" and IIRC " <ESC> + [s:x] Create a separator." too. Created BZ 10558
Re: TextEditor... and styles
Hola Javier 
Thanks for feedback and for having filled a bug report.
Happy New Year!
Thanks for feedback and for having filled a bug report.
Happy New Year!