Please use only /L1
. The language number is ignored by UltraEdit nowadays when using *.uew files in a wordfiles directory each containing only 1 syntax highlighting language. Therefore it is no problem if multiple wordfiles have for example /L20
. But other tools like my macros or the tools coded by rhapdog for evalutating wordfiles expect a language number in range 1 to 20 as well as UltraEdit when multiple syntax highlighting languages are stored within a wordfile.
UltraEdit searches for String Chars =
and if not found, use the built-in default definition for string characters which is "'
. This is the reason why string highlighting worked although your wrong definition was not read by UE.
The temporary files are created in directory as stored in Windows environment variable TEMP
. There are usually 2 TEMP
variables, one for current user and one for Windows system. The current user TEMP
is used for all applications started with current user account privileges like UltraEdit. The system TEMP
is used by services and processes started as local system or network service (or when there is no current user TEMP
like on my computers). You can define both in the Windows environment settings of the system control panel. I have explained at Moving temp file directory from drive C: to drive D:
how to define a directory for UltraEdit temporary files different to what is defined for variable TEMP
I have no experience with code folding on very large files. And I think you are the first one which tries that as code folding
is as a matter of priority a feature for source code files of programming languages which are usually small files. It is not designed for large files.
UltraEdit does not load entire file into RAM as many other text editors do. UltraEdit loads the content of a file in blocks depending on current display position. I don't know the block size. Code folding feature could have problems if begin and end of a folding section are too many lines (= KB = blocks) apart.
The code folding scanning routine runs as background thread to be able to edit the file while the search for the fold strings is running. This is also the reason why it works only for files opened with using a temporary file from beginning as without creating a temporay file, edits are made directly on original file (therefore no undo). Therefore it is not possible that main UE task works on one part of the file while the code folding thread scans the entire file. Every modification of file opened without temporary file is done directly on storage media and the code folding thread would immediately fail to finish the task correct because of file offset failure. UltraEdit opens a large file opened without creating a copy in temp folder and editing this copy with write lock for other applications.
I cannot help on your display issues with code folding as I simply never tried what happens when using this feature on large files.