TextEditor

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

TextEditor

Post by djrikki »

Just pondering of the possibilities with the TextEditor class. It doesn't appear to be possible to implement any kind of syntax highlighting because I can't even get past the first requirement which is being notified everytime a character is entered.

Looking deeper there isn't methods either for Find and Replacing string matches.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: TextEditor

Post by airsoftsoftwair »

No, TextEditor.mcc doesn't support any advanced functionality alas.... convince the MorphOS team to open source its Scribble MUI class for a better alternative :)
User avatar
r-tea
Posts: 133
Joined: Tue Feb 16, 2016 11:48 pm
Location: Zdzieszowice, Poland
Contact:

Re: TextEditor

Post by r-tea »

If I understand you correctly Scribble doesn't allow to add another languages to its syntax higlighter?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: TextEditor

Post by airsoftsoftwair »

I don't know about Scribble but it is based on the Scintilla editor component which is very flexible. So if a Scintilla MUI class was available on all platforms, a much more flexible API could be offered which would allow you to implement syntax highlighting.
Post Reply