I do not recommend switching permanently with Backup/Restore User Customizations
between 2 configurations of UltraEdit. This feature is not designed for this purpose and on restore you always lose your histories.
I suggest to use 2 configurations. Here are the necessary steps for one possible setup:
- Run from within a command prompt window the command:
- Code: Select all
copy "%APPDATA%\IDMComp\UltraEdit\uedit??.*" "%APPDATA%\IDMComp\UltraEdit\ueditLF.*"
This command creates of copies of the workspace file (uedit*.in0), the configuration file (uedit*.ini), the main menu profile file (uedit*.mb0), the popup menus profile file (uedit*.pb0), the toolbar profile file (uedit*.tb0) and if existing also the key mapping configuration file (uedit*.uek) with LF instead of 32 or 64 in the file names.
- Create a copy of UltraEdit shortcut file used usually to start UltraEdit on Windows desktop, in Windows start menu, etc. and name it UltraEdit Large File.
- Right click on shortcut UltraEdit Large File, left click on Properties at bottom of context menu and append on command line a space and following text:
- Code: Select all
Save the modification on the shortcut with a click on button OK.
- Double click on shortcut UltraEdit Large File. What happens now is that a new instance of UltraEdit is started because of option /fni (force new instance) using the configuration defined by the files ueditLF.* which is for large files.
- You need to configure this configuration now for large file handling as you have already done.
As the workspace is also different for this configuration, you can close all views never used when working on large files.
You can use or even setup a special layout via View - Layouts - Manage Layouts for large file handling. Layout Clean is most likely the best for large file handling, perhaps even further customized. For example toolbars could be disabled via View - Views/Lists - Toolbars not needed for large file viewing/editing or completely customized. Different toolbars for those two configurations would also help to identify if an already running instance of UE is for editing small files or large files as the toolbars are different.
Whenever you want to use UltraEdit for large file editing, start first UltraEdit via shortcut UltraEdit Large File
and open in this special configuration the large file.
Note: When you have configured standard configuration of UltraEdit for using always a single instance and having currently running only 1 or more instances for large files using ueditLF.*
, a double click on a small file would result in opening the small file in and already running instance of UltraEdit for large files. You would need to move the file tab of this small file out of UE main window to open the file in a new instance of UE using (most likely, never tested) standard configuration.
This is not the only possible solution for using more than 1 configuration parallel.
Another one would be making a copy of uedit??.*
files in program files folder of UltraEdit and using the alternate executable ueditLF.exe
which automatically results in using ueditLF.*
files in application data directory. (Copy of executable and help file must be done again manually after each update/upgrade of UltraEdit).
And there are even more possible solutions for using UltraEdit with more than one configuration at the same time.
Which solution and configuration is best depends on what settings you would have different, what you prefer regarding instance management and how you are opening files in UltraEdit (from within UltraEdit, via double click in file manager (Windows Explorer), from other applications, by drag & drop, via UltraEdit context menu item, ...).