Re: Wouldn't it be neat...

2016-08-21 Thread J. Landman Gay
Here's my original, which does mess up "undo", but it's a start. I use Command-Shift- to trigger the actions. Cmd-Shift-space, for example, picks up the text under the mouse and puts it into the current selection. I use that almost exclusively instead of copy/paste to enter variable names

Re: TSNet - Previous request not completed

2016-08-21 Thread Monte Goulding
> On 22 Aug 2016, at 3:38 PM, J. Landman Gay wrote: > > Using an Indy license, I'm getting a lot of "previous request not completed" > errors when trying to POST to a server. In the past, connectivity would > eventually resume when a new request was sent. With TSNet,

TSNet - Previous request not completed

2016-08-21 Thread J. Landman Gay
Using an Indy license, I'm getting a lot of "previous request not completed" errors when trying to POST to a server. In the past, connectivity would eventually resume when a new request was sent. With TSNet, no more requests will ever complete no matter how long you wait or what URLs you

Re: Wouldn't it be neat...

2016-08-21 Thread Peter Bogdanoff
Yes, it deselects the text AFTER it gets the selectedChunk: char x to z of field y, so you could reselect that same text. Peter Bogdanoff > On Aug 21, 2016, at 8:35 PM, Roger Guay wrote: > > Yes, the selected text is deselected when clicking a button on the Mac. Too > bad . . .

Re: wouldn't it be neat...

2016-08-21 Thread Roger Guay
Thanks for this, Peter, I’m going to give it a try… > On Aug 21, 2016, at 9:26 AM, Peter M. Brigham wrote: > > Sorry, forgot to include the little utility script q(): > > on q tString > return quote and tString and quote > end q > > The full frontscript then is: > >

Re: Wouldn't it be neat...

2016-08-21 Thread Roger Guay
Yes, the selected text is deselected when clicking a button on the Mac. Too bad . . . I really like the simplicity of your idea. > On Aug 21, 2016, at 4:36 AM, Mike Bonner wrote: > > Do as monty suggested and hilite the chunk you want to quote and click the > button.

Re: Performance issues LC8 versus earlier versions.

2016-08-21 Thread Monte Goulding
Hi Alex It is always good to have them in the bug db so when know what people are running into. I know there was a big push during the LC 8 DP phase to try and get performance closer to LC 6. Actually after looking into this I wouldn't mind seeing your benchmark script as I can’t really see

Performance issues LC8 versus earlier versions.

2016-08-21 Thread Alex Tweedly
I just discovered that part of my simple benchmark code I was doing for my photo apps was incorrect. I was being caught out (I think) by the implementation of 'copy-on-write' in LC8. My simple benchmark did (in essence) put URL("binfile:/path/to/verylargefile.jpg") into tData1 put tData1

Re: The Joy of Removing Features - Part 2: Finding / removing duplicate files / photos.

2016-08-21 Thread Alex Tweedly
Hi Al, no, nothing as adventurous or ambitious as that :-) 'interesting' in this context is really more about where / whether the photo belongs than about the photo content itself. I'll be deciding the fate of the photos myself - and trying to find ways of doing it that make the reward

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
Thank you all very much for the detailed and patient information. Yes, there was a big misunderstanding about RTL/LTR by me, because language-script directions can be deliberately mixed ('bidirectional', as I read in an LC 7 introductory blog). >From that I concluded erroneously a wrong in-memory

Re: Wouldn't it be neat...

2016-08-21 Thread Dr. Hawkins
On Sat, Aug 20, 2016 at 8:29 PM, Mike Bonner wrote: > Made a button with this.. > on mouseUp > I'd actually go with popping up a script on mouseDown . . . I have somewhat more elaborate code from mouseover popups in my application, on mouseDown btNo switch case (btNo =2)

Re: wouldn't it be neat...

2016-08-21 Thread Peter M. Brigham
Sorry, forgot to include the little utility script q(): on q tString return quote and tString and quote end q The full frontscript then is: --- on controlkeydown whichKey -- put this in a frontscript universally available in LC put the long name of the target into tarName put the

Re: Wouldn't it be neat...

2016-08-21 Thread Peter M. Brigham
On Aug 21, 2016, at 10:24 AM, m...@jerrydaniels.com wrote: > Trapping the commankeydown message is the easiest way to automate quoting. > Rather than altering the script field behavior, I'd recommend using a front > script. Just make sure you pass the keys you're not using! Here's my version

Re: Backwards compatibility or sanity? help

2016-08-21 Thread Fraser Gordon
On 21/08/2016 15:26, hh wrote: > Ali, > probably it's about time that you give at RTL-lesson/blog/tutorial? > Would be very appreciated. > >> Ali wrote: >> the number of items in 'ab' is not an invariant of its read order, >> unless you reverse the characters in the delimiter too. >> When the item

Re: Backwards compatibility or sanity? help

2016-08-21 Thread Mark Waddingham
Perhaps there's a misunderstanding here... If when you refer to rtl to mean rtl languages (such as Arabic) then there is nothing to do - rtl languages are stored in memory in logical order - ie the same way round as ltr languages. It is just the display which is changed. If you mean doing

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
Ali, probably it's about time that you give at RTL-lesson/blog/tutorial? Would be very appreciated. > Ali wrote: > the number of items in 'ab' is not an invariant of its read order, > unless you reverse the characters in the delimiter too. > When the item delimiter is 'aa', the items of 'baaa'

Re: Wouldn't it be neat...

2016-08-21 Thread me
Trapping the commankeydown message is the easiest way to automate quoting. Rather than altering the script field behavior, I'd recommend using a front script. Just make sure you pass the keys you're not using! On Aug 21, 2016, 6:37 AM -0500, Mike Bonner , wrote: > Do as

Re: Wouldn't it be neat...

2016-08-21 Thread Mike Bonner
Do as monty suggested and hilite the chunk you want to quote and click the button. Though it just popped into my head.. If you're on a mac, and click a button while text is selected.. does it de-select the chunk? I seem to remember something like this in the past, but am not at my mac right now

Re: Backwards compatibility or sanity? help

2016-08-21 Thread Ali Lloyd
Hermann, Symmetric chunks of the type you describe have issues when the delimiting rules are more complex - for example when the item delimiter is 'ab', the number of items in 'ab' is not an invariant of its read order, unless you reverse the characters in the delimiter too. When the item

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
> Monte wrote: > Hmm... I've got to say I'm a little on the ignorant > side of things with regard to RTL text in LiveCode but > my understanding is it's only a field thing and any > chunk references are always LTR. Happy to be educated > though! Sorry Monte, I thought (erroneously?) that

Re: Backwards compatibility or sanity? help

2016-08-21 Thread Monte Goulding
Hmm... I've got to say I'm a little on the ignorant side of things with regard to RTL text in LiveCode but my understanding is it's only a field thing and any chunk references are always LTR. Happy to be educated though! Cheers Monte Sent from my iPhone > On 21 Aug 2016, at 6:06 PM, hh

Re: Backwards compatibility or sanity? help

2016-08-21 Thread hh
> > Hermann wrote: > > Why is the number of items or having the property "item" > > of a string dependent on the writing/reading direction > > of the string? > Monte wrote: > Hmm… I’ll answer your question with a question: Which item is item 1? The string "a," has currently .. [RTL] ..