Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
OK, it also turns out that there is another issue, namely that LC doesn't seem to track ctrl presses in the SE. On other platforms it looks like it treats ctrl like cmd but on the mac it just ignores it. Once I've got it tested and working on all platforms, I'll submit a pull request. There's

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
and I added a bug report. On Sat, Sep 10, 2016 at 5:06 PM, Mike Kerner wrote: > Interesting: The shortcut is called out as command-tab and > command-shift-tab in the code. I wonder why. Well, there's another > community project: custom shortcuts in the various IDE

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
Interesting: The shortcut is called out as command-tab and command-shift-tab in the code. I wonder why. Well, there's another community project: custom shortcuts in the various IDE elements. On Sat, Sep 10, 2016 at 4:59 PM, Mike Kerner wrote: > and as long as we're

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
and as long as we're on the topic, does anyone else have any interesting front/backscripts to share? On Sat, Sep 10, 2016 at 4:47 PM, Mike Kerner wrote: > On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. > Cmd-tab is mapped to the application

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
On a mac, ctrl-tab does not seem to be mapped to changing tabs in the SE. Cmd-tab is mapped to the application switcher. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Threading (plus random question)

2016-09-10 Thread Richard Gaskin
Mike Kerner wrote: > Dumb question - is ctrl-tab supposed to switch tabs in the SE? > It doesn't for me with or without this script. LC usually maps the Control key on other platforms to the Command key (I guess now called the Apple key) on Mac. Here I get SE tab navigation with Ctrl-Tab,

Re: Threading (plus random question)

2016-09-10 Thread Mike Kerner
Dumb question - is ctrl-tab supposed to switch tabs in the SE? It doesn't for me with or without this script. On Sat, Sep 10, 2016 at 7:13 AM, Peter M. Brigham wrote: > On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > > > I bet that is why you could never get the browse part

Re: Threading (plus random question)

2016-09-10 Thread Peter M. Brigham
On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > I bet that is why you could never get the browse part to work. ;-) > > Bob S > > > On Sep 9, 2016, at 06:19 , Peter M. Brigham > > wrote: > >set the tool to "browse ttol" Sometimes my typing

Re: Threading (plus random question)

2016-09-09 Thread Bob Sneidar
I bet that is why you could never get the browse part to work. ;-) Bob S On Sep 9, 2016, at 06:19 , Peter M. Brigham > wrote: set the tool to "browse ttol" ___ use-livecode mailing list

Re: Threading (plus random question)

2016-09-09 Thread mwieder
> Given that Mark's very thorough it's not surprising he's accounted for that. That's as may be, but the code snippet was actually Peter Brigham's, so he gets credit for the post. -- Mark Wieder ahsoftw...@gmail.com - -- Mark Wieder ahsoftw...@gmail.com -- View this message in

Re: Threading (plus random question)

2016-09-09 Thread Richard Gaskin
Mike Kerner wrote: > On Fri, Sep 9, 2016 at 10:57 AM, Richard Gaskin wrote: > >> Mark Wieder wrote: >> >>> On 09/08/2016 09:40 AM, Richard Gaskin wrote: Control-Tab is handy on a Mac, but the rest of the world has been using it to switch applications for nearly two decades. >>> >>>

Re: Threading (plus random question)

2016-09-09 Thread Mike Kerner
But it looks like line 1 of his script handles that. On Fri, Sep 9, 2016 at 10:57 AM, Richard Gaskin wrote: > Mark Wieder wrote: > >> On 09/08/2016 09:40 AM, Richard Gaskin wrote: >> >> Control-Tab is handy on a Mac, but the rest of the world has been using >>> it to

Re: Threading (plus random question)

2016-09-09 Thread Richard Gaskin
Mark Wieder wrote: On 09/08/2016 09:40 AM, Richard Gaskin wrote: Control-Tab is handy on a Mac, but the rest of the world has been using it to switch applications for nearly two decades. That's alt-tab. (Command-tab on macs). Indeed it is. My bad. Ctrl-Tab is used for navigation, and

Re: Threading (plus random question)

2016-09-09 Thread Peter M. Brigham
I have this in my frontscript, so I can use control-tab to switch modes: on tabkey if "revNewScriptEditor" is in line 1 of the openstacks then pass tabkey if the controlkey is down then if the tool = "browse tool" then set the tool to "pointer tool" else set

