Adventure Game Studio

AGS Development => Editor Development => Topic started by: Crimson Wizard on Thu 13/03/2014 08:11:52

Title: "Go to line" selects all line - is it normal?
Post by: Crimson Wizard on Thu 13/03/2014 08:11:52
I didn't pay attention before, but "Go to line" command selects whole line in the script editor. I never saw such behavior in any text editor I used. Is this a right thing to do? If user occasionally presses a key after the command, he/she will delete the line of code.
Title: Re: "Go to line" selects all line - is it normal?
Post by: Gurok on Thu 13/03/2014 08:33:55
I actually thought this was strange too. All I did was make the behaviour consistent across types of editors (scripting, dialogue), but it seems a bit counter-intuitive to me. Some editors I've used select the line momentarily so that it flashes and then return the cursor to the start of the line. Perhaps it's a semi-implemented version of that.