UltraEdit for Windows v24.00.0.42 to v26.00.0.72 have a bug regarding to characters with a code point value greater 127 decimal in a Windows-1252 encoded wordfile, i.e. non-ASCII characters in an one byte per character encoded wordfile. I reported this issue as detected by me. It was fixed with v26.10.0.14 which syntax highlights ANSI characters as it worked up to UE v23.20.0.43. I found also a workaround for this issue. The wordfile must be stored as UTF-8 (without BOM) or UTF-16 encoded Unicode file. Then the syntax highlighting of the quotes works independent on which characters are left and right as being now interpreted themselves as word delimiters as I could verify with restoring UE v26.00.0.72 from my archives. UltraEdit 26.10.0.72 works in my test with Windows-1252, UTF-8 and UTF-16 encoded
text.uew. The default system ANSI code page is Windows-1252 on my PC because of having German as language and Austria as county configured for my account in the Windows settings and UltraEdit uses the default settings. I recommend to check your encoding settings at
Advanced - Settings or Configuration - File handling - Encoding in UE v26.10.0.82. The attached screen shots are made with Windows-1252 encoded
text.uew.
Brace matching for the low and left double quote requires UltraEdit for Windows v2022.0.0.70 as I found out today. Former versions support brace matching only for ASCII characters independent on the character encoding of the wordfile. There is no possibility to get brace feature working for non-ASCII quotes in former versions of UltraEdit as far as could find out with some quick tests.
The syntax highlighting wordfiles in GitHub repository or UltraEdit´s
wordfiles download page are all user contributed and not deeply analyzed by an employee of UltraEdit, Inc. They are reviewed of being really a wordfile before they are added to the master branch and uploaded to the web server, but there is no syntax check made neither for the wordfile syntax nor how good the syntax highlighting wordfile really works for the language being highlighted. There is no "standard wordfile" for .txt files.
It is up to you to customize the wordfile provided by me for your needs on .txt files highlighting. The line beginning with
/Delimiters = can be extended with more characters to interpret as word delimiters on syntax highlighting the text in files with file extension txt. The order of the delimiters on the line does not matter although I sort them always alphabetically according to their code point values using an UltraEdit macro.
Lines of Windows-1252 encoded text file for testing quotes highlighting:
Code: Select all
Test line 1: „Hello world.“
Test line 2: "Straight quoted text."
Test line 3: „Right double quoted text as in German.”
Test line 4: ' and ‚ and ‘ are the single quotes.
PS: The image format PNG is much better for screen shots than the format JPEG. The
Portable Network Graphics format is supported by all applications supporting also the JPEG image format.