Forum Replies Created
- AuthorPosts
- May 28, 2022 at 1:09 am in reply to: crashes on lowercase / uppercase when the selection exceeds the line’s end #28211Patrick CParticipant
Hello Yutaka
Version 21.7.910
Does not crash 😀Version 21.7.1
Crashes 🙁Looking forward to the next non beta update.
Many thanks!
May 27, 2022 at 6:16 am in reply to: crashes on lowercase / uppercase when the selection exceeds the line’s end #28208Patrick CParticipantVersion 21.7.1
with ↵ denoting a new line:
foo bar↵ FOOs BARs↵ Foo Bar↵
In the above: select the block containing
bar
BARs
Bartry to change the case, e.g. lowercase
EmEditor will crash
Patrick CParticipantfigured out a ‘solution’ for [2] :
Tools → Properties for all Configurations → File → untick “Detect all”[1] might still be of interest for Yutaka
March 30, 2022 at 11:06 am in reply to: Extract each occurrence of a string into a separate line to build a list of URLs #28134Patrick CParticipantArghh, stupid me
You can do this in one stepFind in files → Extract with Regex:
(?<=")[^"]*__data\/assets.*?(?=")
With the extract option display matched strings only
😴March 30, 2022 at 10:52 am in reply to: Extract each occurrence of a string into a separate line to build a list of URLs #28133Patrick CParticipantFigured it out:
First extract the lines via find in fileThen Find → Extract with Regex:
(?<=")[^"]*__data\/assets.*?(?=")
🙂
March 30, 2022 at 10:29 am in reply to: Extract each occurrence of a string into a separate line to build a list of URLs #28132Patrick CParticipantPartial answer
You probably cannot do it in one step, but you would* be able do this in two:
First extract
and then Find -> Extract with the following Regex*
/https:\/\/.*__data\/assets.*(?=")/gU
*there is a problem here:
The syntax above is not perl compatibleDoes somebody know how to apply the /gU regex flag?
Would really appreciate thisPatrick CParticipantWith respect to: to fully replace Windows Notepad
Automatically setting file type associations under Windows 10 is no longer as simple as it used to be. Several other programs I use have also given up on this and EmEditor’s built in function also doesn’t seem to work on Windows 10.
My preferred approach to setting associations is by (text file example; ditto for .reg etc):
● Right click → Open With → Choose another app → Select your app (might require selecting the .exe’s location) + Tick “Always use this app to open .txt files”it’s settings are all over the place and it doesn’t seem to have command line support for restoring them all at once
I’m not entirely sure whether you are referring to EmEditor’s “fresh out of the box” settings or your custom settings and toolbars.
With respect to custom settings and toolbars: I agree that backing these up and restoring these is a pain. Custom macros are even worse, so I would very much welcome a more streamlined approach.
With respect to EmEditor’s default settings: Hit ctrl+Q; type “reset all” → select the “reset all settings” command and execute “run this command”Hope some of this helps.
Patrick CParticipantView → Toolbars → CSV Toolbar
you’ll notice that there are four default CSV profiles to choose fromit might help to think of CSV, TSV,… as *SV i.e. each of them can be configured freely
to configure:
Tools → Customise → CSVJuly 5, 2019 at 10:37 am in reply to: Multiple-line string as a search string in the Find/Replace dialog box #25953Patrick CParticipantTip: My preferred tool for testing out and learning regex is
regex101 dot comJuly 5, 2019 at 10:37 am in reply to: Multiple-line string as a search string in the Find/Replace dialog box #25952Patrick CParticipantWelcome to the regex kitchen stew (semi serious; regex seems to drive most people I know either mad or desperate or both)
Anyway one possible RegEx for finding 2 or 4 but not 24 is:
(2(?!4)|(?<!2)4)Which works on
1
2
3
09
4
5
24
51
1,2,3,09,4,5,24,51,4,2,42,8,4,6,2,8
2
4To get an idea on what this does
(a|b)
finds either a or b, where
a = 2(?!4) finds 2 without a trailing 4
b = (?<!2)4 finds 4 without a leading 2Note that I’m not a regex guru.
July 3, 2019 at 12:28 pm in reply to: Multiple-line string as a search string in the Find/Replace dialog box #25939Patrick CParticipantI’m really short on time and its not the complete answer, but the regex for finding 2 or 4 is:
[24]This will however, select only one of the characters at a time.
July 2, 2019 at 9:24 am in reply to: On launch automatically open files that were open when last closing the program #25934Patrick CParticipantTools → Customise → Workspace → Automatic Workspace: Save, Restore and Keep Undo Information, and No Prompt to Save Files
http://www.emeditor.org/en/dlg_customize_workspace_index.htmlPatrick CParticipantInteresting I haven’t got this behaviour.
Have you tried setting
Tools → Customise Menus… → Delay time
to 0.0 seconds ?Cheers
PatrickPatrick CParticipantThank you Yutaka!
Patrick CParticipant1) Select a configuration of your liking (Tools → Select Configuration → someConfiguration)
2) Select Tools → Properties for current configuration
3) Under Highlight(1) hit export.
This will give you an example filecolor=1,2,3,…
refers to Tools → Properties for current configuration → Display → Specify part list → Highlight(1,2,3,… )So much for starters. It will take some time to figure out how things work.
Patrick CParticipantThinking about it:
I might scribble a comparison macro which starts either Winmerge or Notepad++ from within Emeditor. Currently I’m too busy for this, though I’ll get back to this post should I ever find time to do this.
Cheers,
PatrickPatrick CParticipantThe way I see it, this is intended behaviour.
Compare doesn’t indicate a new line. Instead it merely tells you that line 3 of Untitled-1 matches line 4 of Untitled-2.
TotalCommander’s and Notepad++’s compare behaves exactly the same as EmEditor’s.
Winmerge however behaves more like what your description of what to expect.
As you already started the topic of comparing:
@Yutaka: I know that its an horrendous amount of work, but Notepad++’s compare plugin is awesome. Would be cool if there were a way to implement something similar. Same goes for search, where NP++ also shines, but with respect to csv, large files and speed EmEditor is still way ahead. On the other hand, I can live quite comfortably with running EmEditor and the other two in parallel.Patrick CParticipantI admit its a bit wierd. For simplicity I’ll just give you one method, note that many variations exist.
Lets say you want to delete columns 2 to 5:
1) Single click any cell in column 2
2) Keep shift pressed
3) Single click any cell in column 5
4) Right-click on any column number (e.g the “5” of column 5).
5) Select / click “Delete columns”March 2, 2019 at 11:35 am in reply to: Search Functionality Improvement Suggestion: Allow Multiple Findings Highlighted #25453Patrick CParticipantNo way to erase highlight on mouse leaving found text.
Out of curiosity:
How should this work? Move the mouse over highlighted text and out again?March 2, 2019 at 11:33 am in reply to: Search Functionality Improvement Suggestion: Allow Multiple Findings Highlighted #25452Patrick CParticipantAnd no option to clear the previous search on the next round automatically.
I don’t get this one. As long as the number of search colours is one, the previous search is cleared automatically.
March 2, 2019 at 11:30 am in reply to: Search Functionality Improvement Suggestion: Allow Multiple Findings Highlighted #25451Patrick CParticipantActually I’m surprised that non EmEditor’s highlighted string features are activated by default in your case.
Anyway regarding:on double-clicking text there is no feature that highlights matches
There is:
1) Tools → Customise Markers → Enable AutoMarker2) To change the highlighting colour (also useful if enabling AutoMarker alone doesn’t work due to no colour being assigned to mark matches)
Tools → Properties for all Configurations → Display → scroll down to “Auto Marker” → change the text and background colour to your likingMarch 1, 2019 at 9:45 am in reply to: Search Functionality Improvement Suggestion: Allow Multiple Findings Highlighted #25442Patrick CParticipanthttp://www.emeditor.org/en/faq_view_view_find_highlight.html
Tools → Properties for all Configurations → Display → scroll way down to “search string” → change search colours on the right from 0 to 1 to however many colours for previous search results you could possibly want.
+ To erase the highlight
Search → Erase Find Highlight (shortcut Alt-F3 in my configuration)Patrick CParticipantHello Yutaka,
Thank you for the input so far!
I would still very much appreciate a macro command for setting a column’s width, i.e. if its not too much work to implement in one of the upcoming releases.Best regards,
Patrick
Patrick CParticipantThis is something that bugs me to.
@Yutaka: Is there a macro command for setting a column’s view width?
I couldn’t find one ☹
Such a command would already help me to at least custom code a solution for this (@David: I’ll be happy to share the macro if that’s of use for you).October 11, 2018 at 3:26 am in reply to: Emeditor crashes when opening Western European encoded files #23818Patrick CParticipantYippee – it works! 😃
Thank you Yutaka – fixed in no time 👍
Patrick
- AuthorPosts