- Posted by
- The Aspell dictionaries are compiled and cannot be edited in a text editor. The custom dictionaries can be edited in UltraEdit. See the topic: Storage location of custom dictionariesPosted in Syntax Highlighting
-   Topics
-   Views
- Mofi
18:52 - Sep 14
- 1 - How to have spell checking underlining wrong words, using syntax highlight, for previous incorrect typed words? I noticed on enabling/disabling spell as you type by hotkey that it is necessary to scroll up/down to get the display of the text with/without red dashed lines for unknown/misspelled ...Posted in Syntax Highlighting
-   Topics
-   Views
- Mofi
9:53 - Sep 14
- I rather use $ in replacements because you are not limited to max 9 groups (\1 .. \9). You are virtually unlimited using $. I successfully tested groups like $531 and similar high numbers. Unfortunately $ is not allowed as backreference in a Perl regexp itself. At least I don't know the way how to u...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
13:54 - Sep 12
- BTW It can be simplified to: F: ^(.+?\l)(\u.+) R: $2\r\n$1\r\n And Match case is not needed...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
12:33 - Sep 12
- If you remove bold markers then this should work F: ^(.+?\l)(\r\n)?(\u.+) R: $3$2\r\n$1\r\n BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
12:23 - Sep 12
- Hi, I would prefer this Perl regexp because of UTF-8 characters and not only A-Z (\l = any lower character, \u = any upper character) F: \l(\r\n)?\K(?=\u) R: \r\n BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
11:41 - Sep 12
- You have most likely not checked the option Match case which is very important here as otherwise [A-Z] and [a-z] matches the same set of characters: all ASCII letters independent on case. A better Perl regular search expression would be ^[ A - Z ][^ \r\n A - Z ]+? \K (?= [ A - Z ] ) and \r\n as repl...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
5:16 - Sep 12
- UltraEdit macros are usually recorded and not often written from scratch. There is no debugging interface available at all. There can be used the macro command ExitMacro inside a macro and run the macro on a saved file. It can be seen how the macro changed the active file, what is selected and where...Posted in Macros
-   Topics
-   Views
- Mofi
7:23 - Jun 16
- I will not write one more solution. I lost my motivation on this project. Improve the code by yourself to your requirements. Hint: The script must split up each file name into a list of words and compare the two words lists and if the number of matching words is greater or equal X then the file name...Posted in Scripts
-   Topics
-   Views
- Mofi
Dec 16, 2023
- Here is a once more extended script code which handles also the last test case by sorting first the full file names list according to length of names of the files from shortest to longest. function SortFileNamesByLength (sFullFileName1, sFullFileName2) { var sNameFile1 = GetNameOfFile(sFullFileNa...Posted in Scripts
-   Topics
-   Views
- Mofi
Dec 16, 2023
- The second solution can be enhanced with a more smart file name comparison to find duplicate files by similarities in file name. There must be additionally added the three functions GetFileExt, GetFileName and GetNameOfFile to the script file containing already the function GetListOfFiles and the ma...Posted in Scripts
-   Topics
-   Views
- Mofi
Dec 15, 2023
- I have understood now better what you really want. I can offer two solutions for getting a list of duplicate file names which UltraCompare and UltraFinder can also output. The first one does nothing in memory of the JavaScript core engine which makes it possible finding duplicate file names even in ...Posted in Scripts
-   Topics
-   Views
- Mofi
Dec 14, 2023
- For the first task use GetListOfFiles(0,"D:\\","one file.jpg",true); or if the file extension should not matter GetListOfFiles(0,"D:\\","one file.*",true); For the second task use: GetListOfFiles(0,"D:\\","*first file*.*",true); The Windows file IO functions called by UltraEdit accessing the file sy...Posted in Scripts
-   Topics
-   Views
- Mofi
Dec 14, 2023
- The steps for decoding base64 encoded data of a binary file with UltraEdit are: Open Advanced - Settings or Configuration - Editor - Hex mode and check the configuration setting Allow editing of text files with hex 00's without converting them to spaces . Create a new file and make sure the encoding...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Mofi
Jul 16, 2023
- Please read the Wikipedia article about Email . Emails can be sent only with 7-bit ASCII characters although many programs involved in transfer of an email support now also 8-bit clean. There is originally no support for letters other than A-Za-Z or other characters with a code point value greater 1...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Mofi
Jul 16, 2023
- My instructions on how to update the tag list file replicate what UltraEdit itself does on creating the directory %APPDATA% \IDMComp\UltraEdit and all the subdirectories and files (for a new user or on first start and exit after first installation). You can see that by renaming the application data ...Posted in Syntax Highlighting
-   Topics
-   Views
- Mofi
Nov 09, 2022
- Tag List You are right, inserting HTML tags from the Tag List view is not working correct on active file is a Unicode file encoded with UTF-16 LE. It works fine for ANSI and UTF-8 encoded files which I suggest to use on writing HTML files. I have just reported this issue to UltraEdit support with t...Posted in Syntax Highlighting
-   Topics
-   Views
- Mofi
Nov 09, 2022
- Automatically close XML/HTML tags An UltraEdit user can type the start tag of an HTML element and UltraEdit inserts automatically the appropriate closing tag if that feature is enabled in configuration as by default. That is the most efficient method to write text in HTML embedded in basic tags lik...Posted in Syntax Highlighting
-   Topics
-   Views
- Mofi
Nov 08, 2022
- That is very simple. There is first run a Perl regular expression replace all from top of the file with search expression ^ ( \ [ url= .+? \ ] ) ( .+? ) ( \ [ /url \ ] ) and replace expression \2 \1 \3 to change the lines to: Mudanças Climáticas[url=https://clubeceticismo.com.br/viewtopic.php?f=18&t...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Mofi
Aug 02, 2022
- Okay, now I understood the task. Here is the entire code for the UltraEdit/UEStudio script which makes the url updates in all the index.html files and creates the batch file to move the files up into parent folder with new name and change the folder names, too. The last two lines are commented and c...Posted in Scripts
-   Topics
-   Views
- Mofi
Jul 29, 2022
- I am now completely confused about the task. Please compress into a 7-Zip, RAR or ZIP archive file one HTML file with its subdirectory containing the other files without these other files in the subdirectory, i.e. the file Renamed 1.html and the directory Renamed 1 or whatever are the file and folde...Posted in Scripts
-   Topics
-   Views
- Mofi
Jul 28, 2022
- There is no UltraEdit scripting command to rename an opened file. UltraEdit has a command to rename an opened file, but this command is not available as scripting command. The task can be done with a batch file (worst choice), a VBScript script (better) or a PowerShell script (best choice). It is po...Posted in Scripts
-   Topics
-   Views
- Mofi
Jul 28, 2022
- Well, I don't want to look like a nit-picker but if you want to learn more about quantifiers then I suggest this little optimalization using the possessive quantifier: <video muted="1" preload="auto"[^>]+?src="([^\t\r\n."]+?)\.mp4"[^>] *? ></video> <video muted="1" preload="auto"[^>]+?src="([^\t\r\n...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
May 29, 2020
- I would have used in this case the search expression: <video muted="1" preload="auto" [^>]+? src=" ( [^\t\r\n."]+? ) \.mp4" [^>]*? ></video> The matching replace string would be: <img src=" \1 .jpg"> [^>]+? ... searches non-greedy for any character including newline characters which can exist within...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
May 26, 2020
- Yes, on using UltraEdit v25.20.0.88 and running this replace (or find) in single step mode, i.e. with first searching for next occurrence, viewing the found and selected text and then replace it, the displayed selection is wrong after the first two replaces. However, running from top of file Replace...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
May 26, 2020
- This bug is fixed with UltraEdit for Windows v25.00.0.82. UEStudio v18.00 (any build) doesn't have this bug. The bug was caused by a change on how strings of the following macro commands must be written in Edit/Create Macro dialog in multi-line macro code edit field: Find FindInFiles Replace ReplIn...Posted in Macros
-   Topics
-   Views
- Mofi
Jul 08, 2018
- The first I always do on a file containing multiple lines with multiple strings of interest in same line is splitting those lines up into multiple lines. For example search first for loadURI and replace all found occurrences by \r\n loadURI to insert a carriage return + line-feed before each URL to ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
Apr 30, 2018
- Hi, try this Perl regex, please. But you must use Notepad++ because there is a bug in UE/UES regex engine I believe. F: (?s)(?:(?<!loadURI\(").)++(http(?:(?!").)++)|.* R: \1\r\n BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Apr 30, 2018
- Run first a Perl regular expression replace all from top of file with search string ^(?:(?!loadURI\(").)*$\r?\n and an empty replace string to delete all lines not containing loadURI(" . Then run a Perl regular expression replace all from top of file with search string ^.*loadURI\(" (...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
Apr 30, 2018
- Find what: (?<=loadURI\(").*(?=&) Check Highlight all items found Check Regular expression and choose Perl Press Next. Press Ctrl + , (Convert Highlighted to selection command) Now you can copy selected to new file via Copy/Paste HTHPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Ovg
Apr 29, 2018
- Yes, adding the commands Compress JSON and Reformat JSON to a toolbar using temporarily contemporary menus is a workaround for getting those two commands into a toolbar on using traditional menus on using UltraEdit < v25.00.0.68 on which those two commands were added also to traditional menus.Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Apr 21, 2018
- I can see with 32-bit English UE v25.00.0.68 in category All commands the commands Compress JSON and Reformart JSON in alphabetically sorted list of commands after opening toolbar customization dialog. Both commands are also in category Format on opening the toolbar customization dialog with traditi...Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Apr 20, 2018
- In traditional menu Format is the menu item XML convert to CR/LFs . The Artistic Style Formatter command was never in a menu in an UltraEdit for Windows version prior 23.00 and that has not changed. Many commands are in toolbars/menu mode just available in one of the toolbars to avoid to many main m...Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Apr 20, 2018
- Gabarito wrote in post Copy filtered lines to clipboard via macro : Sorry, I just saw that recommendation about ribbon tab Edit - Delete all hidden lines . I always use traditional menu and it looks like there are too many features only on ribbon mode thus I'm not aware of them. There should be no ...Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Apr 19, 2018
- Copying all lines containing a string to clipboard or a new file is a very often asked task and can be done in many different ways. Use Find with option List lines containing string and copy the found and listed lines to clipboard via context menu command Copy to clipboard or Copy results to new fil...Posted in Macros
-   Topics
-   Views
- Mofi
Apr 14, 2018
- It is possible to include a script file containing one or more functions. Open help of UltraEdit, switch to tab Index , type scripting and double click on list item Scripting commands . This help page explains how to include scripts in scripts. I tested the posted script with UE v22.20.0.49 on Windo...Posted in Scripts
-   Topics
-   Views
- Mofi
Mar 26, 2018
- Thanks for the input and output examples. They were a big help for understanding the requirements for the coding task. Here is the UltraEdit script for this task (updated later for additional requirements) on which the functions GetListOfFiles (with adjustment for language of UltraEdit) and GetFileP...Posted in Scripts
-   Topics
-   Views
- Mofi
Mar 25, 2018
- It is definitely no problem to write a script for this task. But there are some requirements for coding the script unclear. What is the directory structure exactly? Root directory of offline website SubdirectoryA file_a1.html file_a2.html SubdirectoryB file_b1.html file_b2.html file_root1.html file_...Posted in Scripts
-   Topics
-   Views
- Mofi
Mar 23, 2018
- Perhaps you should read about Base64 encoding to get knowledge how this encoding works and where it is used. It us widely used for emails containing a file attachment because email system was designed for transmitting text and not for transmitting binary data. UltraEdit has built-in the functions to...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Mofi
Mar 13, 2018
- Yes, I can reproduce slow display of file with Wrap at window edge or any other word wrap enabled on opening the HTML file with very long "line" caused by binary file being embedded in base64 encoding without any line breaks (which would be possible, but Firefox doesn't do) with any version of Ultra...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Mofi
Mar 08, 2018
- Try this wordfile: /L20"Subtitles" Noquote File Extensions = SRT /Delimiters = /Function String = "%[0-2][0-9]:[,0-9:]+ --> [0-2][0-9]:[,0-9:]+$" /C1"Time codes" ** 00: 01: 02: 03: 04: --> Note: The second line must end with a single space, but can be also end with two spaces or with two spaces and ...Posted in Syntax Highlighting
-   Topics
-   Views
- Mofi
Feb 01, 2018
- I restored now from my personal archives 32-bit UltraEdit 24.10.0.24 to check this issue with the same version of UltraEdit as used by you with the difference on using 32- instead of 64-bit version which should really not matter here. I renamed the directory %APPDATA% \IDMComp\UltraEdit to UltraEdit...Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Jan 10, 2018
- In Configuration at Application layout - Advanced the INI file location is displayed and the name of the used INI file. The default for 64-bit UE v24.xx is %APPDATA% \IDMComp\UltraEdit\ uedit64u.ini . I recommend deleting configuration files from older versions of UltraEdit no longer used like uedit...Posted in Configuration/INI Settings
-   Topics
-   Views
- Mofi
Jan 10, 2018