Page 1 of 1
Personalize IDE?
Posted: Thu Nov 27, 2014 2:55 am
by MadDogDean
Hi,
Is it possible to customize or update the IDE with custom keyboard actions? For example, I *always* use the Enter key beside the numpad and the Code Editor *always* closes on me... grumble, grumble.. I'd like to reverse the actions of the two Enter keys on my keyboard.
Also, is it possible to increase the mouse movement threshold when selecting objects? Often time, I move the mouse *slightly* when selecting an object and it moves a pixel or two... more grumble, grumble... (and "Lock position" isn't really an option at design time).
Thanks,
Dean
Re: Personalize IDE?
Posted: Thu Nov 27, 2014 12:36 pm
by LCNeil
Hi Dean,
To adjust the move threshold when moving objects you can set the Grid Spacing to a more suitable value. This setting can be found in "Preferences"---->"Appearance"
In regards to customising the keyboard options, as the script editor is essentially just a stack, you will be able to edit the scripts of it in any way you like. Although we cannot support any 3rd party changes you make

.
To view IDE based stacks first enable LiveCode ui elements in list from the "View" menu. This will list various IDE stack within the project/application browser. Within this list you should see a stack called "revNewScriptEditor" and this contains all of the scripts and substacks that make up a script editor instance.
Having a quick look into this, the scripts you will want to initial focus on are contained in the "Template stack" button of the "revNewScriptEditor" stack. This is where you will find the various enterKey, enterInField, returnKey and returnInField handlers that deal with the relevant script editor functionality.
I hope this gives you some leads and keep us posted on how you get on
Kind Regards,
Neil Roger
--
LiveCode Support Team ~
http://www.livecode.com
--
Re: Personalize IDE?
Posted: Thu Nov 27, 2014 4:04 pm
by Mikey
And we need to be able to undo things we do, easier (like accidentally deleting an object when we think we're in the script editor), and better shortcuts for things like changing tools, showing, hiding palettes, etc, etc.
Now that we have a little plugin for skinning the script editor, maybe someone is interested in doing some more hacking...
Re: Personalize IDE?
Posted: Fri Nov 28, 2014 8:06 am
by MadDogDean
Hey Neil,
Thanks for the tips - I'll dig into it (and keep a backup on hand... just in case

)
Cheers,
Dean