Remove end space from dictionary search text box.

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Remove end space from dictionary search text box.

Post by BarrySumpter » Sat Mar 24, 2012 6:10 am

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?
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Remove end space from dictionary search text box.

Post by dunbarx » Sun Mar 25, 2012 11:43 pm

Barry.

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

Craig Newman

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Remove end space from dictionary search text box.

Post by sturgis » Mon Mar 26, 2012 1:54 am

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.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Remove end space from dictionary search text box.

Post by dunbarx » Mon Mar 26, 2012 3:43 am

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

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Remove end space from dictionary search text box.

Post by sturgis » Mon Mar 26, 2012 3:59 am

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*

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Remove end space from dictionary search text box.

Post by BarrySumpter » Mon Mar 26, 2012 8:29 am

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:
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Remove end space from dictionary search text box.

Post by sturgis » Mon Mar 26, 2012 9:52 am

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.

Post Reply