[ANN] Release 9.0.0 DP-8

panagiotis merakos merakosp at gmail.com
Mon Jul 17 05:05:14 EDT 2017


I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
However, if you want to add them, you have to:

0. Open the script of an object (needed for loading the SE behaviors
1. Type in the msg box:

edit the script of stack "com.livecode.scripteditor.behavior.editorcommon"
at 2968

2. Add the lines

case "{"
   put "}" into tCompletionChar

3. Click Apply

Note: If you want the changes to be saved permanently you either have to
change the permissions of the LC .app bundle (currently they are
read-only), OR open this file (Toolset/palettes/script
with an external Text editor as admin and save those changes.

>>>>>Mayhap it could be made an option adjustable in the Script Editor
section of the Preferences?

Yes, this will make everyone happy, although I personally find this feature
*really* useful.

Best, Panos

On Mon, Jul 17, 2017 at 8:59 AM, hh via use-livecode <
use-livecode at lists.runrev.com> wrote:

> > Panos M. wrote:
> > Script Editor: Support for auto completion of square bracket `[`,
> > parenthesis `(` or double quote `"` is now added.
> After writing a long script I really like this feature and miss it
> already in LC 8.1.6.
> I wonder what's the reason to leave out braces "{}" (may be needed for
> connecting to LCB) and single quotes (good for writing an already quoted
> javascript string)?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list