Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymasterkenny wrote:
OK, I can see how I could get this working, but it’s not calling one of the configured external tools [i.e. tools menu -> external tools].This is still OK, but can I capture the output of WshShell.Run( “app.exe”, sCmdline ); ?
How about this?
sCmdline = prompt( "Command line: ", "" )
var wsh = new ActiveXObject("WScript.Shell");
wExec = wsh.Exec("app.exe " + sCmdline);
OutputBar.Visible = true;
OutputBar.SetFocus();
OutputBar.writeln("--------");
OutputBar.write(wExec.StdOut.ReadAll());
OutputBar.write(wExec.StdErr.ReadAll());
Yutaka Emura
Keymasterkenny wrote:
For this purpose, you will need to write a macro. External Tools currently cannot include a user interface to input parameters.
Thanks for the reply, but what I’m asking is how to write this macro. I can see hpow to execute an external tool from a macro, but I can’t see how to pass parameters to it in a macro.
You would write something like this:
WshShell = new ActiveXObject( "WScript.Shell" );
sCmdline = prompt( "Command line: ", "" )
WshShell.Run( "app.exe", sCmdline );
Yutaka Emura
Keymasterpetx wrote:
I like auto-completing brackets/quotation marks.What I don’t like is when I select a text block and input a quotation mark, the quotation marks would automatically surround the selected text instead of replacing them.
It becomes a problem when using together with snippets where we use ‘tab’ key to switch between input focuses. In each focus, the text would be pre-selected. And if we enter a quotation mark, a pair of them would automatically surround the pre-selected text instead of replacing them.
I will have the next version disable the auto-complete bracket feature while a snippet is active (while the cursor is actively at any placeholder position). Thanks!
Yutaka Emura
Keymasterpetx wrote:
This release is getting better and better. Thank you for your wonderful work.One minor problem I encountered (not sure if it is feature or not) is that: when I select something, if I click a character such as quotation mark, parenthesis, the whole selected string will be enclosed by the newly insert character pair. I would expect the selected string is REPLACED by the character I just entered. This is particularly annoying when we use snippet feature and switch input focuses.
This is one of new features of v9, but you can disable by unchecking “Auto-Complete Brackets/Quotation Marks” in the Highlight (2) tab of configuration properties.
Yutaka Emura
Keymasterkenny wrote:
I can’t see how do do this, but is it possible to write a macro to execute an external tool with prompts for the parameters prior to execution?Specifically, I want to execute the osql command line tool passing the current file path/name [no problem here]. But I also want to prompt for the server and database parameters.
Any thoughts?
For this purpose, you will need to write a macro. External Tools currently cannot include a user interface to input parameters.
Yutaka Emura
Keymasterrobben wrote:
I did try to “reset all” in the “Import/Export” in the context menu.
The bug in Javascript->Get Element snippet.I fixed this on alpha 18. Thanks!
Whether does here look like e-texteditor to present the sequence quick key?
You will just need to change the macro for doctype. I will change the default snippets in future versions.
Yutaka Emura
KeymasterMike wrote:
It doesn’t work unless the normal version is installed. I uninstalled the normal none portable version and the portable could not run any java script. I reinstalled the normal version and the javascript vorked. I tried this twice, same result.EmEditor 8.05 and Vista SP2, v.113 was used.
I tesetd EmEditor portable version 8.05 on Vista SP1 (32-bit), but there was no problem. Do you have a limited account? Are there any security settings turned on or any anti-virus program running on your machine?
Yutaka Emura
KeymasterMike wrote:
Using ctrl+tab switches between tabs in some kind of last used order. I want to switch to the left or right as they are appear in the tabs.Also I have added alt+left/right as keyboard shortcut but that only switches between two documents.
Please read this:
http://www.emeditor.com/modules/xoopsfaq/index.php?cat_id=9#q102
“Is there a way to make EmEditor move through document tabs in sequential order from left to right?”Yutaka Emura
Keymastermwcd wrote:
Macro toolbar and Tools toolbar can come on automatically every time I run EmEditor, but HTML toolbar will disappear when I leave and run EmEditor again.
How can I make it stay?OK. I think there is a bug that even if you uncheck “Automatically display the HTML Bar for selected configurations” in the plug-in properties, it will not remember when you run EmEditor again. However, to work around this, you can check all configurations in the list of the HTMLBar properties while “Automatically display the HTML Bar for selected configurations” is checked.
Yutaka Emura
Keymastershx wrote:
The snippets version 9 is exciting and looks great.Does it have a facility that would let me create snippets in a batch process, similar to the auto complete plug-in., instead of doing them one by one manually?
Is there some sort of a template?
thank you
I am not exactly sure what you want to do, but maybe you can export one or more snippets, and open that snippet XML file (*.eesnip). Then you can copy and paste snippets and import again.
May 6, 2009 at 6:06 am in reply to: How can I find out what font is really being used to display my file? #7257Yutaka Emura
KeymasterKlortho wrote:
Hi,
This question is really driving me crazy, not because the information is particularly useful, but just because I *need to know*! Do you know what I mean?I have a file that has some very obscure unicode characters in it – from the “Yi Syllables” block. I also pasted some regular Chinese characters into it to. The amazing thing is that it seems to be displaying correctly. Here are the contents (I doubt they’ll show up correctly here):
U+A000 ꀀ YI SYLLABLE IT
你好你好
ꀂꀃꀄ
I checked with BabelMap, and the only font on my system that has the Yi Syllables is Microsoft Yi Baiti, and it doesn’t have any regular Chinese characters. So that means that at least two fonts are being used in the display of EmEditor at once. How does this work? It doesn’t seem to matter what “Font Category” or “Font” I select.I really would like to understand more about how these “Font” and “Font Category” options work, and how they interact with the display fonts, and how they depend on the actual characters in the file. Is there anywhere in the documentation or help files where this is written up in detail?
Thanks!
It is Windows feature called Font-Link or something like that, and it is not the feature of EmEditor. You can find the information about font-linking in Windows related or Microsoft website. In order to find the exact code value of each character in EmEditor, press CTRL + I where the cursor is at the left side of the character you want to inspect.
Yutaka Emura
Keymasterbanita wrote:
“int” and “__property” has checked only Whole word only and Match case. if I remove “__property” word everything is correct.EDIT
I reset configuration and now everything works fine. sory for problem.
I cannot reproduce this problem. But I am glad you have resolved the issue.
May 6, 2009 at 1:43 am in reply to: Can one change the color of the cursor (and make it a block)? #7255Yutaka Emura
Keymasterurlwolf wrote:
Can one change the color of the cursor (and make it a block)? ThanksUnfortunately, you cannot change the color of the cursor. However, you can change the thickness of the cursor. Please read:
http://www.emeditor.com/modules/xoopsfaq/index.php?cat_id=5#q52
May 5, 2009 at 11:42 pm in reply to: I know emeditor uses ctags. I've added ctags support for a new language. How do I use it w/emEditor? #7254Yutaka Emura
Keymasterurlwolf wrote:
oh, that’s very dissapointing.
I have the feeling I don’t understand how emeditor works them.
Bummer. I use languages that are not supported.I will make sure to support unknown languages in v9. Thanks!
Yutaka Emura
Keymasterrobben wrote:
I know autoomatically recognizes CSS and Script parts in HTML,but Snippets plug-ins must re-select a Configuration to use :-PThe new snippets plug-in will become aware of CSS and Script parts in HTML in v9. Thanks for clarification!
Yutaka Emura
Keymasterrobben wrote:
I edit the html file, when the document into the html part of the css,Can automatically switch CSS Configuration?EmEditor autoomatically recognizes CSS and Script parts in HTML. See screenshots in http://www.emeditor.com/modules/feature1/rewrite/tc_4.html
Yutaka Emura
Keymasterbanita wrote:
I write in C++Builder. There is the mian word “__property”.
I add this word to higlight words list. Now I have incorrect highlight.I guess the Highlight Right Side or Highlight Right All checkbox is checked for the keyword __property or int. Please check the Highlight (1) tab of configuration properties.
Yutaka Emura
Keymasterrobben wrote:
Snippets plug-in bugPlease provice more information. Did you try to “reset all” in the “Import/Export” in the context menu? Which snippet did you choose and what was the content of the snippet?
Yutaka Emura
Keymasterurlwolf wrote:
Christine,I admire emEditor, a lot, so please don’t take this wrong…
I think that progress (in terms of implementing new features here) is really slow.
We saw changes from 8.01 – 8.05 and they are just small bug fixes. This comprehensive list is virtually untouched.EmEditor has a strong competition in editors that have huge communities behind and very responsive devs.
Do you plan to release a good chuck of features from this list in a (major) update?
ThanksI don’t want you to misunderstand this. Minor updates are only for bug fixes only. This is because adding features in minor updates can cause another bug and I want to avoid that kind of risks. It is also because translation (language pack development) will become difficult if new features are added constantly within minor updates). Please join our v9 testing. I am adding many new features to v9, for instance, snippets and other auto-complete features!
Yutaka Emura
Keymasterjinweijie wrote:
Hello Yutaka,i found a problem that when i open the Snippet sidebar and close it, the Snippet functionality won’t work any more. and i open the sidebar again, all snippets are gone. i have to restart emeditor to have Snippet back.
i don’t know whether the problem is a common problem or just happens on my computer.
Thank you for your great work!
To have the Snippets work even when the sidebar is closed, please make sure Run Background option is checked in the General tab of the Snippets Properties.
Yutaka Emura
Keymasterjinweijie wrote:
and one more issue that in my snippets sidebar, i cannot collapse the folders, there are not “plus icons”. which is not the same as the tutorial video.thank you
I confirmed there is something wrong with alpha 16. I will fix this shortly. Thanks!
Yutaka Emura
Keymasterpetx wrote:
Another bug:Change the font size to be different from the default one, say 12. Now modify an open file in another application. After saving, the one opened in emeditor will be prompted for refresh. You will see that the font display changes to the default one (10) after refresh.
This will be fixed in alpha 16. Thanks!
Yutaka Emura
Keymasterlocalizer wrote:
I have a number of .txt files of 20 Mb each. Most of these Mbs are due to the fact that text in each line and in each file is followed by a huge number of white spaces.
I can open each file and do a Search for this
$+?$
Replace with nothing.
This operation shrinks every file down to 2 Mb. But I have to do this manually for every file.When I try this Search and Replace in all files, it is very slow. Doing it manually (open file, search and replace, save, close, open next one) is much faster. How can I improve speed in Replace in files?
Computer hardware is not an issue here – 3.5 Gb RAM, Core 2 Duo.
Thanks!I am not sure why Replace in Files is slower. But if doing it manually is faster, can you try Keep Modified Files Open checked in the Replace in Files dialog?
Yutaka Emura
Keymasterpetx wrote:
I am so excited trying out this nice editor, especially its new snippet feature. Now I can throw away e-editor and fully turn to EmEditor. Thanks.I found a bug with snippet: When I am in an indented position, if I trigger a snippet that spans several lines, the snippet will align to the left border after I complete the first line. Ideally, I would like the snippet keeps its indented position. As an example, in your snippet demo video at around 01:07, you will see the open and close tags are not aligned because of this bug.
Thanks for your comments. I will fix this bug by alpha 16.
Thanks!Yutaka Emura
Keymasterbeernutz wrote:
Hi, i am trying to get macros working, but am seeing a very odd problem.If i RECORD a keyboard macro i can run it right after with no issues.
However, if i SAVE it, then try to run the saved macro i get this error:
‘document’ is undefined
I see this error for any existing macros as well.
I am running 32bit version of 8.05 Portable under Vista x64.
Please advise.
It seems that your computer doesn’t allow scriptable macros running. Maybe, its security level is higher than normal. If possible, you might want to install EmEditor from the installer rather than portable version.
- AuthorPosts