Feature or Bug?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm
Location: San Diego, CA USA

Feature or Bug?

Post by lohill » Sun Jul 16, 2017 10:57 pm

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

lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm
Location: San Diego, CA USA

Re: Feature or Bug?

Post by lohill » Sun Jul 16, 2017 10:58 pm

That is version dp 8

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Feature or Bug?

Post by richmond62 » Mon Jul 17, 2017 8:28 am

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Feature or Bug?

Post by richmond62 » Mon Jul 17, 2017 9:04 am

> 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)?

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”