I’ve had the completion capability on my local dev environment for a couple of
years via a plugin that I wrote. I wrestled with these same problems years ago.
I actually find that it is benefitial to have BOTH completion and no
completion. Having a setting to change this is combersome. It is an on-the-fly
desire.
So here’s how I solved the problem in my IDE startup script…
Hold down the option key and you get completion. no option key, no completion.
If you’d like to try this on your own, put this into a plugin that loads this
into the frontscript. Don’t use LC 9dp8 though as you won’t get the non-option
key effect of the pairings...
Bob
/*
* auto complete common pairings with <option><key>
*/
on rawKeyDown pKey
local tChar
if optionkey() = "down" then
switch pKey
case 34
insertText quote"e
exit rawKeyDown
break
case 39
insertText "''"
exit rawKeyDown
break
case 57
insertText "()"
exit rawKeyDown
break
case 91
insertText "[]"
exit rawKeyDown
break
case 123
insertText "{}"
exit rawKeyDown
break
end switch
end if
pass rawKeyDown
end rawKeyDown
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode