textChanged missing in Dictionary

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

textChanged missing in Dictionary

Post by snm » Sun Aug 19, 2012 11:37 am

It seems that there is missing "textChanged" message in Dictionary entry (LC 5.5.1, Mac Os X)

Marek

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: textChanged missing in Dictionary

Post by Klaus » Sun Aug 19, 2012 12:12 pm

Hi Marek,

no wonder, this new message is called "selectionchanged" 8)


Best

Klaus

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: textChanged missing in Dictionary

Post by snm » Sun Aug 19, 2012 1:09 pm

Hi Klaus,

I don't think so, in my opinion they are two different messages:
The selectionChanged message is sent to a field whenever the user makes a text selection or moves the insertion point in the field, after the selection is changed.
This message is sent even if you click inside the field even without typing or change the text. It was introduced in LC 1.0

From 5.5-dp1 release notes:
The field will now dispatch a message textChanged whenever a user (or simulated user) action may
have caused the content of the field to change.
In particular, the following actions will result in a textChanged message being sent:
• typing into the field (whether non-Unicode or Unicode text)
• using the type command to type into a field
• pasting text into a field (whether via built-in keyboard shortcut, or the paste command)
• cutting text from fields (whether via built-in keyboard shortcut, or the cut command)
• drag drop operations on fields
So this message is sent if you change some content of field and is new one (not selectionChanged replacement).

Marek

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: textChanged missing in Dictionary

Post by Klaus » Sun Aug 19, 2012 2:53 pm

Hi Marek,

you are abolutely correct, my fault, sorry!
Well, the docs are obviously not up-to-date :)


Best

Klaus

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: textChanged missing in Dictionary

Post by snm » Sun Aug 19, 2012 3:03 pm

What is the most efficient way to claim it?

Marek

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

Re: textChanged missing in Dictionary

Post by sturgis » Sun Aug 19, 2012 3:14 pm

If you click help, release notes, page 14 of the release notes contains information about textChanged. There is also page 36 which mentions that undo does not trigger textchanged.

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: textChanged missing in Dictionary

Post by snm » Sun Aug 19, 2012 3:54 pm

Hi Sturgis,

I know it, but it's easier and quicker to have it all in dictionary, then looking for it in release notes. Specially for people starting with LC.
If newbies can't find it in dictionary they mean that there is not such keyword in the language.
It's not lot of work to do it, I think that somebody forgot to put "textChanged" description in Dictionary, so maybe it's good idea to send kind of remainder somewhere.

Marek

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

Re: textChanged missing in Dictionary

Post by sturgis » Sun Aug 19, 2012 4:42 pm

If you have access to report bugs you can report a documentation bug there, otherwise you could send mail to support@runrev.com detailing the issue. Hopefully the docs will get caught up with the new changes before too awful long. :D

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: textChanged missing in Dictionary

Post by snm » Sun Aug 19, 2012 6:38 pm

I reported it in QCC.

Marek

Post Reply