Hi there, I'd like to mention three bugs (or one, perhaps?) in keyboard selection in JQt which are likely already there for a long time. They are probably related to the behaviour of the home key I suggested a long while ago ( http://www.jsoftware.com/pipermail/general/2014-March/035878.html) and the bugs were (partially) reported earlier ( http://www.jsoftware.com/pipermail/general/2014-November/007741.html):
The behaviour of selection in JQt is inconsistent when using the home key together with shift: when home is pressed with a previous selection on the same line (see (0) below), the first time works, the second time, it selects only the space before the text. If the selection spanned already multiple lines, the first home key press results in only keeping the selection on the line of the cursor selected. As an example, consider the following content in a jQT terminal (added line numbers to indicate the start of the line, they're not part of the actual window content; | indicates the cursor's starting position): 0 t=: hello world 1 Foo=: (#~ e.&'aeiou') t 2 bar=: 2#Foo| (0) Press shift-home results in selecting from "bar" to "foo" on line 2 (correct). Press shift-home again, it selects only the three spaces before bar (incorrect; expected selection from the first character of line 2 to "Foo", i.e. until the edge of the current selection). (1) Starting in the same position as in the previous example; pressing shift-up results in the selection of line 1 starting from "e." until the starting position of the cursor on line 2 (correct). Pressing shift-home results in selecting from "Foo" until the space before "e." (incorrect; expected selection from Foo until the initial starting position of the cursor on line 2). (3) In the JQt editor, this bug does not manifest because it does not apply the smart home key behaviour for selection (only for cursor movement). It would be nice to have the same (but corrected) behaviour consistently in the editor as well (especially as many people like to indent their code). Perhaps they are not high-priority bugs, but it would be nice for consistency if they were fixed. Thanks, Jan-Pieter ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
