static public int ReplaceSelection(IntPtr l)
{
try {
FairyGUI.GTextInput self = (FairyGUI.GTextInput)checkSelf(l);
System.String a1;
checkType(l, 2, out a1);
self.ReplaceSelection(a1);
pushValue(l, true);
return(1);
}
catch (Exception e) {
return(error(l, e));
}
}