Forum Replies Created

Viewing 25 posts - 1 through 25 (of 41 total)
  • Author
    Posts
  • in reply to: In EmEditor, how to do date and time calculation? #29093
    JohnQSmith
    Participant

    Replace with:
    \J nAdd=550; n=parseInt(“\1”)*6000+parseInt(“\2”)*100+parseInt(“\3”)+nAdd; s=(“0000″+(n % 6000)).substr(-4); (“00″+parseInt(n/6000)).substr(-2)+”:”+s.substr(0,2)+”.”+s.substr(2);

    THAT IS VERY COOL! This is my first time seeing it. Checking the version history in the help file puts it at version 18.4 (11 days shy of 4 years ago).

    JohnQSmith
    Participant

    Enabling “Match Case” required only 17 seconds to complete the replace all. I appreciate your continuing support.

    JohnQSmith
    Participant

    Screen cap of my advanced settings and the sample file have been sent. Glad to hear you’ve duplicated the problem. Thanks in advance.

    JohnQSmith
    Participant

    On the same lines as this. I have a 22MB XML file. There are about 94K instances of “<row>…</row>”. I am trying to split them onto individual lines.

    Using EmEditor 64bit 17.0.2 in portable mode. I backed up my EmEditor folder and then “Reset All Settings” as in your post. Using the replace window (CTRL-H) with “</row>” in the find box, “</row>\n” in the replace box and “Use Escape Sequence” checked, it has been running over 7 minutes and is only up to “6300 Found, Searching line 1 / 2” in the status dialog box.

    Using Cygwin64’s sed command takes less than 1 second.

    10:14:33 $ time sed -e "s_</row>_</row>\n_g" sheet1.xml > out.xml
    
    real    0m0.476s
    user    0m0.327s
    sys     0m0.077s

    I can email you the file for testing; it compresses to a 2.3MB ZIP file.

    in reply to: Downloads from website #21805
    JohnQSmith
    Participant

    Cancelling the download requires extra effort on my part when visiting emeditor.com. Changing automatic downloads (ask download location for each file) requires extra effort on my part when visiting every other website where I click on a file to download it. After looking through your download page’s source code, I see the function setTextContent checks which operating system I’m running before calling function startDownload after 6 seconds. So, I just configured Chrome to spoof my user agent on the download page so it thinks I’m using a Mac.

    in reply to: Minimap #21405
    JohnQSmith
    Participant

    Issue still exists on Windows 7, EmEditor Professional (64-bit) Portable, Version 16.3.1

    in reply to: Minimap #21387
    JohnQSmith
    Participant

    Update. Loaded a longer file and it also happens while line 2000-2050 are displayed in the main edit window. Cut and pasted my document to the end of itself to make it even longer for testing and it appears to repeat every 1000 lines.

    in reply to: problem with minimap #21206
    JohnQSmith
    Participant

    Another minimap issue.

    Resizing the width of the minimap causes all lines after 999 to disappear from the minimap.

    in reply to: How to increase the speed for removing "\n" ? #21010
    JohnQSmith
    Participant

    Thanks for the tip about using Bookmarks.

    in reply to: Binary (Hexadecimal View) #20904
    JohnQSmith
    Participant

    Thanks for the fix in 16.0.1. Working fine now.

    in reply to: Filter line count #20851
    JohnQSmith
    Participant

    Outstanding, fixed already! I really love EmEditor and brag about it all the time.

    in reply to: Display corruption #20158
    JohnQSmith
    Participant

    Hi Yutaka,

    The filter is MUCH more powerful than I had originally thought. I had used it before to isolate lines of a log file, but had not noticed the “negative” option. EmEditor is becoming more and more my go-to tool.

    JohnQSmith

    in reply to: Find and Replace #18067
    JohnQSmith
    Participant

    14.3.1 fixed the problem. Thanks.

    in reply to: [Snippets Plug-in] Where it stores it database #11304
    JohnQSmith
    Participant

    Also, the installer version requires administrator rights for installation, whereas portable version does not.

    I have to run the portable version at work since I don’t have admin rights on that machine. It would be nice to have an installer version that would use the registry HKCU instead of HKLM. I have other programs that install fine and add shell extensions without needing admin rights.

    in reply to: Escape Sequence #11243
    JohnQSmith
    Participant

    An escape character “” followed by a character to represent a special character.

    For instance…
    n = newline
    t = tab

    This allows searching for special characters without using a regular expression, or to insert a special character (like tab) instead of the actual “t” characters.

    in reply to: How to remove white spaces from EOL? #11228
    JohnQSmith
    Participant

    I like that better, but while figuring out the way I did it, I discovered how amazingly EmEditor can be modified using scripting.

    in reply to: How to remove white spaces from EOL? #11225
    JohnQSmith
    Participant

    VBScript macro

    replaced = document.selection.Replace( "s+?$", "", eeFindReplaceRegExp Or eeReplaceAll )

    Macros > Customize macros > Run at Events
    Then select the Before Saving event

    in reply to: List of Open Files #11224
    JohnQSmith
    Participant

    Here’s a VBScript macro

    editor.NewFile
    For Each doc in editor.Documents
    document.writeln doc.fullname
    Next
    editor.ExecuteCommandByID 4477

    in reply to: EmEditor Professional v13 beta 7 (12.9.6) released! #11030
    JohnQSmith
    Participant

    I have customized my status bar to I can see the selected Number of Characters and the Number of Lines.

    If I select any number of lines by clicking and/or dragging in the left column it shows the correct number of characters and lines. However, if I then shift-click some line further down on the page to enlarge the selection, the number of characters and lines in the status do not change.

    Edit: This also applies for any existing selection being expanded with shift-click.

    Edit 2: On a similar but different note, if I create multiple selections, the status bar shows the char/line count of selection added last. (not sure this is a bug or by design)

    in reply to: req: Syntax highlighting #10922
    JohnQSmith
    Participant

    It does exist. You just have to make sure your file type setting matches the file you are working on. For what you’re editing, which looks like JavaScript, go to Tools > Select Configuration > JavaScript. Either that or change your file name extension to .js

    in reply to: Some Typo in Menu Bar #10886
    JohnQSmith
    Participant

    I disagree and think that they are correctly worded.

    “Export all settings into a registry file.” means take the settings that are being used in the currently running EmEditor and save them in an external registry file (i.e. emeditor.reg). Same thing with the “…into INI files.” where they are saved in an INI file (i.e. emeditor.ini).

    “Import all settings from a registry file.” means read the settings from a registry file (i.e. emeditor.reg) and load the settings into the currently running EmEditor process.

    in reply to: Vertical Selection Editing bug #10883
    JohnQSmith
    Participant

    I find it ironic that the sample picture you posted contains text that describes the “fix” to your dilemma.

    in reply to: Copy All Command and Button #10876
    JohnQSmith
    Participant

    I vote against!

    Ditto

    in reply to: Projects Plugin: Untilted File Gets Replaced with Opened #10824
    JohnQSmith
    Participant

    I like the way it currently works as follows…

    * Open EmEditor and there’s an Untitled tab waiting for input (unless I had files open previously).
    * Close all open documents and there’s a blank Untitled file waiting for me to start typing.

    Other than that, I have no current opinion. I use 8+ different editors depending on what I’m doing.

    Edit: Rereading the original post, I realize now that this was about the Projects Plugin in particular. Please disregard my intrusion.

    in reply to: Macro Keyboard Key Does Not Get Replaced #10814
    JohnQSmith
    Participant

    I’m not sure you can use Shift+S as a keystroke.
    I mean… Shift+S is Uppercase-S.

    Then again, it may be a problem in that you confused it.

Viewing 25 posts - 1 through 25 (of 41 total)