Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymastershx wrote:
I am evaluating the editor to see if it will meet my needs.One very important feature is auto complete.
I am having a problem using the autocomplete function using the VBS eac file.
I downloaded and installed everything and followed the instruction to assign a hotkey to the function.
However when I press the key it isn’t auto completeting the statement. It just puts in a blank space.
Thanks
Thanks for evaluating EmEditor! To use Auto Complete plug-in, you might want to assign a space key to the Auto Complete plug-in. In that way, if you press SPACE after a trigger text, you will see the auto complete working. The next major version will be improved for its Snippets plug-in to include dynamic auto complete features, so you might want to try a beta version as soon as it becomes available.
Yutaka Emura
Keymastercccmville wrote:
Hello. I would like to know if EmEditor can read/convert odt files so that they may be read? They are xml files I think. I am not very knowlegable about this. Thank you for your help.
Sincerely, cccmvilleI don’t know that specific file, but you can open any XML or text files with EmEditor. I don’t know how you want to convert that file.
February 16, 2009 at 9:32 pm in reply to: Can anyone help me: Need a plugin – duplicate selection as specified times?? #6917Yutaka Emura
KeymasterDavid wrote:
Can anyone help me?
I need a plugin to duplicate selection as specified times. I only have poor knowledge about javascript.Before this, I create a macro as the following:
sCount = prompt( “Enter the times of duplication:”, “5” );
if( sCount == “” )
{
Quit();
}for(var i=0;i<sCount;i++)
{
document.selection.DuplicateLine();
}
This macro can’t work as my expection. When 2 rows are selected and enter “3” for times. 40 rows, instead of required 6 rows are generated.
Thanks in advance.I changed a little bit.
sCount = prompt( "Enter the times of duplication:", "5" );
if( sCount == "" )
{
Quit();
}
s2 = "";
s = document.selection.Text;
for(var i=0;i<sCount;i++)
{
s2 += s;
}
document.selection.Text = s2;
February 12, 2009 at 6:19 pm in reply to: suggestion: disable error on startup when file is not found #6914Yutaka Emura
Keymastermikez302 wrote:
I have another suggestion. I noticed that when EmEditor starts up, it tries to open the files I had open the last time. This is usually a good thing, but frequently I work with files on a network drive. If I close EmEditor when I have a bunch of files open, then start it back up when I’m not connected, it will tell me that all the files were not found, one at a time: There will be a dialog saying something like “Y:index.html is not found”, then “Y:contact.php is not found”, etc. If there are a lot of files, it will be somewhat tedious to read each of the dialogs and click OK on them, so after about the 5th or so, I will repeatedly click the OK button quickly to get rid of them.The thing that really catches me off-guard is that after the last “file not found” dialog box, another one comes up saying “Do you want to erase the current workspace?” with the “Yes” button in the exact same place as the OK button on the previous dialogs, so I will click that accidentally and erase my workspace.
I noticed that this problem is not specific to files on a network. You can test it by creating some files, saving them, quitting the editor, deleting the files, and starting the editor again.
Is there any way to disable these dialogs, or to only have one dialog telling me all the files that aren’t found, rather than one for each file? Thank you.
I will try to add “Apply All” check box on this prompt dialog box. Thank you very much for your input!
Yutaka Emura
Keymasternickb wrote:
When I save a file as html I see  on top of the page. What does this mean?Thx!
That is a Unicode signature for UTF-8 file. When you save a file, you should select UTF-8 (without Unicode signature).
Yutaka Emura
Keymasterhotribao wrote:
Hello,I cannot see any free version in this site. But I found a free version here: http://www.softpedia.com/get/Office-tools/Text-editors/EmEditor-Free.shtml
Is it the official free version of EmEditor?
Thanks,
Bao.I think it is a legitimate site. But I don’t now why you still want to use the old free version.
Our test results show that the latest version of EmEditor Professional launches much faster than the old free version, and the Professional version can handle very large files, supports macros, plug-ins, and many more features. I really recommend you to try EmEditor Professional first.Yutaka Emura
Keymasteremuser1 wrote:
I really test the macro, same version emeditor, same script.
Winxp sp2 Can Run. But On Windows Vista Home Premium SP1 Can’t Run (Error: object requireed: ‘document’ )
Both JS/VB Same Error.Pls test and fix
Thanks.
This is probably the install issue. Which language version of EmEditor did you download (English, Traditional Chinese, Simplified Chinese)? Where did you download from? Are you using INI settings or the Registry?
Yutaka Emura
Keymasteremuser1 wrote:
Yes, Let User Choice Is Better.Since Emeditor 8.01 , Open And Close Program Very Slow On Flash Driver. I Test Many Kinds And Times,
Emeditor 8.00 Very Fast Compare To 8.01 And 8.02.
I Don’t Why ? Many A Ini Functions Change Since 8.01 ?
I Tested The ‘Slow Problem’ Is Read And Write Ini File.
Hope Test, Check And Fix.Also, I Found Your Website, Most Macro Files Can’t Run On Emeditor 8.XX, Many Error Code. I Also, Try Used Macro Funtion “editor.ExecuteCommandByID(4413);”
Fix The ‘Collapses Case’. But, I Can’t Do it(Editor Error Code 28). Can U Tell Me How To Write This Macro ?Thanks.
I couldn’t reproduce both your issues.
“editor.ExecuteCommandByID(4413);” works just fine. I didn’t see the error code 28 even when using INI files. You might need to reinstall EmEditor.
Yutaka Emura
KeymasterPancho wrote:
You should be able to do this by using the Find method (of the Selection object) with eeFindReplaceOpenDoc parameter to search all open documents.
I do not want search to all open documents, only active(current document)
How to get all text document in Selection object ?
document.selection.SelectAll();
str = document.selection.text;right ? As without the allocation of the entire text (like Ctrl+A) ?
If you just want to search for selected text (or a word if not selected), how about pressing CTRL + F3? To do this with a macro, you can use:
document.selection.FindRepeat(eeFindRepeatNext | eeFindRepeatWord);
Yutaka Emura
KeymasterPancho wrote:
Hello
I need go and Highlight function by name.
1. Select text : ‘HLfunc’
2. run Macro
3. go to line which contains ‘function HLfunc ‘Help or advice please
I tried example:
wnd = FindWindow( "EmEditorView", "" );
str = wnd.Caption;
name = document.selection.Text;
pat = 'tions+'+name;
rgx = new RegExp(pat,'i');
results = str.search(rgx);
alert( 'pat: '+pat+"nresults: "+ results);
//function HLfuncYou should be able to do this by using the Find method (of the Selection object) with eeFindReplaceOpenDoc parameter to search all open documents.
Alternatively, you can use the Projects plug-in to enable symbol list, and press F12 to jump to the definition of a symbol at the cursor.
Yutaka Emura
Keymasteremuser1 wrote:
Hi,
I Created The Outline File With {} Format.
When I Reopen The Outline File, Allway Is ‘Expand All’ Status.Can I Default By Allway ‘collapse all’ Status, when i reopen the outline format text file ?
Such as this:
+.{Testing 1 […]
+.{Testing 2 […]
+.{Testing 3 […]Thanks
No. Is this something you want to have as a new feature in the future?
Yutaka Emura
KeymasterMgccl wrote:
Can emeditor always use the encoding the file is most likely using when opening a file? When there is a 100\% confidence on the encoding of the file, why should the user change their encoding each time they open the file?This is a great product btw… I totally recommend people using it.
Not when 100\% conficence, but when there is only one choice, this dialog box will not appear if you check “Show Only when Multiple Encodings Detected” check box in the File tab of the Customize dialog box. I hope this helps.
Yutaka Emura
Keymasterwreck wrote:
I am trying to create a macro using FIndInFiles, but can’t see how to specify the search string without editing the macro.Searching a set of folders with Shift JIS files on English XP means setting the encoding each time, which I would like to avoid.
Record Macro doesn’t seem to work, as when a new window opens there is no SaveAs option, it seems.
The Help says MsgBox is not allowed, and there is nothing about InputBox or an equivalent.
FindInFiles doesn’t seem to work with ‘document.selection.’
Is it possible to select text in an EMEditor window, assign that to a variable, then use that variable as the search string in FindInFiles method, all in one macro?
Or is there some other solution?
Thanks!
MsgBox is not available, but there are equivalent methods like alert() and comfirm(). prompt() is similiar to InputBox(). FindInFiles can use parameters and document.selection.Text can be used as a parameter.
February 4, 2009 at 7:33 pm in reply to: Projects plugin – one more subargument to get file name #6887Yutaka Emura
Keymasterspectre wrote:
Thank you for the clarification.I probably did not explain my point right. Let’s consider a following example.
Assume we have a solution, say, D:xworksamplesmy_solution.eesln
$(Solution) gives
D:xworksamplesmy_solution.eesln
as it should.I tried $(Solution,f) and it gave
D:xworksamplesmy_solutionBut what I would like to have is just
my_solutionThat is, just file name, no path.
I mostly need this to construct the paths like the following:
D:xworksamplesdebugmy_solution.smth
( $(Solution,d)debug$(Solution,).smth )You are right. It was a bug in the Projects plug-in. I will fix this issue before the next release. Thank you.
Yutaka Emura
KeymasterWatchUer wrote:
I’ve set in the option to use space instead of tab when pressing TAB. But in column mode(Ctrl + Shift + F8), when select multiple lines and press TAB, it enters tab not space. I think it should follow the optino to enter space.I reproduced your issue, but this is rather a specification now. I will address this issue in future versions. Thank you!
February 3, 2009 at 6:46 pm in reply to: Projects plugin – one more subargument to get file name #6883Yutaka Emura
Keymasterspectre wrote:
I would like to make a suggestion to enhance Projects plugin.Currently, a predefined argument of a tool (like $(Solution) or $(Project)) can also have one of 3 subarguments (‘f’, ‘d’, ‘x’). This allows to get the full path, the directory or the extension of the corresponding file, respectively.
I would suggest to add one more subargument, say, ‘n’, to get only the name of that file (without extension). This can be very convenient. It is not quite rare that the application built in a project has the same name as the project file. To provide custom tools to execute or debug the application from EmEditor, one needs to extract the respective name.
Or assume one has created a solution template for Qt applications. It seems reasonable to give the same name as for the solution to some of Qt specific files – Qt project (.pro) file and may be others.
Of course, there are ways to get around this like passing the full path to a .cmd-script or some program to extract the file name there. But having to write just $(Solution,n) would probably be much more convenient.
I am sorry, but there was a mistake in the Help file. ‘f’ desginates the file name (without extension). I will correct the information in the Help. Thank you!
February 2, 2009 at 7:24 pm in reply to: EmEditor Professional Traditional Chinese Version loss something information in windows registry #6880Yutaka Emura
KeymasterYou are right. I will fix that in future versions.
Meanwhile, instead of changing the Registry directly, after you install EmEditor, please go to the Customize on the Tools menu, select Shortcuts tab, and then click “More Shortcuts”, and then check “Add a Shortcut to the Context Menu on Explorer”.Yutaka Emura
Keymastermikez302 wrote:
I am using the command prompt window. I don’t like the output bar because I can’t see any of the output until the program is finished running, which can be a problem for big operations.I am now curious: if it is not possible to keep the command prompt window open, is there some way to make the output window show the output while the program is running, instead of waiting until it finishes?
If you use the Command Prompt window, you can run cmd.exe with /k option. See examples:
http://www.emeditor.com/help/faq/tools/tools_external.htm
(Compile by Visual C++)The Output Bar should open as soon as you run external commands. Did you try the Output Bar open before you run the tool (View menu > Output).
Yutaka Emura
Keymastermikez302 wrote:
I have another question. If I have a user tool, is there any way to keep the window open after it finishes running so I can see the result?Thank you,
EliasAre you using the Output Bar or Command Prompt window? If you use the Output Bar, the result remains until you close the Output Bar.
Yutaka Emura
Keymastermikez302 wrote:
I did that. How do I open the new window?You can open a new window by double-clicking the Tray Icon or selecting EmEditor shortcut on your Start Menu.
Yutaka Emura
Keymastermikez302 wrote:
When I pick the “New Group” command, my open document moves to the new window. Is there any way to open a new window without any documents in it? I would like to open the window first, then load the documents, similar to how I can in other editors.Yes. Select Customize on the Tools menu, select “Tab” tab, and select “New Window” in the “Open In” drop-down list.
Yutaka Emura
Keymastermikez302 wrote:
Thank you. I didn’t notice that I could drag the tab outside of the window. That is good enough for me, but I would still prefer to have some sort of “new window” menu command. Is there any way of adding it?It is called “New Group” in the tab menu.
:-)Yutaka Emura
Keymastermikez302 wrote:
I am trying EmEditor, and overall I like it, but I have a question. Suppose I would like to have some documents open in one window, and some others open in another. How can I open a new window?Thank you,
EliasYou can drag and drop one tab to outside of the window. Alternatively, you can uncheck “Enable Tabs” on the Window menu.
Yutaka Emura
Keymasterdanderson wrote:
I just installed EmEditor on a Windows 7 beta (64 bit) machine. I noticed that the the drop target line that appears when dragging text stops moving shortly after I start to drag a selection of text. I would guess this issue is probably specific to Windows 7, but I thought I would post the issue in case it affects 64 bit Vista as well or if it can easily be fixed :)I couldn’t reproduce your issue even though I am using the 32-bit Windows 7 beta in a Virtual PC. The gray vertical rectangular caret still appears and moves when I am trying to drag and drop text.
Yutaka Emura
KeymasterObkot wrote:
When editing large plain text file (~600 MB):
1. Select ~50\% of text from the begining of file
2. Press ‘Del’
3. ‘Copying to undo buffer’ dialog appears
4. When progress indicator reaches 100\% program crashes. ;(If undo process was manually aborted EmEditor works fine.
Which version did you use? Did you try the latest RC of 8.02?
- AuthorPosts