Forum Replies Created

Viewing 25 posts - 2,651 through 2,675 (of 3,701 total)
  • Author
    Posts
  • in reply to: Explorer plug-in does not show TortoiseSVN icon overlays #7198
    Yutaka Emura
    Keymaster

    brianary wrote:
    Microsoft’s Team Foundation Server Source Control now offers Explorer integration via the VSTS 2008 Power Tools. Those overlays are similar in function (if not appearance) to TortoiseSVN, and do not currently appear in EmEditor either.

    Overlay now supported in v9.00 alpha 14. Thanks!

    in reply to: EmEditor Professional 9.00 alpha 13 #7197
    Yutaka Emura
    Keymaster

    owilsky wrote:

    2. You can export settings as INI files, and then you can import at a different machine. When exported as INI files, a macro path become the relative path. Does this solve your issue?

    Not really, because in the exported INI file there is still the absolute path. If I import that file on another computer with another user name, I have wrong paths (I see the wrong paths in Macros/Customize at the bottom label).

    I see two possible solutions:

    1.
    Use some kind of paths relative to home folder (my documents) like I suggested above

    2.
    Implement some kind of variable like \%my documents\% which can be used in exported reg files and ini files. These files can then be imported on the target computer easily.

    Am I the only one working for a company and developing Macros for EmEditor and having the problem to deploy these macros to my users?

    Oliver

    The next alpha version of v9 will save all macro files as relative path from “My Macros” folder. When you run the next version, please bring up “Customize Macros” dialog, and then click OK. Then you can copy the registry into another PC.
    Thanks!

    in reply to: want to indent block by one column #7196
    Yutaka Emura
    Keymaster

    gning wrote:
    Well, I did find the Insert Spaces plugin, but that’s clumsy to use and only goes inward, not outward. Better than nothin’…

    This is a macro to change the tab/indent length. I hope this helps.


    cfg = document.Config;
    do {
    n = prompt( "Enter new indent/tab length in characters:", cfg.Indent.TabColumns );
    } while( n <= 0 || n > 16 );
    cfg.Indent.IndentColumns = cfg.Indent.TabColumns = n;
    cfg.Save();

    in reply to: How many vertical selection bugs in EmEditor? #7195
    Yutaka Emura
    Keymaster

    webern wrote:
    Fist of all I have to say sorry, because it seems I was wrong pointing out the IntelliPoint explicitly.
    Removing IntelliPoint form the memory has no effect. But the MS mouse driver still there, of course.
    And I was absolutely confused in this situation because IntelliPoint is really affecting such software as ArchiCAD or even Solitaire game at list on my WinXP machine. My english isn’t so good to describe how IntelliPoint affecting mentioned software.

    But at least two of my friends from the russian speaking forums notified me that they have reproduced the same effects in EE 8/9.
    We have found that there are two conditions leading to this effect:
    1. The Vertical Selection Block must be controlled only by keyboard during testing!
    2. It seems this effect may be caused by proportional fonts while monospaced ones (Courier, Consolas) do not affect this.
    — Thanks in advance —

    No problem. I fixed this issue in v9 alpha 14. Thanks!

    in reply to: How many vertical selection bugs in EmEditor? #7192
    Yutaka Emura
    Keymaster

    webern wrote:
    updated: 4/23/2009
    Now I have more info on this issue.
    This started to happen since EE 8.x (on any OS).
    After some investigation i found that this is caused by MS IntelliPoint software (any version).
    The artifacts start to appear when starting to collapse the expanded vertical selection with the left arrow key.
    I can see that IntelliPoint constantly updates the screen area and this is visually recognizable at least on my WinXP but not on my Vista(x64).
    Perhaps, the artifacts may appear because EE does not catch the moment when IntelliPoint starts to update the screen area.
    I hope it will help you to find a solution for this issue in the future.
    If you need more details, just let me know.
    — Thanks in advance –[/font][/size]

    I cannot reproduce this issue, but I will try to fix it in v9. Can you find any specific settings you set in the IntelliPoint software that can reproduce this issue?

    in reply to: EmEditor Professional 9.00 alpha 13 #7188
    Yutaka Emura
    Keymaster

    owilsky wrote:
    Hi,

    I have two requests for EmEditor 9.00:

    1.
    For macros we have a trigger named “Before saving”. Can we also have one “After saving”?
    Reason is that we need to call a macro that determines which configuration to load with document.ConfigName based on the filename, not on the file extension.
    And before saving there is no file name ;-)

    2.
    In “HKEY_CURRENT_USERSoftwareEmSoftEmEditor v3MacrosMacro0” there is the full path to the macro, e.g. C:Documents and SettingsOliverMy DocumentsMy Macrostest.jsee.
    This makes deployment of multiple macros to other computers very hard. If you enter a relative file name into registry (e.g. only “test.jsee”), EmEditor looks for test.jsee in “C:Program FilesEmEditor”.
    How about changing that so EmEditor looks in the configured macro folder that is stored in HKEY_CURRENT_USERSoftwareEmSoftEmEditor v3CommonMacroFolder ?

    Thanks for listening,
    Oliver

    I might consider 1.

    2. You can export settings as INI files, and then you can import at a different machine. When exported as INI files, a macro path become the relative path. Does this solve your issue?

    in reply to: EmEditor Professional 9.00 alpha 13 #7187
    Yutaka Emura
    Keymaster

    NedMaker wrote:
    In EmEditor 9 Function Bar it will be corrected?

    For example, on last button there is no appointed function.

    Likely it is necessary to add customization that the user could appoint functions necessary for it itself.

    You can customize all keyboard settings in the Help menu > Keyboard Map. However, F12 is used by the Projects plug-in by defaut, so it is not assigned. You can of course change this setting too.

    in reply to: Not a critical bug with "Vertical Selection Editing mode" #7186
    Yutaka Emura
    Keymaster

    webern wrote:
    Not a critical bug with “Vertical Selection Editing mode” when it is applied to a single line.
    To reproduce:
    1. Create any file then fill it with a line of some words.
    2. Move the cursor to any place at the line.
    3. Toggle column selection mode.
    4. Expand the selection with the right/left arrow key by any number of characters.
    5. Now try to type in some character. This action just deletes the selection instead of displaying a typed character.

    Vista(x64), EE 9.00alpha12(x64).

    I fixed this issue. Can you please try this new build even though it is not v9? You will need to uninstall v9 first before you can install this v8.05 RC4:

    http://www.emeditor.com/pub/emed805rc4epx.msi (32-bit)
    http://www.emeditor.com/pub/emed805rc4ep64.msi (64-bit)

    Thank you!

    in reply to: EmEditor crashes when Find&Replace for column selection #7180
    Yutaka Emura
    Keymaster

    PigletEE wrote:
    Ok.
    It works but the problem still here with some cases.
    If the low left corner of the selection is on the text and the low right corner on “virtual space” and Find&Replace operation MUST find and replace at least one time. You may see that the selection is changed.

    I cannot reproduce this case. Can you email me at [email protected] a screenshot or a sample file to explain the details? Thanks!

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

    I created alpha 13 for you. This version includes a new shellcode format:

    `- “utility.exe” arguments…
    stdin…`

    The second and following lines will be STDIN to the utility.exe.

    For instance, if you want to tidy the selected HTML, you would use:

    `- “Tidy.exe” -f ${Dir}tidy_error.txt -wrap 0 –tab-size ${TabSize} –indent-spaces ${TabSize} –indent yes –tidy-mark no
    ${SelText}
    `

    Please download

    http://www.emeditor.com/pub/emed900a13epx.msi (English, 32-bit)
    http://www.emeditor.com/pub/emed900a13ep64.msi (English, 64-bit)

    in reply to: EmEditor crashes when Find&Replace for column selection #7175
    Yutaka Emura
    Keymaster

    PigletEE wrote:
    Ooops. Another one.
    Find&Replace works but … The right margin of selection moves to the end of the last line in the column selection after find&replace operation.

    I fixed and built for you:

    http://www.emeditor.com/pub/emed805rc3epx.msi

    Can you please try and see it is fixed?
    Thank you!

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

    noespam wrote:
    AWESOME! I have been using a combination of EmEditor and another editor with Textmate-like snippets. That other editor never felt like a lightweight text editor. Can we invoke command line utilities and capture STDOUT and STDERR to replace entire buffer or selection? I see RubyScript support, but would prefer to use the ruby + rubygems installed on my system.

    Thanks for your comments. I will improve the Shellcode specification to include your suggestions. The shellcode of the current version in the form of `#cmd …` can replace the selection with STDOUT and STDERR, but I am aware that it might not work as you expect. I will make sure the next versions will include greater support for such utilities.

    If you would like, you are welcome to email me your detailed suggestions and samples at [email protected] to help me develop more complete support for such utilities and Ruby + Rubygems.

    in reply to: About the display of backslash #7173
    Yutaka Emura
    Keymaster

    yaot wrote:
    To: Yutaka San
    Cc: All

    (1) We know that the backslash has two display style, one is “\”, the other one is “¥”
    (2) On a machine equipped by Japanese OS and IE7, I install the software Emeditor, then we create following html file

    -~日

    then save as “EUC-JP” encoding;
    (3) We click the “WebPreview” Plug-ins button, then in WebPreview window, it displays as “-~¥日”, but if I just delete “-” or just delete “~” or just delete “日”, the backslash changes to be displayed as “\”, how does’t this happen? Please help me; Thank you very much!

    PS: Maybe this is not the problem of Emeditor, but I still hope to get the help from you; Thank you very much!

    I reproduced your issue, and it is very strange. It is not a bug of EmEditor as you know, but I think it is just a display issue in Internet Explorer. If you want to show a yen mark all the time, you might want to select a true Japanese font such as “MS Gothic” in your

    tag. Then you will see ¥ all the time.
    in reply to: Run macro for all files in a folder? #7169
    Yutaka Emura
    Keymaster

    “ERRORS Root Folder: D:test” does not really mean an error.

    In your DoSomething( sPath ) function, you didn’t even use sPath parameter passed to the function.

    in reply to: Run macro for all files in a folder? #7166
    Yutaka Emura
    Keymaster

    This is my sample to check if and</p><h2> matches in all HTML files in a folder (searches the folder recursively). You would of course need to modify the root folder, the contents of DoSomething() function, and the file extension to search.</p><pre class="code"><br /> sRootDir = "E:help..."; // root folder<br /> editor.NewFile(); <br /> var docResult = editor.ActiveDocument; <br /> docResult.writeln( "ERRORS Root Folder: " + sRootDir );<br /> <br /> Redraw = false;<br /> var nTotalFiles = EnumerateFolder( sRootDir );<br /> Redraw = true;<br /> <br /> alert( "Finished successfully. Total of " + nTotalFiles + " files processed." );<br /> <br /> <br /> function EnumerateFolder( sFolder )<br /> {<br /> var nTotal = 0;<br /> var fso, f, fc, s;<br /> fso = new ActiveXObject("Scripting.FileSystemObject");<br /> f = fso.GetFolder(sFolder);<br /> fc = new Enumerator(f.files);<br /> for (; !fc.atEnd(); fc.moveNext())<br /> {<br /> sItem = String( fc.item() );<br /> nLen = sItem.length;<br /> if( sItem.indexOf( "_" ) == -1 && sItem.substr( nLen - 4 ) == ".htm" ){ // make sure file or folder does not begin with _ and the file extension is .htm.<br /> DoSomething( sItem );<br /> nTotal++;<br /> }<br /> }<br /> <br /> fc = new Enumerator(f.SubFolders);<br /> s = "";<br /> for (; !fc.atEnd(); fc.moveNext())<br /> {<br /> sItem = String( fc.item() );<br /> nLen = sItem.length;<br /> if( sItem.indexOf( "_" ) == -1 ){ // make sure folder name does not begin with _<br /> nTotal += EnumerateFolder( sItem );<br /> }<br /> }<br /> return nTotal;<br /> }<br /> <br /> function DoSomething( sPath )<br /> {<br /> var y = 0;<br /> editor.OpenFile( sPath, 0, eeOpenAllowNewWindow );<br /> <br /> document.selection.Find( "(?<=<title>).+?(?=</title>)", eeFindNext | eeFindAround | eeFindReplaceRegExp | eeFindReplaceQuiet );<br /> sTitle = document.selection.Text;<br /> if( sTitle.length != 0 ){<br /> y = document.selection.GetTopPointY( eePosLogical );<br /> }<br /> else {<br /> y = document.selection.GetActivePointY( eePosLogical );<br /> }<br /> document.selection.Find( "(?<=<h2>).+?(?=</h2>)", eeFindNext | eeFindAround | eeFindReplaceRegExp | eeFindReplaceQuiet );<br /> sH = document.selection.Text;<br /> document.close();<br /> <br /> if( sH.substr( 0, 3 ) == "Q. " ){<br /> sH = sH.substr( 3 );<br /> }<br /> <br /> if( sTitle.length == 0 || sH.length == 0 || sTitle.indexOf( sH ) == -1 ){<br /> docResult.Activate(); <br /> document.writeln( "" + sPath + "(" + y+1 + "):" );<br /> document.writeln( "t<title> " + sTitle );<br /> document.writeln( "t<h2> " + sH );<br /> document.writeln( "" );<br /> }<br /> }<br /> </pre><p></h2><p>

    in reply to: Indent guides glitches #7164
    Yutaka Emura
    Keymaster

    That’s good to know! Thanks!

    in reply to: Indent guides glitches #7162
    Yutaka Emura
    Keymaster

    Thanks for quick response. I made a special built for you. This build ignores blank lines when showing indent guides.
    Please try and let me know if you still have any comments.

    http://www.emeditor.com/pub/emed805rc2epx.msi (32-bit)

    Thank you!

    in reply to: Indent guides glitches #7159
    Yutaka Emura
    Keymaster

    Yutaka wrote:

    Flint wrote:
    There are several issues I have with Indent Guides in 8.03 (they were also present in earlier versions, but I had completely no time to report the problem, sorry).

    1. In some cases the guides are drawn incompletely.

    2. Even when the guides are drawn, they are not “stable”: sometimes they are not redrawn by EE when I e.g. scroll the text, but when I make EE redraw its window completely (e.g. by switching to another application and back), the guides are back.

    I recorded reproducing both issues on the video:
    Video/EXE (player/codec included)
    Video/AVI (needs MSU Screen Capture Lossless Codec)

    I didn’t try to correct this issue in minor updates because it is not a critical issue. I will try to correct it in v9. Thank you.

    This bug has been corrected in v8.05 RC1. Please try it and let me know if you have any further issues. Thanks!

    in reply to: EmEditor crashes when Find&Replace for column selection #7158
    Yutaka Emura
    Keymaster

    PigletEE wrote:
    I am sorry. I have
    Windows XP sp3 32bit, EmEditor 8.04. Only Use Regular Expression and In the selection Only are checked. SQL configuration with Enable Virtual Space, Show Ruler and Show Line Number are checked.

    I reproduced this issue. I will release v8.05 RC 1 shortly, so please try it and see the bug is fixed. Thank you!

    in reply to: how to delete duplicate lines #7156
    Yutaka Emura
    Keymaster

    Hellados wrote:
    This is a good macros for small files, but it is very slow for me :-(
    I have more 50-100mb txt files, and i need to replace dublicate lines (words) more then 406000 words and this macro working very slow :(
    my pc’s performances is very good, I have Intel COre 2 Duo E8400 2GB ram corsair 1TB HDD
    What can i do?
    :-(

    I did some optimization. Please try this. This also shows the current status on the status bar.


    function Pair( i, s )
    {
    this.index = i;
    this.str = s;
    }

    nLines = document.GetLines();

    // Create an array
    a = new Array( nLines );

    status = "Reading lines..."

    // Fill the array a with all lines (with returns) in the document.
    for( i = 1; i <= nLines; i++ ) {
    if( (i \% 1000) == 0 ){
    status = "Reading lines: " + String(i + 1) + "/" + String(nLines);
    }
    var pair = new Pair( i, document.GetLine( i, eeGetLineWithNewLines ) );
    a.push( pair );
    }

    status = "Sorting lines..."

    a.sort( function(a,b){
    if( a.str > b.str ){
    return 1;
    }
    if( a.str < b.str ){
    return -1;
    }
    return a.index - b.index;
    });

    // Delete duplicate elements.
    for( i = 1; i < nLines; i++ ){
    if( (i \% 10) == 0 ){
    status = "Deleting duplicate lines: " + String(i + 1) + "/" + String(nLines);
    }
    if( a[i].str == a[i-1].str ){
    a[i].index = 0; // disable
    }
    }

    status = "Sorting lines again..."

    a.sort( function(a,b){
    return a.index - b.index;
    });

    var str = "";
    for( i = 0; i < nLines; i++ ){
    if( a[i].index != 0 ){
    if( (i \% 1000) == 0 ){
    status = "Joining lines: " + String(i + 1) + "/" + String(nLines);
    }
    str += a[i].str;
    }
    }

    // Replace the entire document with new elements
    document.selection.SelectAll();
    document.selection.Text = str;
    status = "Duplicate lines deleteded."

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

    zhouzh2 wrote:
    WOW! So finally dynamic snippet is coming :-)
    I have just played around Emeditor 9 alpha for a while, it’s pretty stable, but it seems the “Automatically Show the Candidate List as Typing” function of WordComplete plug-in is not working? the candidate list will never show up only if i let it to do so.
    One more suggestion for the new awesome Snippets plug-in: is it possible to mark the candidates with 1-9? therefore user can select them and insert them with one button.
    Again, GREAT JOB! Emeditor is walking toward “perfect”.

    P.S. Can I use the new Snippets plug-in in 8.04?

    “Automatically Show the Candidate List as Typing” function of WordComplete plug-in still works here. The only issue is that the snippet hint (tooltip) may not appear if there is conflict with WordComplete plug-is. Still the WordComplete candidate list always appears.

    The new Snippets plug-in does not work on v8.xx. You must install v9 alpha.

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

    webern wrote:
    Do you strictly recommend a clean install of 9.00alpha?

    No, you don’t have to do clean install. You can install without uninstalling the previous version. However, if you want to turn on new features such as Brackets/Quotation marks auto-comple, and “Indentation after #include”, you will need to check those options. You might also want to reset keyboard shortcuts so you can use F11 and CTRL + SHIFT + V for new features.

    For future alpha versions, you will need to uninstall any existing alpha version before installing latest alpha version. However, you can still keep the current settings. When you uninstall the previous version, you will be prompted to save the current settings. Selecting YES will allow you reuse the existing settings when you install newer versions.

    in reply to: EmEditor crashes when Find&Replace for column selection #7148
    Yutaka Emura
    Keymaster

    PigletEE wrote:
    Hi!
    EmEditor crashes when Find&Replace for column selection.
    To reproduce:
    1. Enable Virtual Space;
    2. Make a column selection “with virtual space” on some lines;
    3. Call Find&Replace dialog;
    4. Find ” ” and replace any character;
    5. Press Replace All…

    I couldn’t reproduce your issue. Which version of EmEditor are you using? Which OS do you use? Any other options such as regular expressions, escape sequences, Case Match, Word Only, etc.?

    Yutaka Emura
    Keymaster

    webern wrote:
    The problem described below occurs only on WinXpSP2 with EE 8.04.

    Steps to reproduce the issue:
    1. Create a HTML-file. Fill it with lines below:

    <b>Test:</b> <img src=""><br>
    <b>Test:</b> <img src="">
    <img src="">
    <img src="">
    <img src=""><br>

    2. Move the cursor to the opening bracket for IMG Tag, then press Ctrl+Shift+].
    Repeat it for all lines.
    In my case the cursor makes no move to the closing bracket that i believe is unexpected.
    The only expected action takes place at the last line.

    Note: No problems with it on Vista(x64) and EE 8.04(x64).

    I reproduced this issue, and I have fixed this for the next release. Thank you!

    in reply to: Order not processed by RegNow #7141
    Yutaka Emura
    Keymaster

    Michael2 wrote:
    Hello

    I am trying to buy a package of 3 licenses for EmEditor, but RegNow refuses to process my order.

    Twice I tried to buy the licenses and twice I got an email reading as follows:
    —-
    Unfortunately your recent order with us was unable to be processed. There are many reasons why your order may have been declined. Please email our customer service department at [email protected] and reference your order number if you have any questions.
    —-

    When I look up the order status on the regnow website I get the following information:
    —-
    The following orders were either never finalized by you, perhaps you entered incorrect information, or perhaps we were unable to obtain authorization from your bank to charge your credit card.
    —-

    I have checked the information several times and I am absolutely sure that it is correct. Of cause they cannot charge my credit card, since this is not the payment method I have selected.

    Is there any other way to buy a license for EmEditor?

    Regards
    Michael

    As the email suggests, please email to [email protected] with Order ID to ask what was wrong with your order. They are the only one who can tell you the reason. You might want to use another credit card or another payment method such as PayPal next time. Thank you!

Viewing 25 posts - 2,651 through 2,675 (of 3,701 total)