Bug, feature, or just something I need to program around?

Sean Cole (Pi) sean at pidigital.co.uk
Wed May 12 08:19:03 EDT 2021


on openField
   select char 0 of me
end openField

On Wed, 12 May 2021 at 09:03, Mark Smith via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi Alex, what sequence are you trying to do that won’t work? If you tab
> into a field and then cmd-arrow (right or left) I think it restores the
> “selection” behavior you are looking for ie. you can then shift-cmd-right
> or left to select the chars. Would that be a work-around?
>
> > On May 11, 2021, at 9:22 PM, Alex Tweedly via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > In a LC single line field (MacOS), the keys shift-cmd-rightarrow will
> select from the current position to the end of the line, and add that to
> the selection.
> >
> > BUT if I TAB into the field the cursor is initially at the start of the
> field and the key sequence above will move the cursor to the end *without*
> selecting the characters.
> >
> > At that point, shift-cmd-leftarrow will move it back to the start, still
> without selecting any characters. But if you do "something else" (e.g. left
> arrow, insert a char, delete a char, ...) then normal behaviour resumes. If
> you click into the field, everything behaves itself.
> >
> > Feels to me like a bug, but I'd be happy to be corrected.
> >
> > And, if I need to - any suggestions how I could script around it ?
> >
> > Thanks,
> >
> > Alex.
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list