TextEditor

Discuss GUI programming with the MUI Royale plugin here

TextEditor

Postby 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
djrikki
 
Posts: 645
Joined: Wed Apr 06, 2011 12:26 am

Re: TextEditor

Postby 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
airsoftsoftwair
 
Posts: 2202
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: TextEditor

Postby 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
r-tea
 
Posts: 59
Joined: Wed Feb 17, 2016 12:48 am
Location: Zdzieszowice, Poland

Re: TextEditor

Postby 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.
User avatar
airsoftsoftwair
 
Posts: 2202
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to MUI Royale

Who is online

Users browsing this forum: No registered users and 1 guest