Hi there.
Selecting all lines in a text file and pressing tab indents all lines regarding to set preference 'Indent size'. That's fine. But marking the single last line and pressing tab erases the line rather than indenting it.
Is this a bug?
Indenting the last line erases it.
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Is the last line in your file unterminated? That is, is it missing its terminating newline?
Did you select that line?
If so, you selected some text not containing a newline.
If there is a selection and the selection doesn't contain a newline, typing <tab> replaces the selection with a tab character.
Try selecting any other line without selecting the newline at its end. Type <tab> and see what happens.
Did you select that line?
If so, you selected some text not containing a newline.
If there is a selection and the selection doesn't contain a newline, typing <tab> replaces the selection with a tab character.
Try selecting any other line without selecting the newline at its end. Type <tab> and see what happens.