I don't quite understand the FormatTextAreaText() function in MaxGUI. The documentation doesn't help me:
I'm making a basic text editor, and I want any text that is in between (and including) double quotes to be green. I suppose I would need to search for each occurence of a quote then execute the formatting until another quote appears? Or is it simpler than that? I don't understand the flags, length, and units part of the function. All help appreciated.
-Thanks
FormatTextAreaText( textarea:TGadget,r,g,b,flags,pos=0,length=-1,units=1 )
I'm making a basic text editor, and I want any text that is in between (and including) double quotes to be green. I suppose I would need to search for each occurence of a quote then execute the formatting until another quote appears? Or is it simpler than that? I don't understand the flags, length, and units part of the function. All help appreciated.
-Thanks