Menu

#57 Non-standard TAB Behaviour for Selections

open
nobody
None
5
2014-08-15
2000-07-14
cypherpunks
No

>Sorry, but it doesn't work like that. The line that the cursor is on is included in the
>selection, because of the way that it is represented internally. This is logical, and that is
>how I determine what proper behavior is in CodeCommander.

Well, I must respectfully disagree with you, so I will reopen this bug.
NO OTHER PROFESSIONAL, or SEMI-PROFESSIONAL EDITOR,
works the way you describe.

Try:

-SlickEdit
-MS VisualStudio
-Symantec Cafe
-UltraEdit
-CodeWright
-the list goes on.....

These editors all have the STANDARD, ACCEPTED behaviour as I describe.

1) Place the caret at the start of a line and then use SHIFT-DOWNARROW to select a number of lines.

2) Press TAB

The entire selected section is tabbed to the right, which is
correct, but also the line on which the caret resides is
tabbed, which is NOT correct.

eg., starting with:

this line is selected
this line is also selected
|caret is at the start of this line

After pressing TAB we incorrectly have:

........this line is selected
........this line is also selected
........caret is now at the end of this line|

We really should be getting something like:

........this line is selected
........this line is also selected
|caret is at the start of this line

Note: using "." to denote space character

Version tested: CodeCommander v0.9.5

Discussion


Log in to post a comment.