Re: Threading (plus random question)

2016-09-09 Thread Mike Kerner
STOP SANNYASIN! I have a whole list of SE improvements, so don't start! On Fri, Sep 9, 2016 at 3:06 AM, Monte Goulding wrote: > I think this would require a complete rewrite of the script editor so it's > not going to be on the agenda for a while. > > Cheers > > Monte > >

Re: Threading (plus random question)

2016-09-09 Thread Monte Goulding
I think this would require a complete rewrite of the script editor so it's not going to be on the agenda for a while. Cheers Monte Sent from my iPhone > On 9 Sep 2016, at 4:39 PM, Sannyasin Brahmanathaswami > wrote: > > Code folding in the SE! Collapse all handlers and

Re: Threading (plus random question)

2016-09-09 Thread Sannyasin Brahmanathaswami
"happy for idea" this may be OT, and I'm sure it's on your list Code folding in the SE! Collapse all handlers and functions… On 9/8/16, 10:08 AM, "use-livecode on behalf of Monte Goulding" wrote: Anyway, it’s

Re: Threading (plus random question)

2016-09-08 Thread BNig
Hi, currently on a Mac command-alt-tab switches between browse and edit mode. I use it all the time. If I remember correctly keyboard switching between edit and browse mode was broken for a while and it took Mark Waddingham some magic to implement it in the refactored Mac engine a while to get it

Re: Threading (plus random question)

2016-09-08 Thread ahsoftware
On 09/08/2016 09:40 AM, Richard Gaskin wrote: Control-Tab is handy on a Mac, but the rest of the world has been using it to switch applications for nearly two decades. That's alt-tab. (Command-tab on macs). I've had control-tab integrated into PowerTools for so long I didn't realize the IDE

Re: Threading (plus random question)

2016-09-08 Thread Dr. Hawkins
On Thu, Sep 8, 2016 at 4:12 PM, Monte Goulding wrote: > Yep, still tokenized… obviously this is low hanging fruit for optimization > where users don’t want colorization > That used to be the only use I saw for color displays, so I generally stayed to monochrome, which was

Re: Threading (plus random question)

2016-09-08 Thread Monte Goulding
> On 9 Sep 2016, at 8:57 AM, Monte Goulding wrote: > > I’m not actually sure if it makes any difference if you use colorization or > not. The mutated lines still get tokenized as you type. I’ll check on that > but regardless we need it to have reasonable performance with or

Re: Threading (plus random question)

2016-09-08 Thread Monte Goulding
> On 9 Sep 2016, at 8:53 AM, Richard Gaskin wrote: > > I don't use colorization, but typing in the SE isn't nearly as snappy as > typing in any other field. It's gotten better since v7, but not quite up to > v6 speeds. I’m not actually sure if it makes any

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
J. Landman Gay wrote: On 9/8/16 3:08 PM, Monte Goulding wrote: On 9 Sep 2016, at 5:38 AM, Richard Gaskin wrote: I wonder if it makes sense to add some sort of option to stop the real-time reformatting so I can type at my natural speed without waiting for LC to finish figuring out how it

Re: Threading (plus random question)

2016-09-08 Thread J. Landman Gay
On 9/8/16 3:08 PM, Monte Goulding wrote: On 9 Sep 2016, at 5:38 AM, Richard Gaskin wrote: I wonder if it makes sense to add some sort of option to stop the real-time reformatting so I can type at my natural speed without waiting for LC to finish figuring out how it

Re: Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread Monte Goulding
> On 9 Sep 2016, at 5:14 AM, Monte Goulding wrote: > > Actually that annoys me too. I've had multiple times where I thought the it > didn't open but actually it was just behind a stack. I'll see if I can find > some time to look into that. Easily fixed:

Re: Threading (plus random question)

2016-09-08 Thread Monte Goulding
> On 9 Sep 2016, at 5:38 AM, Richard Gaskin wrote: > > Speaking of: I dislike being overwhelmed with too many Prefs settings as > much as teams hate the technical debt they impose, but - > > I wonder if it makes sense to add some sort of option to stop the

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
Monte Goulding wrote: >> On 9 Sep 2016, at 2:40 AM, Richard Gaskin wrote: >> >> Personally I prefer SuperCard's Cmd-[ and Cmd-] > > I have plans for to use those for in/outdent which they are commonly > used for. Particularly in multiline comments but also when auto > format is off. In a word

