external tool – EmEditor (Text Editor) https://www.emeditor.com Best Text Editor, Code Editor, CSV Editor, Large File Viewer for Windows (Free versions available) Wed, 18 May 2016 13:12:13 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 External Tools get filtered-out lines in their $(CurText) input https://www.emeditor.com/forums/topic/external-tools-get-filtered-out-lines-in-their-curtext-input/ Wed, 18 May 2016 13:12:13 +0000 https://www.emeditor.com/forums/topic/external-tools-get-filtered-out-lines-in-their-curtext-input/ If I have defined an External Tool that takes “Custom” input, and then define this custom input as “$(CurText)”, there is a bug that sends also any filtered-out lines inside the selectiong as input to this External Tool when multiple lines are selected.

For example, if you have the following lines in your document:

111
222
333
444

And then I create a filter that removes all lines containing “222” and “333”, resulting in the following appearance in the editor:

111
444

If I now select both these lines, and then execute my External Tool, it will still get all the four lines as input (i.e. “111”, “222”, “333” and “444”), which seems like an obvious bug to me, right?

]]>
Arrow keys stop working in editor while "External tool" is executing https://www.emeditor.com/forums/topic/arrow-keys-stop-working-in-editor-while-external-tool-is-executing/ Wed, 27 Apr 2016 12:57:29 +0000 https://www.emeditor.com/forums/topic/arrow-keys-stop-working-in-editor-while-external-tool-is-executing/ I have several different “External tools” configured in EmEditor, in turn connected to keyboard shortcuts, which is a very handy feature.

One quite aggravating detail I have noticed in connection to this though is that the arrow keys on the keyboard stop working (won’t move the cursor etc) in the editor while such an “external tool” is executing.

Please note that this has nothing to do with GUI focus issues (I can still select anything in the editor with the mouse, but the cursor still won’t move if trying to press an arrow key right after this), and also that it only happens while the external command is still running (for example, I have an external program that will do some processing for 10 seconds before returning its results and exiting, and in this case it is during these 10 seconds of initial execution that the arrow keys won’t work in EmEditor, but as soon as this external tool has returned its output and exited, it works again). It is also not a CPU load related issue, because I have a very powerful computer, and all other operations still go lightning fast when this happens, it is only the arrow keys that stop working.

Any way to fix this?

]]>