medley icon indicating copy to clipboard operation
medley copied to clipboard

Want arrow key functionality in Tedit and Sedit -- should copy TTYIN

Open masinter opened this issue 2 years ago • 2 comments

TTYIN supports cursor movement by keyboard commands. issue #58 covers the inconsistency of key bindings, but even with consistency and code assignment, we're still missing cursor treatment in two of the editors: SEdit and TEdit.

I'll raise this as a separate issue because it seems to be a show-stopper for some:

https://journal.paoloamoroso.com/stringscope-a-string-listing-tool-in-interlisp

image

masinter avatar Feb 01 '23 20:02 masinter

Arrow key functionality was added to TEdit and the TTY editor and is probably less necessary in SEdit, so I'm closing this issue.

pamoroso avatar Jul 29 '25 19:07 pamoroso

Enabling arrow keys in SEdit would be a useful addition, even if not as urgent. One problem is there is some subtlety about how cursor keys should work around parentheses. T

he caret can be

  • inside a word, LISP^WORD
  • at a word beginning ^LISPWORD
  • at a word end LISPWORD^
  • in between parentheses SEXPR)^))) or SEXPR)^ (
  • there are keystrokes which in some situations wind up just moving the cursor (right paren?).
  • There are some cases where there are two positions between two characters, e.g. when inserting a space.

masinter avatar Aug 15 '25 15:08 masinter