Re: Threading (plus random question)

2016-09-08 Thread Monte Goulding
I have plans for to use those for in/outdent which they are commonly used for. Particularly in multiline comments but also when auto format is off. Sent from my iPhone > On 9 Sep 2016, at 2:40 AM, Richard Gaskin wrote: > > Personally I prefer SuperCard's Cmd-[ and

Re: Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread Monte Goulding
Actually that annoys me too. I've had multiple times where I thought the it didn't open but actually it was just behind a stack. I'll see if I can find some time to look into that. Sent from my iPhone > On 8 Sep 2016, at 11:47 PM, Ben Rubinstein wrote: > > To hijack the

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
Mike Kerner wrote: > Yes, there's a lot you can do with a script. If we got a few people > together who are interested in hacking LC, though, we could add it as > a feature on a community hack day. If we can get some movement on bug fixes I'd happily support a Hack Day. As for this particular

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
Then it's two hands, at least on every keyboard I use, which still takes the right hand out of commission. Yes, there's a lot you can do with a script. If we got a few people together who are interested in hacking LC, though, we could add it as a feature on a community hack day. On Thu, Sep 8,

Re: Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread Ben Rubinstein
On 08/09/2016 16:14, J. Landman Gay wrote: The "window appears behind" problem happens with the dictionary too when you choose to look up a term using the contextual menu in the script editor. Is there a bug report on this? I'll add a comment. It's not very good, but it will be improved by

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
Mike Kerner wrote: > On Thu, Sep 8, 2016 at 12:40 PM, Richard Gaskin wrote: > >> J. Landman Gay wrote: >> >> > I have the same issue with ctrl/cmd 0 and 9 and being right handed. >> > I have been capturing control -tab for years in a frontscript. It >> > would be very convenient if LC adopted

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
Rod McCall wrote: > I asked a similar question a few years back, but is threading now > supported in LiveCode? Or indeed are there any plans to support it? Like Mike said, if you need concurrency you can get that today with multiprocessing. On OS X and Linux this is nearly as efficient as

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
Again, not convenient for right-handers. On Thu, Sep 8, 2016 at 12:40 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > > > I have the same issue with ctrl/cmd 0 and 9 and being right handed. > > I have been capturing control -tab for years in a frontscript. It > >

Re: Threading (plus random question)

2016-09-08 Thread Richard Gaskin
J. Landman Gay wrote: > I have the same issue with ctrl/cmd 0 and 9 and being right handed. > I have been capturing control -tab for years in a frontscript. It > would be very convenient if LC adopted that. Control-Tab is handy on a Mac, but the rest of the world has been using it to switch

Re: Threading (plus random question)

2016-09-08 Thread J. Landman Gay
I have the same issue with ctrl/cmd 0 and 9 and being right handed. I have been capturing control -tab for years in a frontscript. It would be very convenient if LC adopted that. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
The thing I don't like about ctrl/cmd 0 and 9 is that it's an awkward reach when you're trying to do it by touch, and if you're right-handed, you can't do it while having your right on the mouse or trackpad, either. ctrl/cmd-` would be better IMHO, not that I miss HC's cmd-tab, or anything. I'd

Re: Threading (plus random question)

2016-09-08 Thread Devin Asay
> On Sep 8, 2016, at 8:53 AM, ahsoftware wrote: > > On 09/08/2016 06:52 AM, Mike Kerner wrote: > >> • Shortcut to switch between browse and pointer > > control-tab? And Cmd/cntl - 9 for Browse/run mode and cmd/cntl - 0 for pointer/edit mode. Devin Devin Asay Director

Re: Threading (plus random question)

2016-09-08 Thread Devin Asay
> On Sep 8, 2016, at 7:18 AM, Monte Goulding wrote: > > I wonder how many people would scream if we removed the enter closes an > applied tab feature? Keep enter to apply though. Keep it please. I use it constantly and it saves a lot of mousing. Devin Devin Asay Director

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
ctrl-tab is a good idea, that's what you use in a browser The focus flip is a problem that causes the ide window to get the focus when the script editor had the focus (or vice versa). I forget the bug number, but you could be editing scripts in the SE, hit backspace, and wind up deleting the

