On 2017-07-17 18:39, Mark Wieder via use-livecode wrote:
On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

Indeed, bracket completion has to ignore content of strings otherwise you can't write stuff like:

   put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.

...and with good reason. I can't think why I would *ever* write that.
If I had to do something that daft I'd write it as

put ")''" into tVar

but I would hope the occasion would never arise.

Indeed - it is a bit of tortuous example...

However cases of double quotes, single-quotes, un-balanced brackets, braces and parentheses all occur in various domains - most notably anything which processes or generates source-code.

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to