Page 1 of 1

Remove end space from dictionary search text box.

Posted: Sat Mar 24, 2012 6:10 am
by BarrySumpter
When I want to copy a word from the IDE and paste into the dictionary search text box.
There is ALWAYS as space at the end and I have to remove it for the search to work.
Can we please automaticly trim that space off the end of the pasted text?

Re: Remove end space from dictionary search text box.

Posted: Sun Mar 25, 2012 11:43 pm
by dunbarx
Barry.

How are you pasting, and from where? I never see this.

Craig Newman

Re: Remove end space from dictionary search text box.

Posted: Mon Mar 26, 2012 1:54 am
by sturgis
My guess is a double click word select which grabs the word and trailing space.

Might save a little time Barry, just right click the word and select "find in docs". Should jump you right to the entry.

Re: Remove end space from dictionary search text box.

Posted: Mon Mar 26, 2012 3:43 am
by dunbarx
I know some word processing programs append the trailing space when double clicking, and this can be useful, but I do not see this in LC.

Neither in the script editor or a text field does anything but the clicked word go into the clipboard. And CMD-OPT-F loads only the word into the search field in the script editor. It is academic, unless I am just missing it, but where does this occur?

Craig Newman

Re: Remove end space from dictionary search text box.

Posted: Mon Mar 26, 2012 3:59 am
by sturgis
Hmm coulda swore the double click word select was grabbing the trailing space for me when i tried it earlier but now that is most definitely not the case so.. /shrug

The magic of a restart on windows never ceases to amaze me. System smoking? Try a restart! *cough*

Re: Remove end space from dictionary search text box.

Posted: Mon Mar 26, 2012 8:29 am
by BarrySumpter
Woohoo. Lot of action on this one.
Very cool.

Hey, I was wondering what that show in docs does!

Not really. But a nice reminder.

Where is that right click show in docs on this internet page?
Where is that right click show in docs on the Android Release Notes?
Where is that right click show in docs on the LiveCode Release Notes?
Click - drag across - copy then paste. Doh! an extra space.
Unless there is a way to browse the internet and .pdf files from within the IDE?
Another Feature request.


Me profile is in me signature.

LOL

:mrgreen:

PS Seriously how hard would that be to implement?
It's not unicode! :wink:

Re: Remove end space from dictionary search text box.

Posted: Mon Mar 26, 2012 9:52 am
by sturgis
Oops, sorry. Was answering this:
BarrySumpter wrote:When I want to copy a word from the IDE and paste into the dictionary search text box.

Not these:
BarrySumpter wrote:
Where is that right click show in docs on this internet page?
Where is that right click show in docs on the Android Release Notes?
Where is that right click show in docs on the LiveCode Release Notes?
Click - drag across - copy then paste. Doh! an extra space.
Unless there is a way to browse the internet and .pdf files from within the IDE?
Another Feature request.
Strangely, I was getting weird behavior on copy (no smoke though). In my case it was a temporary random feature of windows that went away with the aforementioned restart.


EDIT: Ok so double click word select in a web page does grab the extra space. Drag does not, so nope, not seeing the same behavior.