On 6/23/2015 4:49 PM, dfepst...@comcast.net wrote:
I want a menu button in a palette to paste the clipboard's contents
to the topStack at the selectedChunk.  This works if the
selectedChunk actually includes some hilited text ("char 1 to 4..."),
but not if the selectedChunk is an insertion point ("char 4 to
3...").  In the second case, but not in the first, the insertion
point disappears and the selectedChunk property loses its value when
a palette button is pressed, so the paste fails.

This looks like a bug to me. If selectedchunk is valid in one case, it should also be valid in the other.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to