Good suggestions, thanks.

On Fri, Dec 10, 2010 at 9:53 AM, Tikkanz <[email protected]> wrote:
> "Home" currently takes cursor directly to the start of the line. It
> would be preferable if the cursor instead went to beginning of the
> first non-whitespace character on the line. If "Home" is pressed a
> second time the cursor should move to the start of line.

Done.

> Ctrl+arrow goes to beginning/end of last/next "word" but only
> alphanumerics are counted as words so any punctuation (of which J code
> has many) is ignored. As a result I often find myself inadvertently
> Ctrl+arrowing past the start of the line to somewhere on the previous
> line. I'm not sure what the best/easiest fix is. Perhaps punctuation
> symbols could be included in the list of valid word characters, or the
> first non-whitespace character on the line could be recognized as
> well, or (particularly in Term) the context could be only within the
> current line (not the whole window).

The Ctrl+arrows now move by J tokens. I am not sure of the exact
expected behaviour, so please check this is working correctly. Note
that the current line has to be correctly formed J (so word formation
works), and if not, the default editor behaviour applies. Also, a
comment is treated as a single token.

> If I'm in the Edit window and press Ctrl+r, the current line of the
> ijs script is sent to Term, catenated to the end of the executable
> line and then that whole line is executed. If the executable line is
> not empty, the results are almost always unintended. From memory jwd
> didn't use to do this. I think the ijs line was sent to an empty ijx
> executable line before execution.

Done.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to