Page 1 of 1

Feature or Bug?

Posted: Sun Jul 16, 2017 10:57 pm
by lohill
In LC 9.0.0 (dp 8) while editing a script: When I enter a left parentheses I automatically get a right parentheses with the cursor placed in between. If I type a quote I automatically get the closing quote. Same with brackets. Is this a feature or a bug. If it is a feature is there a place in the preferences where I can turn it off? I have not been able to find such a place. If no such place exists then one should be created.

Thanks,
Larry

Re: Feature or Bug?

Posted: Sun Jul 16, 2017 10:58 pm
by lohill
That is version dp 8

Re: Feature or Bug?

Posted: Mon Jul 17, 2017 8:28 am
by richmond62
Ouch:

I'm getting that in 9.0.0 dp 8 on Linux

[which platform are you on?]

and NOT in 8.1.6 rc 1 (just thought I'd check in case it was somehow connected with LiveCode's
slightly over-exuberant embracing of the code-stuff on the left side)

I could find no way to turn off 'that' in the Preferences . . .

While, in some respects it's not a bad idea (when I get myself nested inside 6 or 7 sets of parentheses I will be extremely grateful),
it SHOULD be OPTIONAL . . .

I hope LiveCode aren't falling into the Apple/Microsoft way of thinking where what they know 'is' best is enforced.

Re: Feature or Bug?

Posted: Mon Jul 17, 2017 9:04 am
by richmond62
> 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)?