|
From: Slava P. <sl...@je...> - 2001-05-27 06:01:37
|
Well, I think the only explanation is that jEdit is not your "typical windows editor". Due to the way selections are implemented, the cursor is either at the start or end of a selected chunk, and if the end is at the beginning of a line, that line is considered part of the selection. There are two solutions to your specific problem: - Just use 'Indent Selected Lines' without selecting anything, and it will operate on the line containing the caret only - Press Control+e followed by the letter 'l' to select the current line, and then invoke the desired command. Slava On Sat, May 26, 2001 at 09:44:51PM -0500, mh983 wrote: > Does everyone else see the odd behavior of actions involving the current selection also affecting the line the cursor is > on? In the typical windows editor, if you are at the start of a line and hold down shift and press the down arrow, you will > have highlighted that line. Then an indent would indent only that line. In jEdit, the same action will cause the > highlighted line *and* the line the cursor is sitting on, to be indented. I've learned to adjust, but I was wondering if > anyone else experiences this, and if anyone else thinks it would be nice if it was fixed. |