I have many *.txt files I wish to edit, but although they have the same extension, they are effectively different classes: EG
- No wrap, just long lines
- Wrap at 80
- Wrap at 72
Is there a way of selecting a document class for the active file, ignoring its extension?
===sgb
Changing document class
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
The document class of a file is determined by its file name not necessarily the extension. If the text documents that all belong to the same class have a unique portion of the filename then it is possible. If not then one can set an individual file to a specific syntax etc - see View>Document Properties.
Failing that it should be possible, albeit somewhat messy, to name every file individually as belonging to a class.
Failing that it should be possible, albeit somewhat messy, to name every file individually as belonging to a class.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm