View AutoIndented Files
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
View AutoIndented Files
is there any way to view a file that was created on Unix vi with autoindent on? This means that when an open brace is encountered, the subsequent line is indented one tab space without the tab being inserted.
Re: View AutoIndented Files
The problem is that there's no way to know (in a text file) if that option was on or not... a Macro could emulate it I suppose ... add the spaces when you start and have another to take them off ...
To do it the way you want however you'd need some provision in the Document Class definitions -- either some way of doing custom indenting builtin, or a way to autorun a Macro at startup/shutdown for any files loaded in that class (which wouldn't be a bad feature in general actually).
To do it the way you want however you'd need some provision in the Document Class definitions -- either some way of doing custom indenting builtin, or a way to autorun a Macro at startup/shutdown for any files loaded in that class (which wouldn't be a bad feature in general actually).