Re: Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread J. Landman Gay
The "window appears behind" problem happens with the dictionary too when you choose to look up a term using the contextual menu in the script editor. Is there a bug report on this? I'll add a comment. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: Threading (plus random question)

2016-09-08 Thread ahsoftware
On 09/08/2016 06:52 AM, Mike Kerner wrote: • Shortcut to switch between browse and pointer control-tab? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Threading (plus random question)

2016-09-08 Thread J. Landman Gay
I use it all the time, more than any other method. What's the "focus flip"? What other issues are there? Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2016 8:25:33 AM Rod McCall

Re: Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread Mike Kerner
This may be related to fixing the other focus issue that was causing me to toss lappies about, namely when the SE LOST the focus, and a delete/backspace caused carefully crafted objects to magically die (while their SE tab remained open). I'm with you, I like the enter shortcut, but I'm also all

Re: Threading (plus random question)

2016-09-08 Thread Mike Bonner
Despite my own clumsiness issues, I like it the way it is. (if everything that was affected by my fluctuating dexterity was "fixed" all that would be left is one really big hard to press button) On Thu, Sep 8, 2016 at 7:52 AM, Mike Kerner wrote: > I have a number of

Script Editor focus (was Re: Threading (plus random question)_

2016-09-08 Thread Ben Rubinstein
FWIW I use enter to compile, and then close, the Script Editor all the time - hardly ever use the mouse - and have never to the best of my recollection had problems with too many tabs closing. Maybe my keyboard repeat is slower than other peoples? I'm not sure how hard I'd scream if enter to

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
I have a number of preferences that I'd like to add, anyway, so this is a great time to talk about them, and maybe get a little community project going. Here are some others: • Relative paths: I use multiple machines, and even though I store everything in Google Drive, the usernames aren't the

Re: Threading (plus random question)

2016-09-08 Thread Sannyasin Brahmanathaswami
"From my perspective the Enter key issue is driving me nuts... " Please! Don't make us have go to the mouse to close an SE tab...i love the feature (hit enter twice) Not screaming. Just sayin' got a bad enough wrist as it is In fact more robust, user configurable keyboard short cuts for

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
Yes, it's an old, old, old feature from HC, if I remember, but sometimes I wind up with the focus going from the IDE to the SE for some reason (and sometimes the other way, but that seems to have been mostly fixed in 8.1, I believe), so I think I'm finishing a property edit in the IDE, but instead

Re: Threading (plus random question)

2016-09-08 Thread Monte Goulding
I wonder how many people would scream if we removed the enter closes an applied tab feature? Keep enter to apply though. Sent from my iPhone > On 8 Sep 2016, at 10:58 PM, Mike Bonner wrote: > > Open the editor, make a change, > tap enter twice and the change is applied and

Re: Threading (plus random question)

2016-09-08 Thread Rod McCall
>From my perspective the Enter key issue is driving me nuts... Rod McCall Researcher: HCI, Augmented Reality, Games and In-car Systems www.rodmc.com twitter: rodlux On Thu, Sep 8, 2016 at 3:20 PM, Mike Kerner wrote: > Monte, why not make it a preference? I

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
Monte, why not make it a preference? I personally like it, except when I get the focus flip. On Thu, Sep 8, 2016 at 9:18 AM, Monte Goulding wrote: > I wonder how many people would scream if we removed the enter closes an > applied tab feature? Keep enter to apply though. > >

Re: Threading (plus random question)

2016-09-08 Thread Mike Bonner
IIRC thats the editor tabs closing on enter is a feature. Press once on a dirty tab and it compiles, press it on a green tab and it closes. I think the purpose is to speed up quicky edits. Open the editor, make a change, tap enter twice and the change is applied and gone. Unfortunately, a

Re: Threading (plus random question)

2016-09-08 Thread Mike Kerner
It still is not directly supported, you still do it the "old" way - one app launches and messages multiple instances of the "process" apps. I only occasionally have an issue where KB enter closes the SE, but usually it is when all tabs are green. On Thu, Sep 8, 2016 at 5:32 AM, Rod McCall