defining this in userkeys.cfg

F3;2;add|;|

where the token chosen is actually 28 { a.

there's 2 problems:

1. instead of inserting into the current terminal (jqt repl) line, it creates 
and inserts on the following line.  If this is intended, perhaps there could be 
a mode 3, that inserts at current cursor position?

2. In the editor, pressing the shortcut also inserts to terminal instead of in 
editor.  Even if selected through menu option.

A request would be to have mode use an optional 2nd digit to pass parameters:
0 - same as elided, no parameter
1 - selection (with say line feeds inserted if multi lines)
2 - whole line as y parameter to monad
3 - left of cursor as x, right of cursor as y

'' would be substituted for no data at left or right or in line or selection.

Perhaps there already is, or could be, a way to query the line and cursor 
position in both editor and jqt terminal?

These 2 modes aren't important enough.  They would allow returning a verb, but 
its hard to imagine an application.
4 - left of cursor as m to adverb
5 - whole line as m to adverb.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to