Re: Alternate key commands in LC ????

2023-09-19 Thread Richmond Mathewson via use-livecode
As  I use computers running Linux and MacOS, my Macs are set up so the
roles of the CMD and CTRL keys are reversed.

It will be interesting to see if it affects these alternate key commands
with the IDE.

On Tue, 19 Sept 2023, 23:42 Peter Bogdanoff via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Reading this article about the MacOS copy and paste:
> https://tidbits.com/2016/06/11/os-x-hidden-treasures-copy-and-paste/
>
> It mentions the (secret) OS X alternate clipboard — kill and yank — that
> uses control-K to kill (cut) and control-Y to yank (paste) in some MacOS
> apps. Comes from the Emacs text editor (that was a lng time ago).
>
> I tried it in an LC field and discovered some unknowns-to-me:
>
> Control-K does kill (cut) selected text
> Control-Y does not seem to do anything—does not yank (paste)
>   (I haven’t yet figured out how to yank-paste killed-cut text)
> Control-K without a selection but the cursor placed within a line of text
> kills (cuts) all the text after the cursor/insertion point
>
> Put the cursor somewhere within a line/paragraph of text and Control-A
> moves the cursor to the beginning of the paragraph
> Control-E moves the cursor to the end of the paragraph
> Control-F moves the cursor one character to the right
>
> Control-O does a weird thing of adding a carriage return after the cursor
> and simultaneously moves the cursor to the left one character, so you can
> easily end up with something like:
>
> c
> h
> a
> r
> a
> c
> t
> e
> r
>
> Maybe there’s more? Windows?
>
> Peter Bogdanoff
>
>
> ___
> 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
>
___
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


Alternate key commands in LC ????

2023-09-19 Thread Peter Bogdanoff via use-livecode
Reading this article about the MacOS copy and paste:
https://tidbits.com/2016/06/11/os-x-hidden-treasures-copy-and-paste/

It mentions the (secret) OS X alternate clipboard — kill and yank — that uses 
control-K to kill (cut) and control-Y to yank (paste) in some MacOS apps. Comes 
from the Emacs text editor (that was a lng time ago).

I tried it in an LC field and discovered some unknowns-to-me:

Control-K does kill (cut) selected text
Control-Y does not seem to do anything—does not yank (paste)
  (I haven’t yet figured out how to yank-paste killed-cut text)
Control-K without a selection but the cursor placed within a line of text kills 
(cuts) all the text after the cursor/insertion point

Put the cursor somewhere within a line/paragraph of text and Control-A moves 
the cursor to the beginning of the paragraph
Control-E moves the cursor to the end of the paragraph
Control-F moves the cursor one character to the right

Control-O does a weird thing of adding a carriage return after the cursor and 
simultaneously moves the cursor to the left one character, so you can easily 
end up with something like:

c
h
a
r
a
c
t
e
r

Maybe there’s more? Windows?

Peter Bogdanoff


___
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