• How do I enable up and down search?

    2
    0 Votes
    2 Posts
    634 Views
    PeterJonesP

    @Gary-Winey

    Do you mean
    761fc813-0d67-4690-9387-5d5e53141309-image.png
    vs
    c69dcc71-32c7-4399-8041-cbbd69a7c1b8-image.png

    If so, then the checkbox on the right controls that. It tells you this when you hover over that box:
    c4c1b4bf-9ec7-4476-ac7f-67c761911e0e-image.png

    It’s also documented in the usermanual

    (I showed a screenshot on the Find tab of the dialog, but it’s the same on the Find and Replace tab as well)

  • Find in all open documents that match a given filename pattern?

    2
    0 Votes
    2 Posts
    363 Views
    PeterJonesP

    @Meatball-Football ,

    If you want to filter which files are searched, the expectation was to use Find in Files rather than the Find feature’s Find in All Opened Documents command – and that Find in Files does have a filter syntax described in the hover text and in more detail at npp-user-manual.org in the section “Find in Files

  • TOS/EULA and VDI?

    3
    0 Votes
    3 Posts
    395 Views
    Mo_Mon_Mo_ProbsM

    @PeterJones Thanks for taking the time to reply. I have the same understanding as you but still have to make the effort. Fortunately, I only have to log the attempt then push the matter further up the team ladder.

  • Problems with configurator & style loading at StartUp

    7
    0 Votes
    7 Posts
    887 Views
    John CookJ

    There is a simple solution: copy and rename the “example” files.

    Notepad++ is looking for files called “langs.xml” and “stylers.xml” and both are in the programs home directory (with the “exe” file), except, they are named “langs.MODEL.xml” and “stylers.MODEL.xml” respectively.

    Simply make copies in the same directory and rename both copies, remove the part that says “-copy” and “.model” from the name so they both are named"langs.xml" and “stylers.xml” and whala! It works!

    These “model” versions are meant to be examples, to model the method of use for cutomization and serve as backups in case you bork the files once you edit/customize them, that way you’ll always have the backups handy to fix or start fresh.

  • Double click not selecting all occurrences of a word

    13
    0 Votes
    13 Posts
    2k Views
    Terry RT

    @Peter-Finch said in Double click not selecting all occurrences of a word:

    downgrading to 8.2 fixed the issue and I can now open a 649MB log file and highlight text.

    Glad you have a solution.

    Might I suggest installing the “portable” version of 8.2 for this type of work, then you can also have the latest “installed” version for any other work if you require some of the latest features.

    If you do so, then the installed version gets auto updated (if you have that setting), whereas the portable will never auto update.

    I think some who operate this way also have the portable version colourized so status bar etc help them to realise which version they are running.

    Terry

  • Delete lines with a date older than a week old.

    5
    0 Votes
    5 Posts
    466 Views
    Dennis PratherD

    Thank You ill give it a try.

  • Can NPP find my MinGW inside NPP Folder?

    4
    0 Votes
    4 Posts
    285 Views
    PeterJonesP

    @Dedi said in Can NPP find my MinGW inside NPP Folder?:

    @Ekopalypse
    Thank you for your reply. I already found out how.

    FYI, when you update NPP, assuming you put it under a different folder name, you will have to edit your script to match. If you use what @Ekopalypse suggested, you won’t have to:

    ENV_SET PATH = $(NPP_DIRECTORY)\MinGW;$(NPP_DIRECTORY)\MinGW\bin NPP_SAVE cd $(CURRENT_DIRECTORY) g++ -Wall $(FILE_NAME) -o $(NAME_PART) NPP_RUN cmd /k $(NAME_PART)

    hope this helps

  • Notepad++ 8.4.4.0 64-bit, instant crash. Windows 10

    12
    0 Votes
    12 Posts
    1k Views
    Dean-Ryan StoneD

    @PeterJones I had that file in the folder, but it was empty.
    Because I’m paranoid enough to backup my APPDATA folder to multiple locations local as well as on NAS, I found the older file and just copied back in the contents into the empty file.

    Now I see the following when going to execute NPPExec Script:

    f02db324-3ae6-4f5f-9459-a794486c9492-image.png

    Notepad++ 8.4.4 non-portable now starts up without error/console. Hooray!

    Because I’m also using ExtSettings to modify the ascent/descent settings I’m probably doubling up on things but hey.

    For the life of me I don’t know the original reason that NPP was failing to start, but for right now it’s working great and I’m happy.

    Thank you both for your wisdom and assistance!

    Regards
    Dhry

  • How do I create a new User Defined Language "based on" an existing one ?

    13
    0 Votes
    13 Posts
    5k Views
    EkopalypseE

    @Chal-Chinehsoyo

    see here for the news :-)

  • Why isn't CSV a file type?

    4
    0 Votes
    4 Posts
    2k Views
    Michael VincentM

    @don-Vickers-0

    Realize your issue is just filter when opening, but if you’re opening CSV files you’re probably working with them - and hope you’re aware of 2 great CSV plugins for Notepad++:

    https://github.com/jokedst/CsvQuery https://github.com/BdR76/CSVLint

    Cheers.

  • 0 Votes
    4 Posts
    2k Views
    PeterJonesP

    @Игорь-Алексеев said in Изменение параметров выделенного текста:

    And how can you get out of the situation?

    There isn’t a “situation” to get out of. Text files have no concept of bold, so Notepad++ cannot make text in the text file bold. If you want to control presentation like that, a text file and a text editor are not the right format and tool for you. (I think you need to learn the difference between a text editor and a word processor.)

  • Menu has a gap after upgrade to v8.4.4

    3
    0 Votes
    3 Posts
    247 Views
    Senthil AkS

    @PeterJones thanks so much for the information.

  • Error message on start about (deselected) GedcomLexer plugin.

    2
    0 Votes
    2 Posts
    236 Views
    PeterJonesP

    @Arman-2 ,

    Depending on the permissions on the c:\program files\notepad++\plugins\ folder hierarchy (or equivalent), Notepad++ may try to remove the old GedcomLexer plugin, but not be successful. Your options at this point are 1) to right-click on Notepad++.exe and Run as Administrator, and see if that will allow it to fully uninstall the incompatible plugin; or 2) to delete the c:\program files\notepad++\plugins\Gedcom (or equivalent)

    And it appears that a new version of GedcomLexer has been released which you can manually download and install, to make it compatible with Notepad++ v8.4-and-newer.

  • ALTGR disable

    3
    0 Votes
    3 Posts
    373 Views
    Richard CardosoR

    @rdipardo
    it’s the real keyboard key that doesn’t work, but works perfectly on any other software.

  • UDL comment line style : long dash ( – ) symbol

    3
    0 Votes
    3 Posts
    459 Views
    Mustang MustangM

    Thanks for the hint, I think the EnhanceAnyLexer plugin is what I need and it will help. It would be better to improve UDL and include any UTF character or even emoji there, and even better its own regex rules.

  • Npp++ sometimes makes weird line terminations

    7
    0 Votes
    7 Posts
    471 Views
    PeterJonesP

    @Carmak-Cusac said in Npp++ sometimes makes weird line terminations:

    Though one reason could it be that I, as I said in my OP, used only \n instead of using \r\n when adding new lines with regex

    That is your culprit. To the regex engine, \n means LF character (ASCII 10); that is the definition.

    The Notepad++ developers are not likely to hack at a well-established regex engine to make that engine behave differently than it has for all other instances of Notepad++ and every instance of that regex engine throughout the history of the boost regex engine; sorry. It would seriously break most users expectation. The best suggestion I have for you is to learn that in Notepad++ regex, if you want to use the Windows EOL in replacements, you must use the syntax of \r\n, not just \n.

  • What is lint

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @Jeewaka-Karunaratne said in What is lint:

    how to install notepad++

    Go to the official downloads section at https://notepad-plus-plus.org/downloads/, download the installer, run the installer

    what is lint

    Lint” is the fuzzy stuff that comes off clothes in the dryer, and has nothing to do with Notepad++

    A “lint” tool (aka, “linter”)" is a tool that checks the syntax of source code for correctness, bugs, and stylistic errors. If you are typing your code in Notepad++, there are ways to pass that code through an external program like a linter, but there isn’t a linter built into Notepad++.

    I am not sure how the “lint” subject of your post has anything to do with Notepad++, or why you asked that part in conjunction with “how to install notepad++”.

    Further discussion on linters does not belong in this forum, unless it is focused on Notepad++ (and I’m doubtful that it would be).

  • Print formating

    2
    0 Votes
    2 Posts
    210 Views
  • sidebar with lines i need to have reference to

    7
    0 Votes
    7 Posts
    564 Views
    Sylfir The WhiteS

    Thx for the info you provided. I got it at least. It is just a simple “(page |rule ).*?$” regex after all.

  • Right mouse click - Install wizard appears

    2
    0 Votes
    2 Posts
    899 Views
    PeterJonesP

    @SVB-Informatik ,

    When you say “right mouse click on a file”, do you select an option from Windows right-click menu? Or is right-clicking alone (with no selection) enough to trigger this wizard?

    If it happens with any right-click, without choosing a menu option, I am assuming you didn’t actually download the installer from https://notepad-plus-plus.org/downloads/ , and that you got a corrupted / infected copy. Make sure you always download from the official source.

    If you mean you "right click on a file and select Edit With Notepad++, then either you have an unofficial/infected copy, or somehow your Edit With Noteapad++ entry got pointed to the installer instead of to the notepad++.exe executable. You will need to edit your registry to fix the latter.

    If you mean you “right click on the file and select Open With and pick Notepad++ from that”, I will assume that when you did the first Open With, you accidentally tried to Open With the Notepad++ installer instead.