Quote:
Originally Posted by fowlplay4
I guess you're talking about the auto-indenting that the RC's script editor already does.
PHP Code:
//#CLIENTSIDE function MLTextEditCtrl.onKeyUp(keycode) { if (keycode == VK_RETURN) { // find the amount of spaces used in the last line // append the amount of spaces to the texteditctrl } }
|
Yes but, what I'm wondering is how to find the spaces and append them :P.