Forum Replies Created
- AuthorPosts
Yutaka Emura
KeymasterIt should be:
editor.ExecuteCommandByID nID
I will fix this documentation.
Thank you!
September 16, 2016 at 2:43 pm in reply to: Possible to set a "Marker" (Highlight Word) from within a macro? #21045Yutaka Emura
KeymasterHello,
I will think about adding macro object/methods/properties related to markers.
Meanwhile, you can use the Add to Markers command:
editor.ExecuteCommandByID(4560);
I hope this helps.
Thanks,
Yutaka Emura
KeymasterI will certainly think about that in the future.
Thanks,
September 6, 2016 at 11:30 pm in reply to: How to get the number of the last VISIBLE (filter-wise) line number in document? #21032Yutaka Emura
KeymasterHello LifeTimer,
The following macro should get the number of visible lines.
n = document.GetLines( eeGetLineView );
Can you please try and let me know if you have further questions?
Yutaka Emura
KeymasterHello JohnQSmith,
You are right. I will update the color themes.
Thanks!
Yutaka Emura
KeymasterHello sky,
I reproduced the issue, and it will be fixed on the next version.
Thanks,
Yutaka Emura
KeymasterTo delete blank lines, I would bookmark all regular expressions:
^$
(use “Bookmark All” button in the Find dialog box)
and then use the Delete Bookmarked Lines command.
If you have enough physical memory in your PC, and if you need to replace many multi-line text (combine lines or split lines), you might want to try clearing the Use Temporary File to Reduce Memory Usage check box in the Advanced tab of the Customize dialog box.
Thanks,
Yutaka Emura
KeymasterHello,
I am not sure if it is called a bug, but I will think about that in future versions.
Thanks,Yutaka Emura
KeymasterHello,
These plug-ins uses certain Windows API functions to do these conversion. You can download the source code from our library, and customize the plug-ins as you wish.
Thanks,
August 5, 2016 at 12:06 pm in reply to: Bug in regular expression find, both in green-coloring and actual finding #21005Yutaka Emura
KeymasterHello,
I understand what you mean. However, the current behavior of EmEditor is correct. The hidden line is only HIDDEN, and not DELETED. Therefore, when you do a search, EmEditor will do the search according to the real text. EmEditor will only skip hidden lines if the search term doesn’t begin with the visible lines, but once the visible portion matches, EmEditor will check the hidden text. If you really want to delete those lines, you should extract filtered text into another document (You can use the Extract All button in the Filter toolbar). The logic is similar to hidden text by Outline Guide. It is also similar to the result of “Compare” commands. After comparison, some lines are separated by blank lines, but the search will not consider them real blank lines.
If this contradicts any other behaviors of EmEditor, please let me know.
Thank you,
Yutaka Emura
KeymasterHi Paul,
I reproduced this issue, and it will be fixed on the next version.
Thanks!
July 26, 2016 at 6:33 pm in reply to: Bug in regular expression find, both in green-coloring and actual finding #20996Yutaka Emura
KeymasterYes, I try EmEditor use very little memory per line, and one flag per line is very significant increase.
I am not sure if I understand your question about filtering. If this is a bug, can you please write a simple test case so that I can reproduce the issue.
Thank you,
July 25, 2016 at 9:03 pm in reply to: Bug in regular expression find, both in green-coloring and actual finding #20992Yutaka Emura
KeymasterHello,
In order to highlight multi-line search terms, EmEditor will need additional flags for each line, which increases memory usage. It also increases the computation time, and slows down the EmEditor speed. Therefore, EmEditor does not highlight multi-line search terms, and it has been this way for many years.
I understand the filtering out means. Thanks for clarification.
Yutaka Emura
KeymasterHello,
You can use:
document.selection.GetActivePointX( eePosCell );
Thanks,
July 22, 2016 at 9:55 am in reply to: Bug in regular expression find, both in green-coloring and actual finding #20987Yutaka Emura
KeymasterHello,
EmEditor will not highlight (green) if the highlight word contains a newline. The Filter feature will not search for a newline.
I hope this clarifies your question. Please let me know if you can’t really find any regular expressions.
Thanks,
July 7, 2016 at 11:14 am in reply to: Escaped single and double quotes "\"" and '\'' problems #20976Yutaka Emura
KeymasterHello jic,
I understood.
Please make sure a backslash (\) is specified in the Escape Character text box in the Highlight (2) tab of configuration properties.Thanks,
Yutaka Emura
KeymasterHello LTT,
I will look into these issues. There are no macro functions available for markers.
Thanks!
July 6, 2016 at 11:52 am in reply to: Escaped single and double quotes "\"" and '\'' problems #20971Yutaka Emura
KeymasterHello,
Can you please explain what the problem is? Is this about CSV documents, or highlighting problems?
July 5, 2016 at 10:04 am in reply to: Sort by multiple colums not working when cell selection mode is disabled. #20969Yutaka Emura
KeymasterI received your email, and finally reproduced the issue. You will have to de-select any selections before you try to sort, otherwise, EmEditor will try to sort only the selection. If only one line is selected, EmEditor will try to sort only one line, which doesn’t make sense. Therefore, I will disable the selection sort if only one line is selected on the next version, and this behavior will not happen anymore.
Thanks!
July 5, 2016 at 8:51 am in reply to: Sort by multiple colums not working when cell selection mode is disabled. #20967Yutaka Emura
KeymasterHello,
I can’t reproduce the problem. Does the “Sort by Multiple Columns” dialog box appear when you click on the “Sort by Multiple Columns” button on the CSV/Sort toolbar?
Yutaka Emura
KeymasterHello,
I am sorry, but you can’t change the order of files with a folder of the Project plug-in.
Yutaka Emura
KeymasterHello,
I wrote a macro that just that for you:
iColumn = document.selection.GetActivePointX( eePosCell ); nLines = document.GetLines(); if( document.GetLine( nLines ) == "" ) nLines--; sText = ""; for( y = 1; y <= nLines; y++ ) { sText += document.GetCell( y, iColumn, eeCellIncludeNone ) + "\r\n"; } clipboardData.setData("Text", sText );
Yutaka Emura
KeymasterYou can’t specify a text qualifier, it is always double-quotes.
The new cell toolbar will show you the content of the selected cell without double-quotes.Thanks!
Yutaka Emura
KeymasterHello KamilZ,
This is the correct behavior. If multiple lines are selected, the Tab key behaves as the “Indent”.
If you really want the Tab behaves as inserting the Tab, you can write a macro:
document.selection.Text="\x09";
and assign this macro as the Tab key.
June 23, 2016 at 4:01 pm in reply to: External Tools > Input "Document" adds extra garbage at the end of input #20942Yutaka Emura
KeymasterHello,
Some old programs need the EOF character (0x1a), and I believe some users asked for it. I will change the name of the check box and also explain it in the Help.
Thanks,
- AuthorPosts