Insertion point problems

J. Landman Gay jacque at hyperactivesw.com
Tue Jun 23 18:06:45 EDT 2015


On 6/23/2015 4:49 PM, dfepstein at 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         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list