- Posted by
- Okay, I fixed those two and I did some optimization too: function PrepareAndLookup() { // Convert line endings to DOS if file is a UNIX or MAC file. if (UltraEdit.activeDocument.lineTerminator != 0) { UltraEdit.activeDocument.unixMacToDos(); } var sLineTerm; if (UltraEdit.activeDocu...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 30, 2018
- This part is not what I really wanted: // Remove all lines with 0.0.0.0 or 127.0.0.1. UltraEdit.activeDocument.findReplace.replace("%^{0.0.0.0^}^{127.0.0.1^}^p",""); I don't want to remove those lines, but cut the front part. And comments (starting with #) in the end weren't deleted, e.g. in 0.0...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 29, 2018
- Yes, it works absolutely great! My apologies for not explaining earlier, thanks a lot! Edit: I think, I need also a "preparation" beforehand, which: deletes comments (starting with # - start or end of line), removes all the "0.0.0.0*" or "127.0.0.1*" where * can be a space, a tab, or more from each,...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 28, 2018
- Okay, I understand. Well, here's one of the files I'm working on. The first 914 lines are my "white list" and I would like to be able to find which ones (of those in white list) are included in the rest of the file (from line 916 to 54760).Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 27, 2018
- Actually the lines I want to find are a bit less than 1000, and yes, they are known beforehand, I'll look at the link too, thanks. No, the script in referenced link doesn't work for me either. Question:Why don't we take advantage of the sort? I mean the search should finish when word2 > word1, when ...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 26, 2018
- Thanks for your time and your effort. Here is another alternative. I did that with Excel and vlookup (one column for the original entries and the other for the entries to be searched in the first) and output of the function in the third column, which is very fast and working great. I though there wa...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 26, 2018
- How to find non consecutive duplicate lines in a large file? My file(s) could be rather large, about 60k to 100k lines. I tried it with this regular expression: (?-s)^(.+)\R(?s)(?=.*\R\1\R?) This works fine in Notepad++, but only for a small file. That is the reason why I' looking for something simi...Posted in Scripts
-   Topics
-   Views
- patrickdrd
Oct 21, 2018
- I know that setting Mofi. I have already set that. The strange thing is that while it works with the 13.00 UE's exe, it doesn't work with the new one (13.10)!Posted in Editor Display
-   Topics
-   Views
- patrickdrd
Jun 17, 2007
- I saved the file with 3 a greek chars from windows and opened the file with both the last two version of UE and these are the differences.Posted in Editor Display
-   Topics
-   Views
- patrickdrd
Jun 16, 2007
- Yes, look at the following screenshots. The first taken from the older v13.00 and the second from v13.10: http://i12.tinypic.com/4tanrde.jpg http://i14.tinypic.com/6cr6dc5.jpgPosted in Editor Display
-   Topics
-   Views
- patrickdrd
Jun 16, 2007
- Hi everyone! I noticed that after upgrading to 13.10 the tab windows font charset is not working, i.e. when I save a file with a filename that has greek chars, these chars are unreadable. Apart from that I can't tell which tab is active with the new configuration, all look alike!Posted in Editor Display
-   Topics
-   Views
- patrickdrd
Jun 16, 2007
-   Topics
-   Views
- patrickdrd
Jun 14, 2007
- I DID pack the 13.10 exe with success!Posted in UltraEdit General Discussion
-   Topics
-   Views
- patrickdrd
Jun 14, 2007
- yes! worked gracefully! looks like a great tool! thank you very much mik!Posted in UltraEdit General Discussion
-   Topics
-   Views
- patrickdrd
Apr 13, 2007
- mine got larger with that command than yours 1.55 mb, not to mention that I 'lost' the icon, could you post what command did you use?Posted in UltraEdit General Discussion
-   Topics
-   Views
- patrickdrd
Apr 12, 2007