Forum Replies Created
- AuthorPosts
- DeipotentParticipant
Thanks Yutaka!
As mentioned, I’m really hoping for text extraction in the next version – Nudge, nudge. Wink, wink! ;)
August 20, 2011 at 3:20 am in reply to: Button style tab bar: cosmetic bug when closing tab using X #9568DeipotentParticipantI’m running Win 7 x64, with all updates. I’ll test with a fresh Windows 7 x64 install in a VM, and post a video, if needed.
DeipotentParticipantRe. Marker dialog:
– Add Apply button so new settings can be applied without closing dialog
– Maybe update highlighting in document when colour changed on dialog
– No option to wrap search past end of document – you could make this per marker rather than global for all markers.
DeipotentParticipantGood to see the new find/replace toolbar and Delete Duplicate Lines.
Can you add a new button to the Find toolbar, Customize…, for opening the Customize dialog at the Search tab (the same as the Customize… button on the Find dialog) ?
One feature in particular that I was really hoping would make it into EmEditor 11 was the suggestion for extracting text with regular expression support (http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1647&forum=4). It would be nice if it was configurable, as per the topic posts (eg. extraction to Output bar/new document, incremental search/extract so Output bar is updated in real-time as the find/replace text/regex is updated, etc.).
A couple of the bugs I’ve reported before are still present (along with some related to the new features):
1) Incremental search not updated when various Find options changed http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1782&forum=5
2) Current character code is not updated in real-time on the status bar when making a selection.
3) Number of characters, words and lines in selection not updated in real-time while making a selection.
4) It would be useful to have the option to display the total number of characters, words and lines (ie. not just in a selection), and have them update in real-time. Writers/authors would find this very useful.
5) Button style tab bar: cosmetic bug when closing tab using X – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1733&forum=5
6) Only single match is highlighted when regex contains n… – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1780&forum=5
A few other suggestions (mostly small) I’ve made that I’d like to see make it into 11:
1) Name document without saving – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1775&forum=4
2) Real-time refresh/update of WebPreview as-you-type – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1735&forum=7
3) Regex Library feature – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1683&forum=4
4) Syntax highlight multi-line sections other than comments – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=644&forum=2
5) Keep original cursor column position when moving between lines – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=617&forum=2
6) Have single tab for filenames that only differ by extension – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1692&forum=4
7) Option to also highlight parentheses/brackets when cursor to the right – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=642&forum=4&post_id=1867#forumpost1867
8) Suggestions (1), (7) from http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=587&forum=4
9) Auto word-wrap comments (specifically C/C++ comments)… – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1694&forum=4
10) Display vertical line at specific column position or word wrap position – http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1693&forum=2
DeipotentParticipantThanks Yutaka, that did the trick!
A new command would be useful, particularly for people who don’t scripting or RegEx, as a lot of other Text Editors include a simple menu option for removing duplicates. It would also allow you to highly optimise it, and also include an option to keep the original order (ie. so you don’t have to sort it first), which would be useful.
One of my other suggestions was for a simple RegEx library feature, so you can create or import Regex’s with a name, optional description, and possibly find settings. This would allow you to select the relevant regex from the library list and then run it.
DeipotentParticipantI needed this functionality recently and thought it could be done easily with regex. Google led me to http://www.regular-expressions.info/duplicatelines.html which said to sort the lines, and then search for the following:
^(.*)(r?n1)+$
and replace with:
1
Unfortunately, I couldn’t get this to work in EmEditor, even after enabling the option to search past line boundaries.
Can you add support for this type of regex to EmEditor ?
PS. I haven’t tried the macro yet, and am sure it works fine, but it would be nice if it could be done with regex.
DeipotentParticipantThanks CrashNBurn! The last regex is what I’m after
([[:alnum:]]+)($n|$)
DeipotentParticipantIn your last two regex’s you place the space in square brackets (ie. “[ ]” instead of ” “). Why is this ?
Is that considered a better/clearer way of writing it ?
DeipotentParticipantI didn’t mention it in my original post, but I want to replace the newline, where present. For example, suppose I have three lines:
line1
line2
line3
There is a newline character after “line1” and “line2”, but not after “line3”. I want to use a Find/Replace regex to convert it into the following:
line1A, line2A, line3A
My Find regex would be something like
([[:alnum:]]+)n
and the Replace regex would be
1A,
but this does not produce want I’m after due to it not matching the last line, so the end result is:
line1A, line2A, line3
That is, no “A, ” after “line3”.
So, I was hoping for a way to match either a n or EOF, and replace the n, but not the EOF (as that’s obviously just a virtual char).
July 14, 2011 at 2:29 am in reply to: Almost impossible to do a regex search with [x] incremental search #9474DeipotentParticipantI was just about to post about exactly the same problem. :-D
I agree with all CrashNBurn’s points and suggestions – a separate status bar for the Find dialog would be a good approach for displaying Find errors/messages.
DeipotentParticipantYou are correct that the first period is not necessary, that the period in the character set should be escaped, and that the second * should be a +. My regex is a little rusty.
The first * should also be a +, as I want it to match one or more spaces, so the regex should probably be
: +([[:alnum:];.]+)n
The issue I reported with only a single match being highlighted is still present, even with the updated regex.
June 30, 2011 at 1:00 am in reply to: Find (In Files)/Replace (In Files): > Selected Text option does not work correctly #9444DeipotentParticipantOK, I understand it now. An option to configure the Selected Text option to get the behaviour I describe would be good.
Re. the announcement – kudos for making it in advance, so people have the choice to buy licences with lifetime upgrades before the deadline, if they so choose.
June 29, 2011 at 10:49 pm in reply to: Find (In Files)/Replace (In Files): > Selected Text option does not work correctly #9442DeipotentParticipantSo what’s the difference between “Selected Text” and “Word at Cursor” as they both appear to do the same thing ?
BTW, does the new announcement regarding upgrades essentially mean that any licences purchased before 1 November 2011 will get free lifetime upgrades (ie. all major upgrades and minor updates will be free forever) ?
And any licences purchased after 1 November 2011 will get minor updates for free, but have to pay for major upgrades ?
DeipotentParticipantI already suggested the same feature (only the lines and number of characters, not words), and for EmEditor to real-time update these stats as the selection range increases/decreases.
Hoping to see this in Emeditor 11.
DeipotentParticipantThanks Yutaka. That’s exactly what I was after!
DeipotentParticipantThanks Yutaka!
I was forgetting about that option. As you already have a custom tab/button control, then I’m guessing it won’t be too hard to add the other feature I requested
http://www.emeditor.com/modules/newbb/viewtopic.php?topic_id=1692&forum=4
DeipotentParticipantWill support be added to EmEditor for the features CrashNBurn mentions (eg. multiple ^ and $, and (?m), (?i) etc.) ?
January 17, 2011 at 9:33 pm in reply to: Extract Text to new document with support for both Find & Replacement Regular Expressions… #9204DeipotentParticipantI dunno about the live-regex/Incremental search for “In Files”
A tool called BareGrep offers live-regex/Incremental search for files, so it’s feasible, particularly given the powerful nature of computers these days. Admittedly, an option to disable it should be present though, if not required.
But XNews.exe has a very useful tool built-in, “Test Regex”
EmEditor already has this functionality for Find, except it will match against the current document, rather than a Test String. Given this, I don’t see a need for a separate “Text RegEx” tool.
DeipotentParticipant@muskoka – May I ask what the problem is/was with the Explorer plugin, as I also run Win 7 64-bit ?
November 2, 2010 at 3:18 pm in reply to: Extract Text to new document with support for both Find & Replacement Regular Expressions… #9088DeipotentParticipantA few more suggestions related to extract text, plus Find/Replace In Files:
1) Ability to exclude file name from search results (ie. the opposite of the “Display File Names Only” option)
2) Similar to (1), but also option to only show matched/extracted text (ie. not the whole line).
3) Incremental Search option on Find/Replace In Files, which will apply to currently active document, to aid creation of Find Expression without the need to switch to normal Find/Replace windows.
4) Option to leave Find/Replace in Files window open after pressing Find button.
November 2, 2010 at 3:18 pm in reply to: Extract Text to new document with support for both Find & Replacement Regular Expressions… #9087DeipotentParticipantFurther to my suggestion, it would be useful if the Output bar could be used to display the extracted text. Even better, would be if this could be updated in realtime, similar to the incremental search, so you can see immediately the extracted text as the Find/Replacement expression is modified.
This would make it far easier to create the correct Find/Replacement expressions, since it would give immediate feedback on what is matched (ie. the current incremental search feature), along with what is extracted.
While this real-time updating is probably not feasible for Find/Replace in Files with the option “Look in Subfolders” enabled, it could come in handy when the “Look in Subfolders” is not enabled.
DeipotentParticipantI hadn’t, and that had the desired effect. Thanks!
DeipotentParticipantAny chance of getting a dotted line for the Indent guide, instead of a solid line (as a solid line takes focus away from the code) ?
Also, is it possible for a keyword to take precedence over a Comment ?
For example, when programming, I may have a comment like:
// TODO: Add xyz here
and would like to highlight in red, “TODO” and everything after it. However, even if I add TODO as a keyword, the whole line is still treated as a comment and so appears in the Comment colour/font.
April 10, 2008 at 11:20 pm in reply to: Syntax highlight multi-line sections other than comments #5655DeipotentParticipantThanks. As it already supports multi-line section syntax highlighting with comments, I’m guessing it wouldn’t be too much of a stretch to make it support unlimited Start/End pairs for defining other multi-line sections.
April 1, 2008 at 5:49 pm in reply to: Make Highlight matching parentheses/brackets more visible #5631DeipotentParticipantThanks Yutaka. I must have missed that when I checked.
- AuthorPosts