On 8/8/21 2:01 PM, David Pesetsky wrote:
Is there any way to program a key so that if you are typing within an ERT
frame, it takes the cursor to the last (or first) character in that frame?
Also useful would be a way to exit the frame — landing at at the first non-ERT
character to the left or right of the frame.
-David
You can bind keys to the functions "inset-begin" (positions the cursor
before the first character in the inset) and "inset-end" (positions the
cursor after the last character in the inset). In both cases, the cursor
remains within the inset.
To exit the inset, you can use "command-sequence inset-end; char-forward;".
Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users