Posted 20 years ago
by bnott
I have this property set to 'true'.
It works perfectly when simply placing the the caret and pressing tab. The proper number of spaces to advance the caret to the next tab stop are inserted.
However, it works poorly if you select a whole line (or lines, more importantly) and press tab. In this case, it seems to behave as if the caret is positioned at the beginning of the line, and however many space are in a tab are just inserted. How this should work (and how VS.NET works) is for the the control to behave as if the caret was positioned before the first non-whitespace character in each individual line. This way, if multiple lines have first characters that are staggerered between two tab-stops (and not necessarily aligned with each other) you can simply sweep the margin with your mouse to select all lines, and hit tab. Currently doing this keeps them all unaligned, just indented farther.
Thanks.
It works perfectly when simply placing the the caret and pressing tab. The proper number of spaces to advance the caret to the next tab stop are inserted.
However, it works poorly if you select a whole line (or lines, more importantly) and press tab. In this case, it seems to behave as if the caret is positioned at the beginning of the line, and however many space are in a tab are just inserted. How this should work (and how VS.NET works) is for the the control to behave as if the caret was positioned before the first non-whitespace character in each individual line. This way, if multiple lines have first characters that are staggerered between two tab-stops (and not necessarily aligned with each other) you can simply sweep the margin with your mouse to select all lines, and hit tab. Currently doing this keeps them all unaligned, just indented farther.
Thanks.