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 » Sun Mar 01, 2015 1:50 am

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: 2506
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: TextEditor

Post by airsoftsoftwair » Wed Mar 04, 2015 8:57 pm

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: 66
Joined: Wed Feb 17, 2016 12:48 am
Location: Zdzieszowice, Poland
Contact:

Re: TextEditor

Post by r-tea » Tue Jun 06, 2017 8:48 pm

If I understand you correctly Scribble doesn't allow to add another languages to its syntax higlighter?

User avatar
airsoftsoftwair
Posts: 2506
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: TextEditor

Post by airsoftsoftwair » Sat Jun 10, 2017 11:11 am

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