There is no configuration setting for appending a line termination on save at end of file if a file opened in text edit mode does not have one.
A macro executed on every file save could be used for this task if
- only text files are edited in UltraEdit and editing of binary files in hex edit mode is never done;
- bookmarks are not used as the macro below uses a bookmark to remember and restore current position of caret in the file.
The code for an UltraEdit macro for example with name CheckNewLineEOF
stored in a macro file for example with name OnLoadSave.mac
- Code: Select all
The macro file and the name of the macro must be specified in dialog opened via Macro - Set Macro for File Load/Save
See top of this page with the email us directly
mailto link regarding feature requests.