vEdit can easily edit both text files and binary/data files:
With vEdit the file type is mostly a matter of the “newline” character(s) used in the file.
If the Line-Feed characters in a text file are preceded with Carriage-Return characters, vEdit considers the file to be a Windows/DOS text file; otherwise, it’s a UNIX text file. If only Carriage-Return characters are found, it’s a Mac text file.
If no or very few “newlines” are found, e.g. the lines are more than 4096 characters long, vEdit considers the file to be a binary/data file.
The difference between Windows/DOS, UNIX and Mac text files is important in the way that “newline” characters are displayed, deleted and inserted.
When opening a file for editing, vEdit examines the file to automatically determine the file type.
It is possible vEdit will choose the wrong file type, For example: Since a typical executable file (.EXE) contains random Line-Feed characters, vEdit will usually open it as a ("strange looking") text file. If you disable Config > File handling > Enable auto-file type, vEdit will not automatically determine the file type when it opens a file.
Binary/Data files are displayed with a uniform number of characters per line. This also handles “fixed-length record” data files. For these files, Config > File handling > File Type sets the number of characters displayed per line, i.e. the “record length”. “64” is the default for binary files; you may want to change it to “16” when editing in hexadecimal.
With Config > File handling > File Type you can see and/or change the current file's type. Each file opened can Have its own setting:
EDIT > Convert > Convert macro can convert a file with fixed- length records into a normal text file with “newline” characters.