Forum Replies Created
- AuthorPosts
Yutaka Emura
KeymasterHello,
Since this error happens inside the regular expression engine (Boost regex++), I can’t control what happens inside the regex engine.
What number did you set to the Additional Lines to Search for Regular Expressions text box, and did you set or clear the Regular Expressions “.” Can Match New Line Characters check box?
There might be a different reason so would you send me a sample file (after zipped) to [email protected] along with the Registry file (exported at HKEY_CURRENT_USER\Software\EmSoft, please zip the file)? I will try to reproduce the issue here.
Thank you,
December 23, 2014 at 2:26 pm in reply to: Macro support for adding new Advanced Filter level? #19744Yutaka Emura
KeymasterHello LifeTimer,
v14.7.1 beta 2 can now record the filter operations with macros.
There is a breaking change in beta 2, where the second paramter for the Filter method now specifies one-based index of the specified column.
https://www.emeditor.com/forums/topic/emeditor-v14-7-1-beta-1/#post-19743
In case of the example above, you will have to write as this:
document.Filter(document.selection.Text, 0, eeFindKeepPrevious | eeFindNegative);
Thanks!
Yutaka Emura
KeymasterToday, we are releasing EmEditor v14.7.1 beta 2.
Updates from v14.7.1 beta 1 include:
Bug Fixes
- The second paramter for the Filter method now specifies one-based index of the specified column.
- The Record Macro command can now record filtering.
- Russian language files updated.
To Download
http://www.emurasoft.com/pub/beta/emed64_14.7.1_beta2.exe (64-bit)
http://www.emurasoft.com/pub/beta/emed32_14.7.1_beta2.exe (32-bit)These files will be deleted when official release versions become available. The official releases can be downloaded at the Download page.
How to create portable version:
https://www.emeditor.com/support/#toggle-id-12
Thank you for continue using EmEditor!
December 22, 2014 at 5:13 pm in reply to: Macro support for adding new Advanced Filter level? #19733Yutaka Emura
KeymasterHello LifeTimer,
I released a test version of the next version. Please try it and see if macros work as expected.
https://www.emeditor.com/forums/topic/emeditor-v14-7-1-beta-1/
Thank you!
Yutaka Emura
KeymasterHello,
If you have not already checked, In the Customize dialog box – Search tab, please set:
Additional Lines to Search for Regular Expressions text box to 0
clear the Regular Expressions “.” Can Match New Line Characters check box.
Also, if possible, please re-write regular expressions as simple as possible.
Thanks,
December 20, 2014 at 9:50 pm in reply to: Macro support for adding new Advanced Filter level? #19727Yutaka Emura
KeymasterHello LifeTimer,
I understand. I will consider the new option.
Thanks!
December 20, 2014 at 1:27 pm in reply to: Macro support for adding new Advanced Filter level? #19725Yutaka Emura
KeymasterHello LifeTimer,
Some people might need to do something between one filter and another filter.
For example,
// first filter document.Filter( ... ); .. // some operations // after this another filter document.Filter( ... ); .. // some operations
Therefore, we have to filter each time a macro find the Filter method. (refresh and actual filter are actually different). A filter operation consumes much time, while refresh is very fast. Nevertheless, I could implement the “eeKeepPreviousFilterLevels” flag instead and make EmEditor macros smart enough to wait actual filtering until the macro see necessary if there is enough reason to do this. I just dont’ want to make the code too complicated.
I didn’t quite understand your sentence:
“because otherwise the “incremental filtering” that I need won’t be possible to implement at all with macros, which would be a real shame, and something that probably many other people than me would miss too in the long run.”
Can you please describe why you need the “eeKeepPreviousFilterLevels” flag instead of the eeFindContinue flag?
Yutaka Emura
KeymasterHello Edward,
Yes, certainly. With the default keyboard shortcut, you can use CTRL + ] to jump between ( and ), or [ and ], or etc. Its command name is “Find Matching Parenthesis/Bracket”, and you can find in the Quick Launch dialog box (Ctrl + Q) or Keyboard Map.
Thanks,
Yutaka Emura
KeymasterHello Rien van Ham,
Thanks for letting me know.
With the correct regex, was your issue solved?December 19, 2014 at 9:00 am in reply to: Macro support for adding new Advanced Filter level? #19721Yutaka Emura
KeymasterHi LifeTimer,
I certainly consider your option before I chose the current “eeFindContinue” flag. That is performance. While it is negligible with small files, if you try to filter a very large file, this makes a big difference. With the eeFindContinue flag, EmEditor will wait until all the filter levels were set before it starts filtering. With the eeKeepPreviousFilterLevels flag, EmEditor will try to filter each time the Filter method appears.
I could implement both flags for conveniences, but I wanted to minimize the number of options.
As I wrote before, there is a bug in the current release (v14.7.0), so please wait until the next version before you start using the Filter method with the eeFindContinue flag.
Thank you.
December 18, 2014 at 1:02 pm in reply to: Macro support for adding new Advanced Filter level? #19715Yutaka Emura
KeymasterHello LifeTimer,
I will improve the macro feature so that when a macro is finished with the last Filter method, it will still refresh the documents with the last filter.
Also, I found a bug in the current Filter method with the eeFindContinue flag. So, please don’t use the eeFindContinue flag until the next version.
Thank you,
December 17, 2014 at 12:47 pm in reply to: Macro support for adding new Advanced Filter level? #19713Yutaka Emura
KeymasterHello LifeTimer,
If you use the eeFindContinue flag, you have to combine with another Filter method after this. If you need only one level of filter, please use the Filter method without the eeFindContinue flag. So your macro should look like:
document.Filter(document.selection.Text, -1, eeFindNegative);
Thanks,
December 16, 2014 at 1:36 pm in reply to: Macro support for adding new Advanced Filter level? #19710Yutaka Emura
KeymasterHello LifeTimer,
The documentation is included in the EmEditor Help. Please type “filter” in EmEditor and press the F1 key while the cursor is inside the “filter” word.
I also just updated the HTML help:
https://www.emeditor.com/help/macro/document/filter.htm
Thanks!
December 16, 2014 at 11:36 am in reply to: Macro support for adding new Advanced Filter level? #19707Yutaka Emura
KeymasterHello LifeTimer,
You can use multiple levels of “Filter” with a macro.
For example, if you want to filter with “a” first, and then filter with “b”, you would write:
document.Filter("a", -1, eeFindContinue); document.Filter("b", -1, 0);
The “eeFindContinue” keyword means the filter operation will continue to the next filter.
Thanks!
Yutaka Emura
KeymasterToday, we are releasing EmEditor v14.7.0 beta 3.
Updates from v14.7.0 beta 2 include:
- Fixed the bug where EmEditor reloads a file while filtered.
Please see:
https://www.emeditor.com/text-editor-features/history/new-in-version-14-7/
for screenshots and details.To Download
http://www.emurasoft.com/pub/beta/emed64_14.6.903.exe (64-bit)
http://www.emurasoft.com/pub/beta/emed32_14.6.903.exe (32-bit)These files will be deleted when official release versions become available. The official releases can be downloaded at the Download page.
How to create portable version:
https://www.emeditor.com/support/#toggle-id-12
Thank you for continue using EmEditor!
Yutaka Emura
KeymasterHello Rien van Ham,
Your regular expression:
^((?!<Landcode value=”NL”/>.)*$
has an extra ‘(‘ after ‘^’ and before ‘?!’.
Can you rewrite your regular expression as simple as possible?
Yutaka Emura
KeymasterHello Rien van Ham,
What did you specify in the Search tab of the Customize dialog box: Additional Lines to Search for Regular Expressions text box?
If you enter a large number, you might want to try with 0.
Thanks!
Yutaka Emura
KeymasterToday, we are releasing EmEditor v14.7.0 beta 2.
Updates from v14.7.0 beta 1 include:
- Fixed the bug where the Reset command after the Compare might not have reset completely.
- Fixed the highlighting issue when filtering with a column.
Please see:
https://www.emeditor.com/text-editor-features/history/new-in-version-14-7/
for screenshots and details.To Download
http://www.emurasoft.com/pub/beta/emed64_14.6.902.exe (64-bit)
http://www.emurasoft.com/pub/beta/emed32_14.6.902.exe (32-bit)These files will be deleted when official release versions become available. The official releases can be downloaded at the Download page.
How to create portable version:
https://www.emeditor.com/support/#toggle-id-12
Thank you for continue using EmEditor!
Yutaka Emura
KeymasterHello,
In the Find in Files dialog box, there is the Output Options drop-down list box, where you can select from Display File Names and Lines, Display File Names Only, Display Matched Lines Only, and Display Matched Strings Only. Currently, that’s the only way to customize the output results. If this is a feature request, I will think about that in future versions.
Thanks!
Yutaka Emura
KeymasterHello BobBailey,
Yes, it is very easy. First, select a column (if the Ruler is displayed, you can double-click the ruler). Then CTRL + F to bring up the Find dialog box, and make sure “In the Selection Only” is checked, and find.
On the next version, the Advanced Filter feature will also make it possible to search only a specified column.
Thanks,
November 27, 2014 at 5:23 pm in reply to: Bookmarks need refreshing if "Highlight Changed/Saved Lines" is off #19643Yutaka Emura
KeymasterHello QiaoJiao,
I can’t reproduce the issue. Can you let me know the EmEditor version you are using, and how do you set or remove bookmarks?
You are also welcome to send me at [email protected] the zipped Registry file exported from HKEY_CURRENT_USER\Software\EmSoft, and a sample file that can be reproduced.
Yutaka Emura
KeymasterHello blondie63,
If you have any anti-virus software or security software, can you disable that temporarily and see if you can still reproduce the problem? If this resolves the issue, you can look into the security software settings, and see if the list of programs to monitor the Clipboard include EmEditor.
November 18, 2014 at 4:29 pm in reply to: Negative filtering and chained/progressive filtering #19631Yutaka Emura
KeymasterHello LifeTimer,
The next version will have the “Negative” button and Advanced Filter (with multiple levels) features, exactly what you are looking for!
Thanks!
Yutaka Emura
KeymasterHello QiaoJiao,
I will look into this issue.
Thank you!
Yutaka Emura
KeymasterHello Just,
You will still be able to continue to use the newest before the expiry date even after the year.
Thanks!
- AuthorPosts