Forum Replies Created
- AuthorPosts
Yutaka Emura
Keymastergreen wrote:
after compile java, when execute, i want to stop the infinite loop, what can i do?e.g.
class Lo
{
public static void main(String[] args)
{
for(int i = 1; i > 0; i++)
{
System.out.println(“hi”);
}
}
}in this case, the loop will print hi nonstop since the condition always fulfill
when execute with command prompt, i can stop it with ctrl_c
but when execute with emeditor, what can i do to stop it?
it doesn’t mean only infinite loop, but how to stop java program during execution with emeditor …thx.
Currently, you will need to end the process from Windows Task Manager. I will research whether EmEditor can send the signal equivalent to Ctrl+C. Thank you!
Yutaka Emura
Keymasterslbuben wrote:
Version 7.02 Pro 64 bitI have a context menu item for “Emeditor”, but nothing happens when I select it. “Open with Emeditor” works, but not “Emeditor”. Double clicking associated files opens them correctly, as well.
I don’t know if the context menu worked properly upon initial installation, or not. Has anyone else reported a problem?
I have tried repairing the software by reinstalling and choosing “repair”, but I have not removed the software completely and reinstalled. I thought before I went that far that I would check to see if it might be a known issue.
Thank you for any help that can be provided !!
I can’t reproduce this issue on my Windows Vista 64-bit machine, but try this: Go to Customize under the Tools menu, select Shortcuts tab, click “More Shortcuts” button, uncheck “Add a shortcut to the Context Menu on Explorer”, click OK. Select “More Shortcuts” button again, check “Add a shortcut to the Context Menu on Explorer”, click OK.
Yutaka Emura
Keymasterlwkyy wrote:
editor.ReplaceInFiles( "<a href=([^<]*)>test</a>", "OK了", "*.html", eeFindReplaceRegExp, eeEncodingSystemDefault, "", "" );
EmEditor Macro Error:
Users operation has been cancelled.Emeditor V7.02
I am sorry but I couldn’t reproduce your issue.
Yutaka Emura
Keymastergreen wrote:
hi all,is there a way to stop an infinite loop when using emeditor to compile java?
thx
What exactly do you mean by infinite loop?
Yutaka Emura
Keymasterdreik wrote:
And is there any chance to revert back to Shift+F4/F4 ‘macros record’/’macros play’ key combination?You can always change shortcuts from Keymap under the Help menu.
Yutaka Emura
KeymasterKalum wrote:
Maybe something odd.When I do a right click for context menu in version 7.50 alpha 8 it show up slowly like it is fading (Version 7.02 is faster)
Is this effect supposes to be in version 7.50?
I don’t see any delay. Do you use any plug-ins or macros associated with any events?
Yutaka Emura
Keymasterjoymonkey wrote:
I use “Tools -> plug-ins -> diff”, when I change width of the “diff window” after diff documents, it’s jump a “Out of Memory” of window, why?I use version: EmEditor Professional 7.50 alpha 8
Thank you ! :-D
This will be fixed on alpha 9. Thanks!
Yutaka Emura
Keymasterpsa1999 wrote:
Thanks..
I want to make VI Editor Emulation Plugin.
But I can’t receive ESC key code.
And I can’t get/set overwrite mode.
Can you help me?You can use EP_PRE_TRANSLATE_MSG message to receive WM_KEYDOWN message with ESC key. In etlframe.h, you will define PreTranslateMessage().
Editor_QueryStatus( hwnd, EEID_INSERT, &bChecked );
can determine Insert or Overwrite mode.August 30, 2008 at 10:13 pm in reply to: DOS/UNIX/MAC file format displayed next to encoding type #6156Yutaka Emura
Keymasterbsmith wrote:
self explanatory really – and highly useful when working in a multi-platform environment.This feature will be included in the next alpha version. Thanks!
Yutaka Emura
Keymasterzhouzh2 wrote:
Please paste the following Strings to a blank file in Emeditor:b this is a line
B works fine until this line
cx oops...Now I want to incert a “Tab” after each “Tab”. So i put the cursor before “this is a line”, hold alt and select to line “oops…”, you may notice Emeditor highlight all the “Tab”s. i hit “Tab” and expecting the result :
b this is a line
B works fine until this line
cx oops...However, I got this:
bt his is a line
Bw orks fine until this line
cx oops...if there is no “cx”, this function works fine.
This will be fixed in the next alpha or beta version. Thanks!
Yutaka Emura
Keymasterzhouzh2 wrote:
I use text editor to collect data.
With emeditor i have to copy something, switch to em and paste then switch back to continue my copying. This is really annoying in some conditions.
Maybe Emeditor can be enhanced in this aspect by builting more clipbord instead of just one, or at least please add support to auto-paste text in windows’s clipbord, so I can continue my data collecting work without having to switch to paste in Emeditor.
Thanks :-)You can do many clipboard functions using macros or plug-ins.
To copy the selection automatically, write a macro:
clipboardData.setData("Text", document.selection.Text);
Then in the Customize Macros dialog, select this macro in the list, check “Runs at Events”, click “Events” button, check “Selection Changed”.
Yutaka Emura
Keymasterzhouzh2 wrote:
would you consider adding these features?3. This is now supported in the recent version of 7.5 alpha. Please try that from the Beta forum. Thanks!
I’m now useing 7.5 alpha 4, which seems not working at all. So which version should i update to? Or some option I need to change?
The most recent version is alpha 8.
Yutaka Emura
Keymasterzhouzh2 wrote:
1. Can I select multiple lines of text in this editor?
for example, select first piece of text, then hold Ctrl to select other pieces of non-consecutive text.2. it seems in “box editer”mode , drag text does not work?
hold “alt” and select some thing, you can’t drag them. While you can do so after normal selecting.3. “tab” not always does what you want
a b
a b
a b
I try to add “tab” before every “b”, so i hold alt and select all the “b”s, then “tab”, what i want was:
a [tab]b
a [tab]b
a [tab]b
but I got:
[tab]a b
[tab]a b
[tab]a b1. No.
2. Correct.
3. This is now supported in the recent version of 7.5 alpha. Please try that from the Beta forum. Thanks!
Yutaka Emura
Keymasterprotovaffe wrote:
In many programs (different web browsers, TotalCmd, Office etc) I can click my mouse wheel to get a scroll icon and move my pointer around to scroll inside the document. I think this really helps when you’re trying to get a quick overview of a document or searching for a certain chunk of code.I wonder if this is something that can and will be implemented in EmEditor?
This is now implemented on Version 7.5 alpha 8.
Yutaka Emura
Keymasterviettuan wrote:
I am trying to compile Assembler Tasm filename.asm and link filename.obj file directly in Emeditor .
However, i can’t find $(FilenameNoExt) in External Tool.
Could anyone explain how to setting in External Tool in detail? Thanks! :-D :-D :-DUse $(Filename). $(Filename) does not add the file extension.
Yutaka Emura
Keymasterowilsky wrote:
Yes, that will help me, as long as I can call that function with ExecuteCommandByID.
Then I can implement a trigger so that I have the behaviour I want.This can then be executed “on group window close”:
if(editor.Documents.Count == 1 && document.Name.length == 0 && document.Saved) {
editor.ExecuteCommandByID(4332); //EEID_SAVE_WORKSPACE_QUIT_ALL
}
EEID_SAVE_WORKSPACE_QUIT_ALL does not work, as you said by design.
Oliver
Use
#define EEID_ERASE_WORKSPACE 4450
for “Erase Workspace” command.
EEID_SAVE_WORKSPACE_QUIT_ALL may not work inside a macro because it must quits EmEditor but it is executing a macro.
Yutaka Emura
Keymasterslbuben wrote:
Yutaka,
The existing 32 bit plugin does pretty much exactly what I need to do. I’m not sure of how the plugin works, but basically I highlight several lines of text and then run the plugin on those lines. It removes any spaces or other characters other than alpha numeric, data, so that all of the alpha numberic is moved to the far left.I use the editor for working with LSP files where opening and closing brackets (parentheses) are indented to match each other. I start out editing existing files by moving everything to the left, and then proceeding to indent down the file, as needed.
Mostly spaces are removed by the plugin, but I believe any tabs or line feeds, etc., at the left of the alpha numeric data are removed, as well. Any of the spaces, tabs, line feeds, etc. within the alpha numeric data, or to the right of it needs to stay, of course.
If you or someone else could write a macro to accomplish this, it would be very much appreciated. (The plugin is used so frequently, that I’m currently taking my text editing home to do it on my 32 bit version of EmEditor, where I have the plugin, rather than attempting to do it at work where the plugin is not available.)
Thank you.
If you want to remove space or tabs in less than 4 or 8 columns in the left side of each lines, I would just press SHIFT + TAB after you select lines. Does this help?
Yutaka Emura
Keymasterowilsky wrote:
I don’t really want to save an “untitled” window in workspace, sometimes I just want an easy way to delete the last workspace, to start with an empty file when I start EmEditor.Then how about “Erase Workspace” command, which I will implement soon?
Yutaka Emura
Keymasterziguolo wrote:
Hi,
I’m very excited about the new changes in 7.5, but I cant help shake a feeling of unease because of one tiny feature that I think all the users will appreciate.I know this isnt the place to post such a request, but I thought maybe It would steam some enthusiasm about this feature.
http://www.emeditor.com/modules/newbb/viewtopic.php?forum=4&post_id=1533&topic_id=549
It will be implemented in Alpha 7. Thanks!
Yutaka Emura
Keymasterowilsky wrote:
Any possibility to make this configurable in 7.50 ?Please write why you want the other behavior. Why do you want to save only an “untitled” window in workspace.
Yutaka Emura
Keymasterowilsky wrote:
Hi,I think, I found a bug in 7.02:
I selected Save and Restore Workspace automatically. I also selected not to close last document.I have two files open, then I close EmEditor.
When I restart EmEditor, both files are reopened. So far, so good.
Now I press Ctrl-F4 twice to close all files.
Now only one empty file is open, named “untitled”.
When I now close EmEditor, I expect to have an empty document opened the next time I start EmEditor. Instead the two previously opened documents are restored.
Bug or intention?Regards,
OliverWhen only one “untitled” document is left when you close the window, this state will not be saved. Instead previous workspace will be restore. This is the specification.
Yutaka Emura
Keymasterslbuben wrote:
Is there any way the 32 bit plug in Align Left can be used in EmEditor running on Vista Home Premium 64 bit? I have used this plug in constantly in the past and am sorely missing it in the 64 bit version.Or could someone provide a macro to accomplish the same task?
Thank you !!
It should be easy to write a macro for the same feature. What exactly do you want to do?
Yutaka Emura
KeymasterUse non-greedy one.
(.*?)
See http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm for more information.
August 8, 2008 at 3:11 pm in reply to: Why I can not use "search in files…" to search for huge files? #6097Yutaka Emura
Keymasterchabulier wrote:
I tryed to search without regular expressions, it looks works.Any suggestions?
It might be because the regular expression engine cannot work in a very large file. Please send me a sample file with the regular expression conditions and other detail information so I can reproduce your issue. [email protected] Thanks!
Yutaka Emura
Keymasterfeili wrote:
Hello,I need to remove all the … elements in an xml file. For example, the string:
…in the presence of a transesterification catalyst
should look like this:
… in the presence of a transesterification catalyst
I tried using this RegEx with emeditor (cf. below), but it does not work. This RegEx works with others editors such as Texpad.
Search :
(.*)Replace:
1What do I need to do to make it work with emeditor?
Many thanks for your help
must be removed before ( and ).
(.*)
should work.
- AuthorPosts