• Notepad ++ slow at opening new post

    19
    0 Votes
    19 Posts
    11k Views
    Claudia FrankC

    @Guido-DC

    let’s summarize to see if we have the same understanding.

    You use the latest npp version without any additional plugins, correct?

    You do have open the windows explorer and double click on a file with a txt extension.
    Notepad++ starts instantly but does not show the content of the file instantly,
    instead it takes 5 seconds before the content is shown.
    This does not happen if you open files with other extensions like rtf and doc
    (side note, can you actually read these documents clearly, because normally they are formatted?)
    but using the the same method to open ( by using double click in windows explorer), correct?

    In addition, (the point I don’t understand at all)
    if you create a new txt file it takes 10 seconds before you even see the empty document and, again, this does not happen if it is a rtf or doc document.
    How does this work? You cannot open a new txt file you only can open a new
    file and only after saving it for the first time it becomes a txt, or whatever you choose, file. What do you exactly mean by this?

    I’ve posted the image about the debug-info, can you post the info, please.

    As said, when you disable the mentioned settings you need to choose a name
    for the file to save to when you close npp otherwise the file is gone. This is the
    normal way when saving files. So what did you do in the meantime - did you reset
    the settings or do you still use npps automatic saving feature?

    Cheers
    Claudia

  • Happy New Year!

    Locked
    1
    1 Votes
    1 Posts
    954 Views
    No one has replied
  • CTRIL-A In File Association Setting?!?!

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Feature Request: type bracket to surround selected text

    4
    0 Votes
    4 Posts
    2k Views
    linpengchengL

    This feature is a built-in feature of the sublime & vscode

  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • New SQL Formatter Plug-In (SQLinForm)

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Make a notepad++ app

    3
    0 Votes
    3 Posts
    2k Views
    Chris JonesC
    list item message
  • Bugs in normal search for v7.2.2 on windows 7

    6
    1 Votes
    6 Posts
    4k Views
    guy038G

    Hi, Scott,

    Many thanks for detecting my mistake ! Ah, I carried on my error, through all the contents of my post :-((

    So, simple lesson : beware about the real pasted text !! BTW, I’ve already updated my previous post

    Scott, you’re, really an attentive reader, aren’t you ? Brrrr ! I ought to be careful when I write future posts ;-)

    But, Scott, if I did an obvious grammar fault or if I was totally wrong about an English expression or word, don’t hesitate to tell me about it ! It will improve “my” English, which is far from being fluent !

    Cheers,

    guy038

  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bruce-Hopkins
    not sure how it did work at all.

    I assume that the data is allways in the form

    name@domainPIPE… (PIP is ofcourse | )

    in such case I would use the following regex in find

    \|.*$

    and replace it with a comma.

    Make sure regex has been selected.

    Cheers
    Claudia

  • Can I Marry an APP?

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Dan-Bowes

    you made me laugh - very nice.

    Thx
    Claudia

  • Sometimes Notepad++ can't run through double click

    6
    0 Votes
    6 Posts
    3k Views
    Claudia FrankC

    @yc-z

    this shouldn’t happen.
    Would you mind open an issue at
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/
    with a reference to the already closed issue #2700.

    Thank you
    Claudia

  • find in files unicode text

    17
    0 Votes
    17 Posts
    12k Views
    gstaviG

    Out of curiosity I did browse the code to see how “find in files” works in Notepad++. As far as I understood:

    NPP scans the directory tree and creates a list of all files that match the Filters. For each file in the list NPP will:
    – Load the ifile into NPP in “hidden” state. During that load NPP will guess the file’s unicode encoding. NPP may very well guess wrong.
    – Search hidden file within NPP for required pattern.
    – Add matching locations to ‘finder’.
    – Close hidden file.

    I did not go into the actual comparison but pattern should be matched to file using some common encoding. Either pattern is re-encoded into the guessed file encoding or during the scan each symbol is translated into its Unicode point of U+### and compared.
    The bottom line is that if the initial encoding guess was wrong NPP will fail to find matches.

    I use NPP mostly for UTF-8/ASCII files and sometimes for UTF-16 (Microsofts default). NPP auto detect these well.
    I will not be surprised if rarer (country specific) encodings are often misdetected.

    In any case this “find in files” scheme is very slow and I hardly use it. I prefer ‘greping’ externally.
    It would be nice to implement for code developers a much more efficient UTF-8 only find in files that does not bother to load each file into Notepad++. Possibly in a plugin.

  • 1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Andrew-Dunn

    Not a bad idea, it might be tough to find a unique-enough default color to be pleasing to all. There’s a red already in use for the Mark feature. Aside from selected text (medium-to-dark grey) and anything else in use that I’ve forgotten, here are the colors that Notepad++ already uses (plugins not considered!):

    http://imgur.com/a/IoRHu

  • Document Map - change scrolling and scaling

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • same file side by side in full view

    Locked
    9
    0 Votes
    9 Posts
    7k Views
    notepad347N

    @Claudia-Frank Yes. That way, I can work on the same file in multiple places in the file. Plus, I work most of the time on laptop, and that is why the size of the view point is important to me. I was for a wile opening the same file as “Open in new instance”, so I had a full windows view. But the problem with this approach is, that I can not edit both file at once. After I save a file in one instance, I lost changes I made in another instance of notepad++.

  • Replace string across multiple files and increment value

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    Claudia FrankC

    @Scott-Sumner

    no pressure, no pressure - I thought of a simple solution like

    import os search_string = 'HERE_YOUR_STRING' i = 0 for root, dirs, files in os.walk('C:\\WHAT_EVER_DIR\\'): # take care of double backslash like c:\\temp\\dir1\\ for file in files: fname, ext = os.path.splitext(file) if ext == '.xml': i+=1 full_path = os.path.join(root, file) with open(full_path) as f: s = f.read() s = s.replace(search_string, search_string + str(i)) with open(full_path, "w") as f: f.write(s)

    but now, maybe an windows api solution?? ;-))

    Cheers
    Claudia

  • Disable Folder as Workspace

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Nemanja BračkoN

    Thank you! That is what I need. I called “stupid” baceuse I have searched the Internet and I saw that many, many, many people wanted to disable that option. One of the main features of NPP is acctualy that: Open as much files as you can (by draging into interface) and process them simultaniously.

    Developers had had to consider all perspectives in the beginning. :)

    Anyway, I didn’t want to offence anyone and thank you for your help!

  • Confusing main/sub view behavior

    Locked
    7
    2 Votes
    7 Posts
    3k Views
    YaronY

    That’s a nice observation.

    And another point:
    Tabs from other windows are not displayed.
    So the window title should be “Window Tabs” instead of “Windows” and the command “Close window(s)” should be “Close tab(s)”.

    BR

  • DTD validation

    3
    0 Votes
    3 Posts
    5k Views
    eksemel spaiE

    Hi,
    correct, I use the XML Tools plug-in. Will check this issue with the plug-in authors.
    Best wishes

  • Feature idea - Remove all non existing file

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied