I like this idea, so I made a quick and dirty method. Made a button with this.. on mouseUp put the selectedtext into tText if the first char of tText is not quote then put quote before tText if the last char of tText is not quote then put quote after tText put tText into the selectedchunk end mouseUp
Did the extra rigamarole for those times when I get one of the quotes in but forgot the other. If there is already a quote at either end of the selection, no quote is added to that end. Should be easy to turn it into a plugin, and assign a key combination to do the quote insert. Thanks for the idea. On Sat, Aug 20, 2016 at 8:47 PM, Monte Goulding <mo...@appisle.net> wrote: > Wouldn't it be better if typing quote when you have more than an insertion > point quoted around the selection? > > Sent from my iPhone > > > On 21 Aug 2016, at 12:38 PM, Roger Guay <i...@mac.com> wrote: > > > > If one could double-click a word in the script editor and then simply > click a button to put it in quotes? Has anyone already done this? Yes, I > know I can do Find and Replace, but this would definitely be the cat’s meow! > > > _______________________________________________ > 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 > _______________________________________________ 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