cntrl z and ags script editing window

Started by MrColossal, Sat 24/05/2003 04:38:47

Previous topic - Next topic

MrColossal

just a little note, if you hit cntrl z as your first key stroke going into the script editor is erases everything

scared me first time i did it
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

evilspacefart

maybe it might have something to do with ctrl + z being the keyboard shortcut for "undo" but i'm just guessing.

Scorpiorus

#2
Quotemaybe it might have something to do with ctrl + z being the keyboard shortcut for "undo" but i'm just guessing.
Yep, that is. Just when the script editor is opened having no text inside it save that state. Then AGS loads script file so when you pressing Ctrl-Z it processes the undo command and erases the whole script.

There are also some useful hotkeys:

Ctrl - A: select all
Ctrl - T: swap two lines
Ctrl - L: delete current line
Ctrl - J: return (enter key)
Ctrl - M (or Shift - Enter): return but to the 1st column
Ctrl - Backspace: delete the word before the cursor
Ctrl - Delete: delete the word after the cursor
Ctrl - +, /, - (gray): change font size
Ctrl - End: goto last line
Ctrl - Home: goto first line

there are also useful shortcuts like Ctrl - Right/Left/Up/Down, Alt - Right/Left, Shift - Right/Left/Up/Down/Home/End

-Cheers

Pumaman

Hehe yeah, Scorpiorus has got why this happens - a bit unnerving I agree, but I'm not sure if it's worth the time to fix.

MrColossal

ah but you did....

but you did...

check mate Christopher Jones......
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Pumaman


notsleeping

why isn't there an undo on things like GUI edits/ moves? lol or why isn't my ags ctrl-z not work in GUI layout/data fields :)

Crimson Wizard

#7
.... aaaand the first prize for necromancy goes to notsleeping! :D

@Nonsleeping, you may add your suggestion regarding improving the editor in this subforum: http://www.adventuregamestudio.co.uk/forums/index.php?board=18.0

Also, there's an issue tracker for the same purpose: http://www.adventuregamestudio.co.uk/forums/index.php?project=5;area=issues

BTW I am supporting you on this issue. :)

Radiant

interesting, so this is where that control-t shortcut comes from! I still wonder whatever is the point of that, though.

SMF spam blocked by CleanTalk