Forum Replies Created

Viewing 25 posts - 2,976 through 3,000 (of 3,693 total)
  • Author
    Posts
  • in reply to: How to get Filename no extensions in External Tool ? #6122
    Yutaka Emura
    Keymaster

    viettuan 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 :-D

    Use $(Filename). $(Filename) does not add the file extension.

    in reply to: Bug: Save/Restore Workspace automatically #6115
    Yutaka Emura
    Keymaster

    owilsky 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.

    in reply to: Align Left Plug In for 64 Bit #6112
    Yutaka Emura
    Keymaster

    slbuben 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?

    in reply to: Bug: Save/Restore Workspace automatically #6110
    Yutaka Emura
    Keymaster

    owilsky 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?

    in reply to: EmEditor Professional 7.50 alpha 6 #6108
    Yutaka Emura
    Keymaster

    ziguolo 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!

    in reply to: Bug: Save/Restore Workspace automatically #6107
    Yutaka Emura
    Keymaster

    owilsky 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.

    in reply to: Bug: Save/Restore Workspace automatically #6105
    Yutaka Emura
    Keymaster

    owilsky 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,
    Oliver

    When 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.

    in reply to: Align Left Plug In for 64 Bit #6101
    Yutaka Emura
    Keymaster

    slbuben 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?

    in reply to: Help with RegEx that does not work in EmEditor #6099
    Yutaka Emura
    Keymaster

    Use non-greedy one.

    (.*?)

    See http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm for more information.

    Yutaka Emura
    Keymaster

    chabulier 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!

    in reply to: Help with RegEx that does not work in EmEditor #6096
    Yutaka Emura
    Keymaster

    feili 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:
    1

    What do I need to do to make it work with emeditor?

    Many thanks for your help

    must be removed before ( and ).

    (.*)

    should work.

    in reply to: EmEditor Professional 7.50 alpha 4 #6092
    Yutaka Emura
    Keymaster

    3.
    Any possibility to show spaces with another character (e.g. a small dot) when show marks is turned on?

    Now supported on v7.5 alpha 5!

    in reply to: EmEditor Professional 7.50 alpha 4 #6087
    Yutaka Emura
    Keymaster

    1. crashes

    I don’t see any problems with dragging a file from Explore. Do you see any conditions?

    2.
    Large File Controller always shows up, even when I open a file with 4 KB.

    Please check what you set in the “Minimum File Size to Open Asynchronously” text box in the “Advanced” tab of the Customize dialog box. Any file larger than this file size will make the Large File Controller show up.

    in reply to: Functionalities I'm missing #6086
    Yutaka Emura
    Keymaster

    Thyresias wrote:
    Hello from Paris :-)

    First, I would like to congratulate the developper(s?) for this excellent piece of software. But as I’m a TextPad switcher, there are some functionalities that I miss, and require me to switch back and forth between EmEditor and TextPad, while I’d prefer to use EmEditor alone.

    Since I’m a new user, some functionalities may be there, but I do not find them: if that is the case, could you be kind enough to explain to me how to proceed? Now here we go:

    * append to the clipboard
    I am used to do Shift-Control-C or Shift-Control-X to copy/cut and append to the clipboard. I did not find any clipboard append, right?

    * find: mark all lines / copy/cut all marked lines
    I often use these features in TextPad, but did not find them.

    * configure “tag jump”
    a custom regular expression that would return the file path, line number and possibly column number from the output bar, so that double-clicking on an error message would go to the source line. This would allow for instance to match Ruby error messages:
    intervals.rb:8: undefined local variable or method `i_do_no_exist’ for main:Object (NameError)

    That’s all for the moment. Again, bravo for the editor !

    Thierry

    * append to the clipboard

    This can be done by a macro:


    str = clipboardData.getData("Text");
    clipboardData.setData("Text", str + document.selection.Text);

    and you can assign the macro to a keyboard shortcut.

    * find: mark all lines / copy/cut all marked lines

    You will need to explain me exactly what you want to do, but it should be done by writing a macro.

    * configure “tag jump”

    Version 7.5 alpha has this feature.

    in reply to: Launching Macros when events occured #6083
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Cool, thanks!
    Will I be able to distinguish whether “save” or “save as” has been called?

    I would need this …

    No, I am afraid not.

    in reply to: EmEditor Professional 7.50 alpha 3 #6077
    Yutaka Emura
    Keymaster

    gan wrote:
    Actually i would like a field to specify characters that should not be a word delimiter which is the opposite of what i asked…..sorry about that. Just a simple field where i can add all the characters that should not be word delimiters for each configuration and also the option to specify for all configurations.
    The reason why this would be a nice feature is because i work with textfiles that contains a lot of special characters and IP addresses. If i doubleclick on the IP address 10.10.10.10 i would like the whole address to be selected. With the current version this is not possible because i cannot specify that “.” (dot) should be part of the word and not a word delimiter. A lot of the textfiles i work with contains commands that include special characters like “-“, “/”, “_” etc. It’s much faster for me when i use another text editor where a doubleclick can select the whole command or IP address to be able to cut/copy/paste or connect. For the IP addresses/hostnames i also have a couple of shortcut keys to start a telnet, ssh or ldap session to the IP address or hostname and then i doubleclick on the IP address and use the shortcut key to connect.
    If there is any doubt i can give some examples of other text editors where this feature is available to see the behavior, but it’s pretty simple. The current version of emeditor have space and all special characeters as a word delimiter, but i would like to specify that some of these character should not be a word delimiter.

    If you need further information or want me to give some more information regarding this feature please let me know.

    Regards
    Gan

    It will be implemented in 7.5 alpha 5. It will be called a little different. It will be “Treat the following characters as alphanumeric:” in the Customize dialog box > Edit tab.

    in reply to: Erase Find Highlight – Apply to all open files #6076
    Yutaka Emura
    Keymaster

    fmdevelope wrote:
    The current Erase Find Highlight (Alt + F3) removes the highlighting in the current file only. I often do a find in all open files and have to do Alt + F3 on each page to remove highlighting on all pages.

    It would be great if Alt + F3 would erase the highlight from all files. A preference that determines if this new behavior or the current behavior is used (current file or all files option), or a separate menu item and key combination would also work.

    Great work!

    I don’t think anyone needs the old behavior, so I changed this command so it would erase the highlight from all the documents in the same window, from 7.5 alpha 5.

    in reply to: EmEditor Professional 7.50 alpha 3 #6073
    Yutaka Emura
    Keymaster

    gan wrote:
    Will version 7.50 have a field to specify the word delimiters when released?

    Not yet. Please let me know why you want to specify the word delimiters. Also, please propose the specification in details if you can.

    in reply to: Launching Macros when events occured #6072
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Also there is an event “File Opened” but no event “File Saved”.
    Could you add this event please?

    EVENT_SAVING event has been added to 7.5 alpha . This event will be sent immediately before saving the document. It is defined as:


    #define EVENT_SAVING 0x04000000

    in reply to: Is it possible to controll the plugin button in macro #6071
    Yutaka Emura
    Keymaster

    deepbirch wrote:
    Thanks to emeditor I got great efficiency.

    Now I have one question.
    I ‘d like to press the “at head” button in “insert sequence number plugin” using macro jsee script.
    below command run the “Insert sequence number plugin” in jscript
    editor.ExecuteCommandByID(5646);
    But further I’d like to automatically press the “at head” button in Insert sequence number plugin, using macro.
    Is it possible?

    I don’t think it is easy. I would write a complete script including the sequence number insert (without using the plug-in).

    in reply to: EmEditor Professional 7.50 alpha 3 #6070
    Yutaka Emura
    Keymaster

    joymonkey wrote:
    Please check “edit -> jump…” function module, it is bad, version >= 6.5 :-(

    Do you mean >= 7.5? I don’t have any problems with 7.5. Please describe more details.

    in reply to: long Macro menu #6063
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Hi,

    I have written more than 50 macros, most of them are in a customized main menu and have keyboard shortcuts.
    Unfortunately all of them show if I open the Macro main menu. This menu is very long. Is there a way not to list all of them here or move them into a submenu?

    Thanks,
    Oliver

    Yes, you can customize menus to whatever you would like (Tools > Customize Menus).

    in reply to: 64 bit Version #6059
    Yutaka Emura
    Keymaster

    sbubendorf wrote:
    I have two licensed copies of Emeditor Pro. I have always used the 32 bit version. I recently upgraded hardware and operating system so that I now have a 64 bit Windows operating system (one computer). Can I download the 64 bit version for use on one computer while mainatining the 32 bit version on the other, without having to purchase another version or an upgrade? Thank you!

    Yes, certainly.

    in reply to: select last line #6056
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Hi,

    if there is no CR/LF after the last line of a document, and I select multiple lines with Shift+Cursor-down, the last line cannot be selected.
    This is very annoying for me as my last editor could do this.
    Is there a way to get this behaviour back in EmEditor?

    Thanks,
    Oliver

    This is the specification of EmEditor, and Notepad behaves the same.

    You might want to get used to using CTRL + SHIFT+ END instead.

    in reply to: Is there a calltip function(or plug-in) for EmEditor? #6054
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    OK i’ll give EmEditor 7.5 alpha a try. So is this alapha version stable enough for daliy work?
    Thanks! :-)

    I don’t see any critical issue with 7.5 right now. :-)

Viewing 25 posts - 2,976 through 3,000 (of 3,693 total)