• Please Read This Before Posting

    Pinned Locked
    1
    7 Votes
    1 Posts
    7k Views
    No one has replied
  • v8.7 Search Results Missing

    Pinned
    15
    0 Votes
    15 Posts
    4k Views
    xomxX

    This v8.6.9-v8.7.2 issue has been fixed (GitHub commit).
    The fix will be included in the next Notepad++ version (probably v8.7.3).

    @PeterJones
    I would leave this topic pinned for a while longer until the fix reaches most N++ users.

  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    17k Views
    Mike NewmanM

    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.

  • 0 Votes
    5 Posts
    77 Views
    LoisL

    @Terry-R This has worked perfectly. Its a very long document so this was great. Thanks again, greatly appreciated.

  • Show/hide tab or change tab width

    3
    0 Votes
    3 Posts
    56 Views
    VTGroupGitHubV

    Thank you for all of the information. While it might be fun to dig into the Windows APIs again, I was hoping for something simple I could run with NppExec, etc. without a lot of coding. Since it’s not a lot of extra work to move the splitter manually, I’ll live with that for now. And maybe the MarkdownPanel team will find my request worth implementing, though it’s possible it can’t be done since one side is a NPP tab and the other is a panel.

  • Line where cursor is located disappears in line highlighting

    4
    0 Votes
    4 Posts
    546 Views
    Don WebsterD

    @rdipardo

    This still worked for me a year later, thanks!

  • HELP very new to this need help with lines please.

    3
    0 Votes
    3 Posts
    76 Views
    LoisL

    @PeterJones this worked perfectly! Thank you very much

  • Networking problem

    7
    0 Votes
    7 Posts
    653 Views
    xomxX

    @Dan-Walter-0 said in Networking problem:

    Before I open a ticket with my helpdesk, I want to know if there is anything I am missing on the application configuruation level.

    From your N++ DebugInfo, I think not.

    But could you 1st follow the instructions in my linked issue and paste here the nppLogNetworkDriveIssue.log obtained?

  • Trying to auto copy select text from a .nfo file

    3
    0 Votes
    3 Posts
    80 Views
    FreeMeowF

    @Dawn-Brockman-0 You should be able to do this with a few find and replace.

    You make copies in a new folders as you said you do, let’s say “D:\MoviesFolder” You can use “Find in Files” with Regex to remove all the rows that are not year/genre/stars. make sure the “Directory” is the correct directory so you don’t break files from other places, don’t know if there is undo for this operation. I never tried to run it on mkv/mp4, but I assume you already have files that look like the xml you provided and we use them.
    b09b9845-a2f2-49b6-a1f5-ac76a1b6d425-image.png If you want to remove the tags, you can run another find&replace with:
    Find: .<(year|genre|stars)>(.?)</\1>.*\R?
    Replace: \2\n
    You will now have only number and names so you will have to deduce yourself what is a year, what is a genre, and what is a star, but as long as Ryan Reynolds is not a genre yet you should be fine.
  • Set current directory to default if no real file is open

    12
    0 Votes
    12 Posts
    403 Views
    fml2F

    @Coises I like your idea (as I also wrote in the issue). Besides other merits, it eliminates a behaviour that has been bothering me for a long time: if you work with a real file, then switch to a tab that is not a file, then to another not-a-file-tab and remain on these for some time, you completely lose the context of the real file in your mind. Yet when you press Ctrl+O (or Ctrl+S) you find yourself in a location that you have long abandoned mentally.

  • 0 Votes
    4 Posts
    91 Views
    xomxX

    @KingRustamus

    I’ve encountered such stuff before and it was caused by the Windows ransomware protection “Controlled folder access” in action. (build in Notepad.exe works in such a case because all the Microsoft own signed binaries have a build-in exception).

    So check (try to set temporary off or add a new Notepad++.exe exception there) the Windows Settings > Privacy & Security > Windows Security > Virus & threat protection > Ransomware protection > Controlled folder access.

    If it doesn’t help, I can prepare a testing build of the notepad++.exe binary showing us exact system error code (and it’s not the ERROR_ACCESS_DENIED for sure, otherwise in the v8.8.6+ you saw the UAC-elevation prompt 1st) leading to this SaveFailed N++ messagebox.

  • NppTextFX2 not working for me in v8.8.8

    2
    0 Votes
    2 Posts
    75 Views
    PeterJonesP

    @Sinsearach ,

    Just updated after quite a long while,

    So that means it wasn’t just v8.8.8 that you had the problem with. Please only use the “Notepad++ x.y.z release” announcement topics for changes between immediately-previous version and this version. For example, that v8.8.8 topic should only mention regressions that changed behavior between v8.8.7 and v8.8.8. Any other problems you find when you jump from v8.1.5 (for example) to v8.8.8 should go in “help wanted” (where I put this duplicate discussion), and if can be confirmed as a bug in Notepad++, we will direct you on where to put in the official bug report. But it’s not an immediate regression with v8.8.8, so doesn’t belong in that discussion.

    TextFX (NppTextFX2) plugin

    mumble mumble… I wish the person who had done the conversion to make it compatible with N++ v8+ had renamed the menu and About box, not just the underlying DLL. (Not your fault, I know… but if someone accidentally just calls it TextFX, we are led to believe it’s the out-of-date incompatible plugin. So thanks for at least putting the real name in parentheses.)

    plugin will not work (appear at all), whether installed manually or through plugin admin,

    Weird. I just took portable v8.8.8 on my Windows 11 machine, and used Plugins Admin to install NppTextFX2 1.4.1, and it installed just fine. When N++ restarted, the TextFX menu was there, and I tried a couple random commands, and they did what was expected.

    I would be very much surprised if this were a Windows 10-vs-11 thing, because NppTextFX2 hasn’t changed recently, and N++ itself is tested on both Win10 and Win11…

    Yes I ran as admin.

    when did you run as admin? when you installed the plugin? or when you tried to run the plugin? or both? Because if you’ve got a portable Notepad++, it should be in a directory where you have full write access… and you shouldn’t need to Run as Admin (in fact, since v8.8.6, you probably shouldn’t need to Run As Admin for just about anything; it will individually ask for permission when writing files in protected directories). But if you installed it as Admin, maybe it broke the permissions of your portable directory

    In your portable 64-bit (you shouldn’t need to use 32-bit in modern OS): please do the following:

    go to ?-menu, and share your Debug Info with us show us a recursive directory listing of your portable Plugins directory, so that we can see that the directory hierarchy is correct (dir /S from a cmd.exe prompt, or powershell equivalent)
  • How to copy and paste large line ?

    2
    0 Votes
    2 Posts
    38 Views
    PeterJonesP

    @Arp-Rip said in How to copy and paste large line ?:

    I want to copy and paste from line 234566 to 6573242.

    Due to it is pretty large line, I can not push the mouse left key and pull.

    What kind of effective method that I can do this ?

    Ctrl+G then 234566 to go to first line, and place the caret wherever you want to start on that line Edit > Begin/End Select (or keyboard shortcut equivalent) Ctrl+G then 6573242 to go to final line, and place the caret wherever you want to end the selection on that line Edit > Begin/End Select (or keyboard shortcut equivalent) Everything between the Begin and End will be selected
  • Switch to previous/next document... was this previously asked ?

    10
    1 Votes
    10 Posts
    1k Views
    PeterJonesP

    I think what is really needed, are 2 new keyboard shortcuts to:
    (a) move to/from 1st and last tab

    View > Tab > 1st Tab already has a default shortcut of Ctrl + Numpad1 View > Tab > Last Tab doesn’t have a default shortcut, but Shortcut Mapper can assign one quite easily (Settings > Shortcut Mapper > Main menu, Filter = last, click on Last Tab and Modify to set to whatever keyboard shortcut you would prefer) Notepad++ has hundreds of menu commands (a thousand? probably pretty close). They cannot all come with default keyboard shortcuts, and the user is expected and encouraged to customize the shortcuts to match their individual needs.

    (b) move to/from previously selected tab.

    If Settings > Preferences > MISC page’s Document Switcher section has both ☑ Enable and ☑ Enable MRU behavior turned on, that’s exactly what Ctrl+TAB does. If you don’t hold down the Ctrl, it just toggles between the current tab and the previously-used tab. And if you hold down the Ctrl, it allows you to navigate through in order from most recent (top of list) to least recent (bottom of list).

    So all three features you mentioned already exist, and 2 out of the 3 have default keyboard shortcuts already defined. So to get everything you want, you just have to use the Shortcut Mapper to assign a key to the Last Tab command (which might naturally go to Ctrl + Numpad0, to align with the the Ctrl + Numpad1 for the 1st Tab).

    Useful References Document Switcher feature: https://npp-user-manual.org/docs/user-interface/#document-switcher Document Switcher preferences: https://npp-user-manual.org/docs/preferences/#misc
  • Display in NPP

    23
    1 Votes
    23 Posts
    5k Views
    mtnessM

    @mpheath
    Thank you very much, adding these lines to the startup.py did indeed solve the problem og not correctly highlighted brackets with modern css selectors!

  • 0 Votes
    4 Posts
    181 Views
    It'sAWonderfulLifeI

    @PeterJones

    Thanks for pointing me to that Github issue. I somewhat researched the topic (using VS code/Electron) repos and added a suggestion there.

    The issue, I think, is that instead of using a dedicated shell API, Notepad++ tries to manually launch an Explorer process.

  • 0 Votes
    9 Posts
    2k Views
    PeterJonesP

    @luk3Z ,

    You could share it in the centralized NppThemes Collection at https://github.com/notepad-plus-plus/nppThemes/ , which makes it easier for people to look through available themes (and with the CollectionInterface plugin being able to directly access that Collection, the plugin can simplify their installation process)

  • Working with "User Defined Language"

    4
    0 Votes
    4 Posts
    114 Views
    PeterJonesP

    @James-Burke-0 ,

    Also, please don’t waste our time by asking the same question repeatedly in different ways. I told you this in early November, in this post, where I said, “instead of providing you a Save button…”, and went on to explain the same thing.

    It’s very annoying to go to all the trouble of giving a detailed answer, and then to get proof that the answer is completely ignored by the person who asked.

  • Run Notepad++ as commandline to edit and save

    10
    0 Votes
    10 Posts
    362 Views
    Ian HicksI

    @Ian-Hicks Hit a few too many speedbumps, so retraced my steps and found a solution using MSXML. Output isn’t as elegant, but it’s readable, so provides a solution to my problem

  • Find Text Copied From Excel Cell

    7
    1 Votes
    7 Posts
    211 Views
    guy038G

    Hi, @mark-anderson, @peterjones, @alan-kilborn and All,

    Phew ! More fear than harm ! See my very last issue_comment :

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17227#issuecomment-3591646890

    BR

    guy038