Forum Replies Created
-
AuthorPosts
-
Yutaka Emura
Keymasteryaot wrote:
Thank you very much for your apply;
I am sorry that I had not made me understood by you;I describe it again in details.
I use the exgex expression “on|off|yes|no|…” (the sign “…” indicates that the alternative number may count up to 100) to call the function “FindInFiles”, then when the search result displays, as you know the highlighted text may differ from each line, but how can I get the highlighted text in each line through macro.please help me, thank you very much
I think the only way is to search for “on|off|yes|no|…” in the FindInFiles results.
Yutaka Emura
Keymasteryaot wrote:
(1) I use the regex expression “on|off” to call the function “FindInFiles” to do the search.
(2) In the result, all the lines in the document which contain the word “on” or “off” would be displayed and highlighted.
This is my problem: how I can know which keyword (“on” or “off”) is highlighted in each line;
In other words, how I can get the highlighted text in the each line.
please help me, thank you very muchFirst increase “Search Colors” in the Display tab of configuration Properties to 2, and change “Search String (2)” to a different color.
After you search for “on|off”, in the search results, you will need to find “on” first, and then “off” next time.Yutaka Emura
KeymasterToadLoadin wrote:
What has been changed in this version?It was a minor bug fix:
– Multiple-line comment coloring bug.
It will be again fixed on RC6.Yutaka Emura
KeymasterAlso check “Highlight Matching Parentheses/Brackets” in the Hightlight(2) tab of configuration properties.
Yutaka Emura
KeymasterThis will be fixed on RC3. Thanks!
Yutaka Emura
KeymasterThanks! I will fix that in RC2.
Yutaka Emura
Keymasterdeepbirch wrote:
Emeditor’s macro is very powerful!
Thanks in anyway.
I have one question.
I don’t know how to apply macro to all files within folder.
So I always have to do 70times for applying macro to files what I have to change.
I know the macro “Replace in files”. But some time this is not proper for my job.
Are there any way to Run Macro on all files within folder?After you open all files within a folder with EmEditor, do something like this:
docs = new Enumerator( editor.Documents );
for( ; !docs.atEnd(); docs.moveNext() ){
doc = docs.item();
doc.Activate();
// do something with doc
}
Yutaka Emura
KeymasterToadLoadin wrote:
I think current line indicator should go through the returns and EOF character and stretch to the end of window, and it works that way in most cases. But it can not go through these characters and shrinks into a section in line comments, or when the highlight keyword setting includes “Highlight Right All”.
Please check demo here (Flash swf file): http://www.box.net/shared/0uvushe4oc :-DI have fixed this issue for the next minor version. Thanks!
Yutaka Emura
KeymasterI reproduced your issue. If you choose Sun-EXTB font in EmEditor, then all Extension B fonts will be properly displayed.
Yutaka Emura
KeymasterYou are right! I have reproduced this bug, and have already fixed it for the next minor version. Thanks!
Yutaka Emura
KeymasterToadLoadin wrote:
1. While Importing all personal settings from a Reg file, multi-toolbar seetings can not be retained, i.e. while backuped my previous Emeditor settings into a Reg file, which has more than one toolbar, importing this setting to a newly installed Emeditor only retain the appearance of the first toolbar, other toolbars I’ve customized previously just got disappeared, so I must recustomize them again. :-(2. Exporting & Importing color schemes can not retain the extact font style, all font styles become “Normal”, i.e. while in a color scheme some keyword highlights or URL/Email links have set to be bold or italic or underlined, exporting it into a eetheme file then importing that to another Emeditor installation, all the bold or italic or underlined font style got disappeared. :-(
1. Thanks for reporting the bug. I have fixed it by the next minor versions. Meanwhile, you can double click the .REG file before lauching EmEditor to import the new settings.
2. I could not reproduce the problem. I think you will need to save the theme by selecting “Save” in the menu when you click “>” by the theme name so that, for instance, “EmEditor Classic (modified)” should be displayed as “EmEditor Classic”. Then if you click Export or Export All, the theme you have just modified and saved will be exported to a file. I know it is a little complicated and might need some improvement here.
Yutaka Emura
Keymasternoespam wrote:
It seems all Windows editors are pretty much equivalent to each other. EmEditor doesn’t really stand out from say Notepad2 or Programmer’s Notepad and those are free. I can mention probably mention a dozen more that do roughly the same thing.What EmEditor needs:
1) Snippets a la TextMate, IntelliJ, Visual Studio.
2) Real column editing like Textmate, UltraEdit.
3) Ability to use a shell consoles like Textmate (Powershell would be nice).I consider those features. Thanks!
Yutaka Emura
Keymastergarret wrote:
About the only thing missing from EmEditor is a good table of Unicode characters. Can we get one of those, please? (The hidden-away advanced insert dialog is practically useless.)It’s inconvenient for me to have UniPad open in another window just so I can use its Unicode table to copy-and-paste.
Thanks,
Garret
I will consider that as a plug-in. Thanks!
Yutaka Emura
Keymastergarret wrote:
OK, this should be easier than it is.My default encoding for new text files is coming up as “Western European”. How can I get this to default to UTF-8? (I had thought I did this already.) I’ve searched for about three minutes—too long!
Configuration Properties > File tab > New Files button > Encoding.
Yutaka Emura
Keymasterdeepbirch wrote:
In emeditor jscript macro, How can I select A from B. A and B is the word I want to found.
belowed text I want to select from A to B
ex) dfdefdsfesdfefsdfesdfef A dfesdfefsdfdfesdfefsdf
sdfesxdfewdfsfss dfesdfesdfesdfesdfsesdfesdf
sdfedefefsfesfsefdsffesdfefsdfefsfsdfedsfsefsdfsefsdf
sdfesdfe B dfdf efdfe
document.selection.StartOfDocument(false);
document.selection.Find("A",eeFindNext | eeFindReplaceCase);
document.selection.CharLeft(false,1);
editor.ExecuteCommandByID(4153);
document.selection.Find("B",eeFindNext | eeFindReplaceCase);
Yutaka Emura
KeymasterRight! Thanks for reporting 79 characters bug. :-)
Yutaka Emura
KeymasterSince this is suggestion forum, I will not comment on every opinion, but here are some suggestions:
* Do not exit EmEditor when last document is closed.
Check “Do Not Close Last Document by Selecting Close Command” on the Window tab of the Customize dialog box.
* BUG: When editing the properties of the Hyperlink HTML buttons, where it says “Insert Tags” and “Begin:”, if you attempt to edit the text there (““) the text is TRUNCATED.
You have to scroll right to edit the whole text here.
* Option to disable use of the “Find Highlight” for the “Find Next” hotkey, while still having it enabled for the “Find” command that shows the Find window. So Find window shows the find highlight, but “find next” hotkey does not.
If you do not want to highlight found text at all, you can set “0” in the Search Colors in the Display tab of Configuration Properties.
Thanks for your comments. I am sure some of your inputs will be reflected in next major version.
Yutaka Emura
KeymasterAnt wrote:
Have you any plans to add Escaped Unicode as an additional Encoding format to Read from and Save to?It would be very useful for Java applications in non english languages.
Thanks,
Anthony.Have you tried Decode/Encode Unicode plug-ins? :
/modules/mydownloads/singlefile.php?cid=4&lid=134
/modules/mydownloads/singlefile.php?cid=4&lid=137I understand it would be more useful if these conversions are integrated to the EmEditor core. I might consider those feature in future versions. Thanks!
June 23, 2008 at 10:52 pm in reply to: AutoComplete plugin – Please make it closer to the "snippet" function in Visual Studio #5943Yutaka Emura
KeymasterI will consider that in future. Thanks!
Yutaka Emura
Keymastervisitor wrote:
Oh, sure! I forgot to check “Add a Unicode Signature (BOM)”.But this check box was unchecked by default. Could you change this behavior?
I think Unicode BOM should be used almost in all cases. Notepad does. ;-)And why there is difference between Windows Vista and 2000/XP:
check box in 2000/XP and dropdown selection in Vista?I think BOM is not generally used for UTF-8, and used for UTF-16. That’s why I should include with/without BOM in the Drop-down list for newer versions. Windows Vista uses the new styles for open/save, and there was not enough space for checkboxes, so I redesigned the way. I just did not want to make changes to the old styles.
Yutaka Emura
KeymasterOK. No problem. Thanks!
Yutaka Emura
KeymasterFlint wrote:
1. Customized the Esc key for Close action.
2. Press Alt+F to open the File menu.
3. Press Esc to close the menu -> submenu closes, but the main menu bar itself remains active and has “File” item highlighted. This is normal, standard behaviour.
4. Press Esc again to move focus away from menu and back to EmEditor main window -> the EmEditor closes the document instead!So, there is almost no way one can return from the menu to text editing using only keyboard. Actually, I found two variants, but both are inconvenient (the first is to execute some menu command — e.g. Open…, and then press Esc to close the dialog; the second is to use Alt for exiting main menu — but after I press Alt the menu still remains active, though the highlighting disappears, and I have to press Alt one more time).
I will consider this in future versions. Thanks!
Yutaka Emura
Keymaster7.01 RC1 is not available any more. I wanted you to try 7.01 RC1 before 7.01 was released so that we can make sure 7.01 would not contain any bugs. I will think about your suggestions in future versions.
Yutaka Emura
Keymastervisitor wrote:
1. Open a file in the “System Default” encoding.
2. Save it to the “UTF-16 LE” encoding (Save As…)
3. Close it and open it again.
4. EmEditor reports “Null characters (00H) contained in the file will be replaced with spaces”.I found it is because of missing Unicode BOM (byte order mark) at the beginning of the file. :-?
Meanwhile, if you create a new file and save it to the “UTF-16 LE” then Unicode BOM is appended.When you save, you need to make sure “with Signature (BOM)” is selected. This selection is different in Windows Vista from XP/2000. Which OS are you using? If you are using XP/2000, there is a separate check box that you will need to check. In Windows Vista, the drop-down list box contains both “UTF-16LE with Signature” and “UTF-16LE without Signature”.
Yutaka Emura
KeymasterWhy didn’t you try RC1?
-
AuthorPosts