Texteditor.Clear or Erase?

Discuss GUI programming with the MUI Royale plugin here
Post Reply
User avatar
lazi
Posts: 635
Joined: Thu Feb 24, 2011 11:08 pm

Texteditor.Clear or Erase?

Post by lazi »

Just wondering what the difference is between the two functions Texteditor.Clear and Texteditor.Erase?
Neither of these are in the class documentation, texteditor.doc.

Maybe they just do a Texteditor.Contents with empty string?
User avatar
airsoftsoftwair
Posts: 5668
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Texteditor.Clear or Erase?

Post by airsoftsoftwair »

Texteditor.Clear maps to the MUIM_TextEditor_Clear method whereas Texteditor.Erase maps to MUIM_TextEditor_ARexxCmd, passing "ERASE" as the Rexx command. Not really sure why I added both and if there is a difference between the two... maybe check the source on Github ;)
Post Reply