• 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
    16k 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.

  • Seperating words in between dash with a line break

    3
    1 Votes
    3 Posts
    56 Views
    Matthew HabashM

    @PeterJones Thank you for the explanation and my apologies for the confusion. I meant for both sides of lines to have the same number of dashes. I guess I did not catch that.

    Your regex code worked and that was what I needed. Thank you very much!

  • Default LF and not CRLF

    5
    0 Votes
    5 Posts
    170 Views
    PeterJonesP

    @flaviozluca said in Default LF and not CRLF:

    Thanks but in short, so I cant change the default always to default LF?

    In short, your statement is 100% wrong.

    Notepad++ does save the default for new files, as I described above, in detail. Since you don’t seem to want to read that, I will shorten it for you: Open exactly one instance of Notepad++ (no more, no less). Set Settings > Preferences > New Document > Format (Line Ending) to Unix (LF). Exit Notepad++. Then the next time you start Notepad++, all new files you create will use that line ending.

    This obviously doesn’t change the line endings on existing files – existing files are saved with the bytes for either CRLF or LF already. If you open a file that’s already saved with CRLF, you can change the line endings with the Edit > EOL Conversion … sub-menu actions, or by right-clicking on the line-ending indicator on the status bar.

  • Windows ARM64 25H2 Notepad++ 8.8.7 doesn't start

    2
    0 Votes
    2 Posts
    116 Views
    xomxX
    Faulting Application Name: notepad++.exe, Version: 8.8.7.0, Timestamp: 0x68f18314 Faulting Module Name: USER32.dll, Version: 10.0.26100.6682, Timestamp: 0xa7e65d01 Exception Code: 0xc000041d Faulting Offset: 0x00000000000197e8 Faulting Process ID: 0x5314 Faulting Application Start Time: 0x1DC49E7DE285F5C Faulting Application Path: C:\Program Files\Notepad++\notepad++.exe Faulting Module Path: C:\WINDOWS\System32\USER32.dll

    Exception Code: 0xc000041d is a common NTSTATUS meaning “An unhandled exception was encountered during a user callback”. I can’t say what exactly is the problem only from the info above, but 1st I’d try to reproduce this problem with a freshly downloaded and unzipped portable arm64 v8.8.7 version (the portable version test eliminates possible N++ misconfiguration possibilities and also any external plugin problem).

    If the portable version shows the same problem, there is not much we can do with it from the N++ side. Since it was working fine before the Windows update, it’s most likely a Windows bug and you can try reporting it to Microsoft or simply wait for the next Windows update to fix it (if that is really an inherent Windows bug, they will know about it from the automatic Windows apps error report telemetry).

  • 0 Votes
    9 Posts
    278 Views
    mpheathM

    @SuperCPU

    Do you have a solution for changing the background color for the lines after keyword “ENDCODE” too?

    A solution requires planning and development though only STARTCODE was previously mentioned. Now may need to revise the solution to what satisfies the new requirement. Indicators cannot do the entire width of the window though styles can do EOL filled styling.

    A UDL might be adequate with a little styling enhancement with LuaScript.

    Define a new UDL from menu Language -> User Defined Language -> Define your language... Set Default style backgroud to grey. Need to click styler button to access the styler dialog. Go to delimiters tab and for style 1 set Open as STARTCODE and Close as ENDCODE. Optionally. Click styler button and set background to a preferred color or set as transparent. Save UDL with a name.

    The lua script:

    local function EnhanceDoc() -- Enhance UDL with STARTCODE. if editor.LexerLanguage == 'user' then local start_pos = editor:findtext('^STARTCODE$', SCFIND_REGEXP | SCFIND_MATCHCASE) if start_pos then -- Style 0. local bg0 = editor.StyleBack[0] editor.StyleEOLFilled[0] = true -- Style 16: Delimiter 1. editor.StyleEOLFilled[16] = true -- Style 24: Terminator. editor.StyleBack[24] = bg0 editor.StyleEOLFilled[24] = true end end end npp.AddEventHandler('OnReady', function() EnhanceDoc() npp.AddEventHandler('OnSwitchFile', EnhanceDoc) end)

    May need to restart Notepad++ after setup of the UDL and the Lua code. Once the editor is ready and the document is active, then set the language to the UDL.

    Viewed with the default theme:

    startcode2.png

    The Python console shows the Style IDs in red so you know where the 0, 16 and 24 originate from.

    Other scripting plugins should be able to apply styles with similar code.

  • How to show web links with a different color in Notepad++ ?

    3
    0 Votes
    3 Posts
    151 Views
    SuperCPUS

    @PeterJones

    Changing only the ink color is much better than nothing, it works very well, thank you!

  • Marking Sing Letters In a Document To Clear

    5
    0 Votes
    5 Posts
    83 Views
    Drake_M__D

    @Terry-R

    Your second option \sR(\s|$) worked like a charm.

    Thanks so much for the insight - huge help!

  • 0 Votes
    3 Posts
    86 Views
    NicholasN

    winget install Notepad++.Notepad++

    I think the sandbox has winget. It has been a while since I have used it. Use -i if you want to select install options.

  • Project files updated

    2
    0 Votes
    2 Posts
    341 Views
    PeterJonesP

    @Ollivier_64_fr said in Project files updated:

    Hello everyone,
    I have a question about project management: would it be possible to update project content without having to delete all the files and recreate the project? I searched the options without finding a solution… it might be more convenient.
    I hope this question hasn’t already been asked. I searched the forum before posting here without finding anything.
    Thank you for your answers.

    What exactly do you mean by “update project content”? The project panels (https://npp-user-manual.org/docs/session/#project-panels) aren’t “live”, in that they don’t automatically add or remove files from a folder (because “projects” are meant to be independent of the underlying folder structure). But you can manually add or remove files from a given project at any time, without deleting and recreating it.

    If you are looking for something that’s directory based, rather than manually adding/removing files, then the closest feature to what you want is Folder as Workspace (https://npp-user-manual.org/docs/session/#folder-as-workspace), though that shows all files in the folder hierarchy, rather than just specific filetypes.

  • Strong Flickering

    6
    0 Votes
    6 Posts
    334 Views
    Harold hoangH

    @BUILMOND-interactive same problem on Snapdragon Windows Laptops - once changed to GDI the flickering across the screen is gone - seems the flickering has to do /w the cursor position flicker

  • How to jump to the other end of selection?

    3
    0 Votes
    3 Posts
    151 Views
    fml2F

    @PeterJones ,

    thank you for the description! A did it and it works like a charm! It is indeed amazing what’s possible with Notepad++! Likewise it’s also amazing what a friendly and helpful community it has!

  • Sorting the pull down list of open files

    2
    0 Votes
    2 Posts
    82 Views
    Terry RT

    @Michael-Fuerst

    As you have probably determined already, the initial list is in terms of “time opened”. However once you use the “Sort By” option it will present the open tabs in the order you want select (using options available). That is then saved as the new order of tabs, even if Notepad++ is closed and re-opened.

    This was asked for recently and the thought is that it’s unlikely to be added as an option, but if you read the FAQ posts you could present a request.

    Terry

  • Separately set the beginning and the end of selection

    4
    0 Votes
    4 Posts
    123 Views
    PeterJonesP

    @fml2 said in Separately set the beginning and the end of selection:

    Goes to study the NP++'s menues

    https://npp-user-manual.org/docs/editing/#edit-menu
    is a good place to start. The other menus are described in appropriate places in the manual

  • Style Configurations Reset After Update

    10
    0 Votes
    10 Posts
    283 Views
    PeterJonesP

    @subodhjaiswar said in Style Configurations Reset After Update:

    @PeterJones

    When my IT admin gave me my laptop with my ID(Domain) configured as part of local administrator group, I just simply install NP++ by downloading from Chrome.

    Being part of the administrator group does not force Notepad++ to run in Admin mode. I have always been part of the administrator group, both on my personal PCs and on my work machines. I do not run Notepad++ as administrator.

    Then I launched from desktop, or Start–>N+±-> Enter

    Did you look at those shortcuts, as I explained?

    Then I pinned NP++ and every time my laptop restart I launch NP++ from taskbar

    Did you look at that shortcut, as I explained?

    Since my TP is a single user and no other user I am not sure how to run NP++ with No Admin

    I gave you detailed instructions on how to look for the “Run this program as an administrator” checkbox, both for shortcuts and for the notepad++.exe executable. You have to find the ones that are checked, and uncheckmark them

    Please advise on how do I retain my style settings.

    The instructions already given told you the first step. If you ignore the first step, you cannot hope to fix your problem.

  • [FORK] after v8.8.2 is slow to launch

    4
    0 Votes
    4 Posts
    214 Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

    So updating to 8.8.7 should eliminate the problem originally described.

  • EV GLOBAL SIGN BROCKEN

    3
    0 Votes
    3 Posts
    204 Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

  • File Open is bugged in versions later than 8.8.2

    12
    0 Votes
    12 Posts
    678 Views
    PeterJonesP

    UPDATE: With the release of v8.8.7, Notepad++ is once again signed by a GlobalSign-issued certificate, as well as the Notepad++ self-signed certificate.

    The certificate instructions (above) are still appropriate for confirming the self-signed certificate, but with the GlobalSign-issued certificate, the procedure is not as critical on v8.8.7 and newer.

  • Setup Notepad++ with cloud syncing?

    16
    0 Votes
    16 Posts
    57k Views
    Edgar RamirezE

    @Vito-Evola I’ve got the simplest workaround and tested it… Download the portable version of Notepad++ and unpack Notepad++ inside a folder in Dropbox.

    Is that simple, both computers found the txt files and since my files are also inside Dropbox then no broken files.

    Hope you find this helpful!