• High resolution monitor issues

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Waid-Hundley

    a few weeks ago I stumbled over this article.
    As I neither have a high resolution monitor nor do I have Windows I wasn’t able to test
    if it works. So if you want to test it would be nice to let us know the results.

    Cheers
    Claudia

  • unable to find and replace quotation mark

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    @Paul-Nemer

    may you explain in detail what you do?
    Maybe a screenshot could be helpful as well.
    If you upload the screenshot to a hoster like imgur you
    could embed it into the post when using the following syntax

    ![](web address of the image like www.imgur.com/myimage.png)

    Cheers
    Claudia

  • 0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @bsto

    How can I revert back to the old visual, usual NP++ tabs?

    Either wait for the next release or rollback to an older version.

    Cheers
    Claudia

  • Opened Npp, blank, new screen, all settings gone... again!

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Scott-Nabors

    Thoughts?

    Maybe ask at PortableApps forum what their launcher does

    Suggestions?

    Use zipped npp version from notepad++ homepage.

    Cheers
    Claudia

  • How to use a first line as tab bar title in new files?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @afernandes

    should this mean you
    open a new doc
    type anything into the first line
    press enter
    and it should appear as the text in the tab??

    If so, no save way to do so.

    Cheers
    Claudia

  • Formating SQL syntax when pasting from MS Access

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bacel-Younan

    did you try @Guido-Thelen s SQL Formatter?

    Cheers
    Claudia

  • find in files and replace and regex

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to Uninstall "Npp Xml Treeview" plugin?

    3
    0 Votes
    3 Posts
    3k Views
    chcgC

    See https://github.com/joaoasrosa/nppxmltreeview/issues/19, there was a bug in the dll version reported by the plugin dll.

  • 新的notepad++ 打开xml文件后不支持反注释命令了

    2
    0 Votes
    2 Posts
    2k Views
    chcgC

    Google translate:
    After installing the new notepad ++, use the Ctrl + Q comment code, and then press the key combination can not comment, and hope that the new version can modify the problem.
    thank you very much

    Version 7.3.3? Which programming language? Working for me with e.g. python.

  • Top to Bottom instead of side by side

    3
    0 Votes
    3 Posts
    12k Views
    3d1l3

    Excellent!!!

  • Regex: Can I Delete the content of files that doesn't have some words?

    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello @robin-cruise,

    First of all, it would be better to back up all the files, concerned by the Search/Replacement ;-))

    Now, if all these files are located in a specific folder :

    Open the Find in Files dialog ( Ctrl +Shift +F )

    In the Find what: zone, type (?s).*\s(my baby goes away)\s?.*|.+

    In the Replace with: zone, type ?1$0

    In the Filters zone, enter \*.txt or else…

    In the Directory zone, specify the folder, containing all the concerned files

    If necessary, select the Match case option, if the string to search for, must have this exact case

    Select, of course, the Regular expression search mode

    Click on the Replace in Files button

    Please, verify, one more time, that the FOUR zones, Find what:, Replace with:, Filters: and Directory:, are correctly filled !

    Click on the Yes button, of the dialog Are you sure?

    Et voilà !

    => All the contents of the files, that do NOT contain the string my baby goes away ( not embedded in a larger word ), are deleted

    Notes :

    The (?s) syntax, at the very beginning of the search regex, ensures you that the regex engine consider the dot regex symbol as matching any single character ( standard or EOL character )

    Then, the remainder is an alternative between :

    .*\s(my baby goes away)\s?.* : All the contents of the current file scanned, containing, at least, one string my baby goes away, not glued in a larger expression. So, the last string my baby goes away is stored as group 1

    .+ : All the contents of the current file scanned, which do NOT contain the string my baby goes away

    In replacement, the syntax ?1$0, strictly (?1$0), is a conditional replacement that means :

    If group 1 exists ( your specific string found ), all the contents of the current file are replaced with the entire searched string ( $0 ), that is to say all the contents matched !

    If group 1 does not exist ( NO specific string found ), no replacement action occurs => All the contents of the current file are, simply, deleted

    A question mark ? , after the final syntax \s , is necessary, for the unique case, where the string my baby goes away ends the current file, without any final line break !

    Best Regards,

    guy038

    P.S :

    As described above, sometimes, it’s easier to use the general template of a list of alternatives : (NOT This|NOT That|.....)|(This)|(That)......

    All the alternatives to EXCLUDE, are re-written, with the syntax \1, in the replacement part

    All the alternatives to INCLUDE, are replaced, thanks to each syntax (?#....), in the remplacement part ( # > 1 ) OR deleted if this syntax is absent

    Consider, for instance, the original text, below :

    Jane said to Tarzan : "Tarzan" is a very strong person, much more than "Jane" is ! "Tarzan and Jane" or "Jane and Tarzan"

    And suppose that we would like to convert , in uppercase, the first names Tarzan and Jane, ONLY IF they are NOT surrounded by double quotes !

    Then, we could use the simple S/R :

    SEARCH : ("Tarzan"|"Jane")|(Tarzan)|(Jane)

    REPLACE \1(?2TARZAN)(?3JANE)

    As the replacement action is identical, for each first name, we could also use :

    SEARCH ("Tarzan"|"Jane")|(Tarzan|Jane)

    REPLACE \1(?2\U\2)

    Note that when group 2 is defined, group 1 is NOT defined. Then, in replacement, the form \1 stands for an empty string !

    Of course, the two following S/R, more complicated, may be used and produce the same replacements :

    SEARCH (?<!")(Tarzan|Jane)|(Tarzan|Jane)(?!")

    REPLACE \U\1\2

    or

    SEARCH (?<!")(Tarzan|Jane)|((?1))(?!")

    REPLACE \U\1\2

    After replacement, we get, in all cases, the new text, below :

    JANE said to TARZAN : "Tarzan" is a very strong person, much more than "Jane" is ! "TARZAN and JANE" or "JANE and TARZAN"

    For newby people, about regular expressions concept and syntax, begin with that article, in N++ Wiki :

    http://docs.notepad-plus-plus.org/index.php/Regular_Expressions

    In addition, you’ll find good documentation, about the new Boost C++ Regex library, v1.55.0 ( similar to the PERL Regular Common Expressions, v1.48.0 ), used by Notepad++, since its 6.0 version, at the TWO addresses below :

    http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html

    http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

    The FIRST link explains the syntax, of regular expressions, in the SEARCH part

    The SECOND link explains the syntax, of regular expressions, in the REPLACEMENT part

    You may, also, look for valuable informations, on the sites, below :

    http://www.regular-expressions.info

    http://www.rexegg.com

    http://perldoc.perl.org/perlre.html

    Be aware that, as any documentation, it may contain some errors ! Anyway, if you detected one, that’s good news : you’re improving ;-))

  • 0 Votes
    6 Posts
    3k Views
    Claudia FrankC

    @Dave-Greene

    what do you mean by

    Move/Clone To options aren’t back yet

    ?

    If I right click on a saved document tab I do see and can use the two functions.

    Cheers
    Claudia

  • Double-Clicking associated file to open it triggers an error.

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Dave-Greene

    Maybe procmon from sysinternals might help here.
    Download and run it, create a filter with notepad++.exe. Npp should not be active, double click the file and see what procmon reports in regards of starting npp.

    Cheers
    Claudia

  • Selecting text by region

    5
    0 Votes
    5 Posts
    23k Views
    David GibbsD

    Thank you very much Scott and Jim. I knew it had to be something pretty easy. It was holding down the alt key I was missing. That is exactly the function I wanted.

    Thanks again,
    David

  • Close active window

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    PeterJonesP

    @Radomir-Żółtowski,

    The standard Windows shortcut is Alt+F4, not Ctrl+F4. And Alt+F4 works as expected. If you click the NPP icon in the upper-left of the NPP window, it will pull down the standard Windows “move/size/close” menu, which shows the global shortcut for closing the window is Alt+F4.

  • cannot toggle INS and OVR

    4
    0 Votes
    4 Posts
    5k Views
    Per IsaksonP

    A single click on the INS/OVR button in the bottom right corner of the Notepad++ window toggles the mode. (That is the right end of the status bar.) Tested with Notepad++ v7.3.1 (32-bit). See http://docs.notepad-plus-plus.org/index.php/Keyboard_And_Mouse_Shortcuts

  • Filter with path pattern in Search in files

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Touble finding a setting

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Felix PicotF

    @Claudia-Frank allright thanks (:

  • Question to Auto-Update

    3
    0 Votes
    3 Posts
    2k Views
    Mike BxyzxyzM

    Thanks a lot! :-)

  • Trouble Downloading

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Casey-Vega

    maybe you wanna explain in detail what you did?
    Downloaded from where?
    Actions done after downloading?

    Cheers
    Claudia