Forum Replies Created

Viewing 25 posts - 2,551 through 2,575 (of 3,701 total)
  • Author
    Posts
  • in reply to: FindInFiles nFlag options #7520
    Yutaka Emura
    Keymaster

    PaperPlate wrote:
    We are looking for a functionality similar to eeFindFileNamesOnly except we do not want file names displayed. This would only only show the line of text that was found, not including the file path.

    You might want to try this macro:
    http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=169

    in reply to: New toolbar buttons in v9 #7519
    Yutaka Emura
    Keymaster

    owilsky wrote:
    First thing I add to the toolbar after a fresh install is always the “marks” button to show/hide tabs, cr/lf etc.
    How about adding this as default?

    The Marks button is already included in the Toolbar, and you only need to customize from the default toolbar. The default buttons will not be changed. In this forum, I am asking any “new” button ideas that you would like to customize.

    in reply to: EmEditor Professional 9.00 alpha 37 #7511
    Yutaka Emura
    Keymaster

    zhouzh2 wrote:
    Hi Yutaka,
    I know it’s strange, but the Word Complete plug-in just don’t automatically show the candidate words. However the hotkey works.
    I confirm the Word Complete button is pressed state, “Automatically Show the Candidate List as Typed” is also checked.
    A clean install of the Emeditor 9 alpha 37 doesn’t solve the problem. The system is Windows 7 RC english 32bit.

    In regedit.exe, can you remove HKEY_CURRENT_USERSoftwareemsoftEmEditorPlugInsWordComplete key and try again? This should reset all the settings related to the WordComplete plug-in. The earlier unisntaller did not clear the plug-in information.

    Yutaka Emura
    Keymaster

    supercoolm wrote:
    I have a Windows system with default non-Unicode encoding set to BIG5.
    When I select a cue file and a txt file, then right click to open with EmEditor, EmEditor can’t identify the proper encoding to open both files which are saved with JIS encoding characters.
    After I selected correcct encoding, EmEditor did not ask for encoding of txt file and directly open cue file in the encoding I selected, but open txt file in system’s default non-Unicode encoding BIG5 resulting unindentify characters.

    I was wondering if this behaviour of not asking for second file’s encoding is expected?

    Sorry, I am not sure exactly what the problem is. Please email me sample files after zipped to [email protected] and explain the procedure how to reproduce in details. Thanks!

    in reply to: EmEditor Professional 9.00 alpha 37 #7508
    Yutaka Emura
    Keymaster

    noespam wrote:
    How about a checkbox in the snippet dialog? The option might be useful for other shells.

    BTW, I just ordered a personal license since you are so helpful :) Thank you for keeping EmEditor small, fast, powerful and 64-bit. –mario

    I don’t want to make this global option. I will just make the chopping the last CRLF as default. If a user doesn’t want to chop the last CRLF, he or she can just add another CRLF to the snippet.

    Thanks for buying a license! That certainly motivates me to make the better software.

    Yutaka Emura
    Keymaster

    Currently, this is the specification although it is not a good behavior.

    When you press “Replace” for the second time, (?<=TITLE ) part does not match the current selection.

    However, you can try this:

    TITLE “.*?”

    TITLE “1”

    and you will see a good behavior.

    in reply to: EmEditor Professional 9.00 alpha 37 #7503
    Yutaka Emura
    Keymaster

    noespam wrote:

    Yutaka wrote:

    For instance, if you want to show the current directory:

    `- cmd
    DIR ${Dir}
    `

    If you don’t want to parse parameters like ${}, you can use

    ‘!- filename
    stdin
    stdin

    `

    works :) Here’s an example for those of you who use powershell.

    `- powershell –
    # prompts for name then echos the hello greeting
    $name = “${name}”.ToUpper()
    “Hello $name!”
    exit
    `

    Note the exit is required. Powershell would not exit automatically. What about an option to chop the last CRLF? Most of the time I want to replace the trigger inline instead of adding a new line. The above code always adds a new line.

    I will consider adding that option. Please let me know if you have any specific specification in mind for this option. Thanks!

    in reply to: EmEditor Professional 9.00 alpha 37 #7499
    Yutaka Emura
    Keymaster

    banita wrote:
    No I dont talk about snippet plugin. For example:

    int variable;
    var…. <—– here emeditor should auto suggest 'variable' but dont do this.

    I talk about somethink like “IntelliSense” form Visual IDE.

    OK. This is done by “Word Complete” plug-in. Please make sure the Word Complete button is pressed state, or Word Complete menu is checked on the plug-ins submenu on the Tools menu.

    in reply to: EmEditor Professional 9.00 alpha 37 #7497
    Yutaka Emura
    Keymaster

    banita wrote:
    But I have this otpion checked all time.

    Can you please describe the details of the problem? Are you talking about the Snippets plug-in? What snippet do you want to insert? How are you trying to insert the snippet? What was the trigger string? shortcut key? Double-clicking the item in the Snippet tree work?

    in reply to: EmEditor Professional 9.00 alpha 37 #7495
    Yutaka Emura
    Keymaster

    banita wrote:
    With alpha 36 and 37 I dont have auto code complete. Is there any way to turn on this feature?

    If the Snippets plug-in customar bar is hidden, the plug-in must be configured to run background. Please select the Snippets plug-in Properties, and then check “Run Background”.

    in reply to: EmEditor Professional 9.00 alpha 37 #7493
    Yutaka Emura
    Keymaster

    noespam wrote:
    Snippets are coming along nicely :)

    When I use powershell code for a snippet, the output window waits for a carriage return before inserting the output into text. Try this.

    `#cmd powershell dir -name`

    The syntax seems limiting. Difficult to put anything but trivial code in a one-liner short of invoking a script file. May I suggest something like the shebang in unix scripts?

    #!cmd
    code here
    and here

    and here

    #!ps
    code here
    and here

    and here

    The documentation was incomplete. It is possible by following format:

    `- filename
    stdin
    stdin

    `

    For instance, if you want to show the current directory:

    `- cmd
    DIR ${Dir}
    `

    If you don’t want to parse parameters like ${}, you can use

    ‘!- filename
    stdin
    stdin

    `

    Please let me know what you think!

    in reply to: About closing documents #7490
    Yutaka Emura
    Keymaster

    Please uncheck “Do Not Close Last Document by Selecting Close Command” check box in the Window tab of the Customize dialog box.

    http://www.emeditor.com/help/dlg/customize/window/no_close_last.htm

    in reply to: EmEditor Professional 9.00 alpha 36 #7484
    Yutaka Emura
    Keymaster

    banita wrote:
    When I install v36 my code completion option is off. where I can turn on this option?

    Can you check “Run Background” option in the Snippets plug-in Properties?

    in reply to: How to find in only text files #7482
    Yutaka Emura
    Keymaster

    chjfth wrote:
    I love the “Find in Files” functionality in EmEditor, since I let me choose file externsions and what character encoding to use. Now I’d like to askwhether there is a find option that lets me find only in text files.

    It is really useful when I want to deal with an unfamilar software. I’d like to find a string(probably a configuration name or its value) in all files within that software’s directory, but I cannot figure out what file extensions to find(maybe .ini .cfg .bat .xml or something else), so the best strategy is to find in all text files.

    Thanks for your opinions. Currently, there is no way to specify only “Binary” files, but you can specify inclusive files types. In the Advanced dialog, you can also specify exclusive file types. I hope this will help. Thanks!

    in reply to: convert LF to CR+LF #7480
    Yutaka Emura
    Keymaster

    mak wrote:
    I want to convert UTF-16 Le (LF unix) to UTF-16 (CR+LF to windows) and UTF-8 LE to UTF-8 CR+LF can I use command line if yes what is command line i should use ?
    Or can I batch process this file in emeditor ?
    .java files – from UTF-16 Le (LF unix) to UTF-16 (CR+LF to windows)
    .rc files – from UTF-16 Le (LF unix) to UTF-16 (CR+LF to windows)
    .XML files —UTF-8 LE to UTF-8 CR+LF
    I tried many utilities and Sed commands they all are corrupting the files.
    I can do this by opeing each file in emditor and save as to windows format but this solution is not logical for 200+ files.
    thanks in advance.

    Not on version 8, but on version 9, you will see new command line options /scr /scrlf /slf available. So if you want to convert from UTF-16 (LF unix) to UTF-8 (CR+LF windows), you would use,

    emeditor.exe “org_name” /cp 65537 /cps 65001 /ss- /scrlf /sa “new_name”

    v9 alpha is available in our beta forum. I hope this will help.

    in reply to: EmEditor Professional 9.00 alpha 33 #7476
    Yutaka Emura
    Keymaster

    Flint wrote:
    I confirm that EE 9α36 now correctly finds the macro on File Opened event.

    However, the other two problems still remain (not restoring the window position, and black corners of the newly created window).
    I checked: both these problems can be reproduced only when I turn on the option for running my macro on File Opened event. When I turn it off, both problems disappear.

    This will be fixed on alpha 37. It you still see the balck corners on alhpa 37, please let me know again.

    Yutaka Emura
    Keymaster

    ageback wrote:
    Total Commander + InstallExplorer 0.9.1 plugin can unpack *.msi files like zip files. Shift+Enter to run *.msi files normally.
    Then you can drag the new unpacked emeditor files to your current emeditor install folder. All your configurations will be reserved.

    While it might work, I don’t recommend this way, and this will void my support. Some people report they cannot remove a version because uninstaller needs to locate a particular version of EmEditor. If you need to install an alpha version over an older alpha version, please uninstall the older version from Control Panel, and then install the new version.

    in reply to: how to delete line with matching text? #7470
    Yutaka Emura
    Keymaster

    leemon wrote:
    Can anyone tell me how to delete lines containing matching text like sed or vim in linux?

    You can use this macro:

    http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=170

    in reply to: so slow to check a file changed outside emeditor #7466
    Yutaka Emura
    Keymaster

    ufx222 wrote:
    hi, there,

    I am using EmEditor 8.0 now.

    A text file is opened by EmEditor. I changed this file by another program.
    I need to wait about 3 seconds to get EmEditor refresh the text file, which is too slow, I think..

    Is there any way to solve this?

    Thanks,
    Yin Zhu

    This should have been adjusted on v9 alpha version, and you can download at http://www.emeditor.com/modules/newbb/viewforum.php?forum=12
    If you still see the problem, please let me know. Thank you!

    in reply to: EmEditor Professional 9.00 alpha 33 #7464
    Yutaka Emura
    Keymaster

    Flint wrote:
    Registry.

    I reproduced this problem, and it will be fixed on next alpha version. Thanks!

    in reply to: EmEditor Professional 9.00 alpha 35 #7462
    Yutaka Emura
    Keymaster

    petx wrote:
    I never used 8.0. It does occur on all 9.00 alpha releases. I am using 64bit version.

    Do you use the Snippets plug-in? Can you right-click on the Snippets plug-in button on the Toolbar, select Properties, and then is “Run Background” checkbox checked? If checked, can you try unchecking this checkbox, and see if you still see crashes? When you see crashes, can you explain more details when this happens?

    in reply to: EmEditor Professional 9.00 alpha 35 #7461
    Yutaka Emura
    Keymaster

    petx wrote:
    I never used 8.0. It does occur on all 9.00 alpha releases. I am using 64bit version.

    Thanks for information. Do you use right-click on tabs? Right-clicking tabs will display a menu including Save, Close, New Group, etc. Does this problem occur after right-clicking any tabs and then click other places to cancel the menu?

    in reply to: EmEditor Professional 9.00 alpha 33 #7460
    Yutaka Emura
    Keymaster

    Flint wrote:
    Also, one more problem appeared: when I turned the “Runs at Events” checkbox on again, EmEditor does not find the macro anymore. Each time I opens a file, the message appears:

    —————————
    EmEditor
    —————————
    The system cannot find the file specified.

    C:Program FilesEmEditorExtendedAssociations.jsee
    —————————
    OK
    —————————

    EE tries to look for the macro in wrong directory…

    Do you use the Registry or use INI files?

    in reply to: EmEditor Professional 9.00 alpha 33 #7455
    Yutaka Emura
    Keymaster

    Flint wrote:

    When you click the Save Current Window Position button, you will also have to click the Save Current Window Position.

    Sorry, what do you mean? You named the same button twice…

    Also, if you have the tabs enabled, the “Restore Tabbed Window Position” also does the trick.

    Yes, tabs are enabled, and the Restore Tabbed Window Position is checked here. Or do I need to uncheck it?

    I have trouble downloading your video files

    Strange, no problem here. OK, I reuploaded them to Rapidshare: EXE, AVI

    Sorry, I mean when you click the Save Current Window Position button, you will also have to click the Restore Window Position check box. And I know you are all set.

    The Restore Tabbed Window Position should be unchecked if you want the window open maximized even if you close in non-maximized size.

    Please make sure to disable “Automatic Workspace” (select off or Save Only) because the workspace includes information about window sizes.

    I downloaded your video files. It looks strange. Did you try on the Windows Desktop?

    in reply to: EmEditor Professional 9.00 alpha 35 #7454
    Yutaka Emura
    Keymaster

    petx wrote:
    Thank you for your wonderful work. EmEditor is close to perfect!

    I found I often encounter an annoying problem, though. Sometimes, I modified a file and press Ctrl+S, but the file is not saved at all (the star character next to the file name remains). If I drag and drop the file tab to a different position and then press Ctrl+S, the file can be saved successfully. When this problem happens, it will also be there until I restart EmEditor. The bad thing is that this issue is not always reproducible, but I do encounter it now and then. Any idea?

    Thanks for your inputs. I will ask you several questions. First, does this happen only on v9 alpha?

Viewing 25 posts - 2,551 through 2,575 (of 3,701 total)