amiga-mui / texteditor

A well-known and used MUI custom class (TextEditor.mcc) which provides application programmers a textedit gadget. It supports features like word wrapping, soft styles (bold, italic, underline), a spell checking interface as well as an AREXX interface for scripting.
GNU Lesser General Public License v2.1
19 stars 4 forks source link

Add support for custom RGB colors #1

Closed tboeckel closed 9 years ago

tboeckel commented 9 years ago

MUI's text enginge supports direct RGB colors for text via the \033P[RRGGBB] sequence. If possible TextEditor.mcc should be able to do the same as well, provided the system is able to handle direct RGB colors.

afalkenhahn commented 9 years ago

It would also be great if TextEditor.mcc could return direct RGB colours in its exported texts instead of pen references. In order to keep compatibility with older versions, a new tag could be introduced to enable this behaviour. If it is enabled, colour changes inside the text should be exported as \033P[RRGGBB] tokens instead of pen references. This would also increase consistency to other MUI classes like Floattext.mcc which also treat colours like that.

tboeckel commented 9 years ago

This feature will be implemented in V15.47.