Community
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    • Claudia SvensonC

      Re-Assign hotkey: Conflict found --> auto-delete previous assigment?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      465 Views
      mathlete2M

      @PeterJones said in Re-Assign hotkey: Conflict found --> auto-delete previous assigment?:

      Once you know for sure which one you want to not use that shortcut, you just have to click on it and choose Clear

      Unless it’s a Scintilla command; as discussed in this thread, those are much more cumbersome to clear.

    • Alan KilbornA

      PythonScript detect saved/unsaved file state at startup

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      817 Views
      Alan KilbornA

      After long delay, I made an official Notepad++ issue out of this:

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16514

      In the issue, I switched to using NppExec to reproduce, rather than PythonScript, lest it be interpreted as a PS bug and not a N++ bug.

    • Claudia SvensonC

      How to disable FindHistory and FileEditViewHistory? auto-clear at exit?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      15
      0 Votes
      15 Posts
      1k Views
      Alan KilbornA

      @MarkusBodensee said:

      Highlight the entry in the dropdown and press Del to delete.

      To extend this idea, drop down the combobox, then press and hold Del (aka Delete) to remove all entries (ask the key repeats).

    • Andrea Astolfi 0A

      Fullscreen - X icon to close isn't enought on top right corner

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · aspect
      2
      0 Votes
      2 Posts
      177 Views
      Alan KilbornA

      @Andrea-Astolfi-0

      Didn’t you already say this, HERE ?

      This is a long-known issue; I could be wrong but I believe the reason it hasn’t been fixed is that it is related to other problems Notepad++ has with “high dpi” screens…

      If you’d like, you can find the issue in the official Notepad++ issue list, start HERE, and add a comment (to the existing issue) in the form of an “I noticed this too and would like it fixed”.

    • K

      Slight issue with plugin's toolbar bitmap when switching light/dark mode

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      1 Votes
      8 Posts
      698 Views
      K

      And now - whilst i was a bit irritated why i should not have seen during my tests that indeed ‘LR_LOADMAP3DCOLORS or LR_LOADTRANSPARENT’ would remove the ‘looks like focusing’ effect too, i repeated the steps for a check. And what do i see? Hello again, the ‘focusing effect’ is back:
      marked_active.jpg

      Crazy & curious … and not severe, indeed. But not understandable neither …
      as i only became aware of this because this did NOT happen with other plugins, eg. the explorer plugin.
      But meanwhile i think it’s ‘normal’ for an active (loaded) plugin to show up with a kind of ‘active’ marker.
      Is it as such, and i simply was misleaded by, eg., the explorers bitmap rendering?
      At least others like JSONViewer or the HelloWorldPlugin itself use the active indicator too:
      HelloWorld_active.jpg
      So, maybe a simple misunderstanding … but is the marker done from the NPP core itself, or by a statement from a plugin?

      Btw: yes, NPPM_SETMENUITEMCHECK had been called indeed (in the plugin’s “FormDock” procedure).
      But it doesn’t make a difference if i either omit this call, or use ‘false’ for the “doCheck” parameter:

      SafeSendMessage(self.Npp.NppData.NppHandle, NPPM_SETMENUITEMCHECK, self.CmdID, 0);
    • Mark OlsonM

      JsonTools v5.5. is live!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development json jsonviewer plugins
      15
      7 Votes
      15 Posts
      8k Views
      Mark OlsonM

      JsonTools v8.4, which adds translation to several more languages and a few minor bugfixes, is live.

      It has been tested and appears to work well for versions of Notepad++ ranging from 7.3.3 to 8.8.1, both 32-bit and 64-bit.

    • donhoD

      Notepad++ v8.8 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      7
      4 Votes
      7 Posts
      5k Views
      N

      @donho said in Notepad++ v8.8 Release:

      @Neymar44
      The bug has been fixed in v8.8.1. Here is v8.8.1 RC:
      https://community.notepad-plus-plus.org/topic/26833/notepad-v8-8-1-release-candidate

      The glitch indeed disappeared in the last 8.8.1 RC, thank you !

    • donhoD

      Notepad++ v8.8.1 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      5 Votes
      2 Posts
      749 Views
      donhoD

      Another regression has been found here:
      https://community.notepad-plus-plus.org/topic/26815/notepad-v8-8-release/4?_=1746291034345

      The regression has been fixed in the new binaries:
      http://download.notepad-plus-plus.org/repository/8.x/8.8.1.RC2/

    • Peter 1966P

      Column Editor incrementetion is not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1 Votes
      4 Posts
      370 Views
      Peter 1966P

      Thank you

    • grievousangel-wtjG

      New User Questions?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      231 Views
      mkupperM

      @grievousangel-wtj Have you seen the gcode add-on for Notepad++ https://ncnetic.com/notepad-gcode-plugin/

      It’s for G-code while you mentioned G/M-code. I don’t know if that makes a difference.

      As I don’t have a CNC I don’t know if the plugin offers the coding help features you are looking for.

    • Alan KilbornA

      Two buffer-activated notifications instead of just one

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      3 Votes
      7 Posts
      671 Views
      Alan KilbornA

      I noticed a workaround; consider the following script:

      # -*- coding: utf-8 -*- from __future__ import print_function # Python2 vestige! # see https://community.notepad-plus-plus.org/topic/26799 "Two buffer-activated notifications instead of just one" from Npp import notepad, NOTIFICATION last_known_doc_index_by_view = [ notepad.getCurrentDocIndex(0), notepad.getCurrentDocIndex(1) ] def find_docindex_from_buffer_id_via_enumeration(test_buffer_id, must_be_in_this_view): for (pathname, buffer_id, index, view) in notepad.getFiles(): if view != must_be_in_this_view: continue # needed to find the right doc in case of cloned doc if buffer_id == test_buffer_id: return index return -1 # never happens def bufferactivated_callback(args): cfn = notepad.getCurrentFilename().rsplit('\\', 1)[-1] # only the filename, no directory print('BUFFERACTIVATED:', cfn, 'args=', args) current_view = notepad.getCurrentView() current_doc_index = notepad.getCurrentDocIndex(current_view) curr_doc_index_via_enumerating = find_docindex_from_buffer_id_via_enumeration(args['bufferID'], current_view) if current_doc_index != curr_doc_index_via_enumerating: print(' NOT A NEEDED ACTIVATION NOTIFICATION!!!!!!') return print(' HANDLING A REAL ACTIVATION NOTIFICATION!') if last_known_doc_index_by_view[current_view] == current_doc_index: print(' note: THIS DOC WAS ALREADY ACTIVE IN THE ITS VIEW -- so was an activation notify really necessary?') else: last_known_doc_index_by_view[current_view] = current_doc_index notepad.callback(bufferactivated_callback, [NOTIFICATION.BUFFERACTIVATED])

      This workaround works because the “index” reported with the bogus notification is also bogus, and the correct index can be found by looking through the entire tab list for the right buffer id.

      A subtle point of the script is that it can also detect when the active tab in the inactive view is activated by the user.

    • goolyG

      posting code (by copy & paste) with line numbers

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · copy and paste line number
      18
      0 Votes
      18 Posts
      2k Views
      Lycan ThropeL

      @PeterJones said in posting code (by copy & paste) with line numbers:

      @Lycan-Thrope ,

      If it’s automatically picking the D language, have you looked at Settings > Preferences > New Document > Default Language – does it say D instead of None (Normal Text)? If so, change that preference back, and it will go back to defaulting to normal text. (That setting cannot be affected by UDL, so I don’t see how your dBASE UDLs could be doing anything to influence it…)

      @PeterJones ,
      Thanks, this was the cause.
      Now that I think back, I think I was doing a help in the forum and used that to show the language setting and take screenshots…and forgot to put it back. DOH!!
      Back to normal…thanks for curing my forgetfulness. :-)

    • donhoD

      Notepad++ v8.8.1 Release Candidate will be out in less 2 days

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      510 Views
      No one has replied
    • Alan KilbornA

      As time goes by... if you've been around long enough to notice...

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      4
      4 Votes
      4 Posts
      404 Views
      CoisesC

      @donho said in As time goes by... if you've been around long enough to notice...:

      It’s not me who created this account for Notepad++. Or more accurately, it’s not Notepad++ official reddit account. Personally, I have even no account on reddit?

      As far as I know, anyone can create a sub-reddit if the name isn’t already taken. There’s no endorsement implied unless there’s an explicit indication to that effect. (There is not for this one.) This was created in 2013, but the two current moderators joined in 2022 and 2023, which means the original creator is no longer involved.

      It doesn’t get much traffic — about one post every two days. I only stumbled across it a couple of months ago. (I’ve been on Reddit over ten years.) If I ever see a problem that’s truly interesting, I’ll send them over here… hasn’t happened yet.

    • donhoD

      Software & cathedrals are much the same...

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      4
      4 Votes
      4 Posts
      385 Views
      donhoD

      @Lycan-Thrope

      Not your fault. Whoever made the shirt thinks they’re typing on an SMS messaging app. :)

      Thank you for finding the excuse for me! :)

    • dr ramaanandD

      Find <strong> and </strong> tags but skip it between <p class="translate and </p> and skip words like "stronger"/"strongest"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      630 Views
      dr ramaanandD

      @guy038 Thank you very much. @PeterJones I don’t come here to “fight” with anyone - I linked to the explanation of the SKIP/FAIL method by @guy038 just to help future readers to understand it. I am sorry if I have hurt you but that was not my intention. I request others to comment if any of my posts seem offensive and why they seem so (if they deem it so) - I will correct myself.

    • K

      Bold font style change on Linux Mint

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · linux font style bold
      12
      0 Votes
      12 Posts
      943 Views
      PeterJonesP

      @kapenike said in Bold font style change on Linux Mint:

      @PeterJones yes I agree, I believe the OP is ------. Keep it to reddit

      Either I have misunderstood what you were implying by that term, or I think you seriously misunderstood me somewhere along the way. I was never intending to insult or otherwise denegrate you – and I would never use the term that I think you were trying to obfuscate to refer to anyone.

      As @mathlete2 said, maybe you just forgot that you had different settings on the two; or, as all I was trying to say, you maybe didn’t notice that it was a plain text file on one machine and a syntax-highlighted file on another.

      Or maybe that wasn’t the cause at all: given the symptoms you described, and the resolution that you said works, I cannot, right now, think of anything else that would have matched your description on both sides of the equation, which is why I currently believe that; but if you have evidence to the contrary, then great. If you wanted to help figure out why things were behaving differently on Windows and Wine for you, then provide some more evidence, and we can try to help you figure it out; or if you’ve got a solution that works for you, and you don’t care about the cause, that’s fine – but I was honestly not in any way trying to insult or attack you.

    • donhoD

      All the off-topic go here

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      3
      3 Votes
      3 Posts
      561 Views
      Jim DaileyJ

      Hello to you, @guy038. You said

      BTW, The parentheses to surround the part FNR,$0 are not mandatory, at least with gawk v4.0.2.

      You are correct, but I can’t bring myself not to use parenthesis with print() and printf(). But that’s just the start of my “non-standard” AWK behaviors. As an example, any substantial script I write will start thusly:

      BEGIN {exit}

      How’s that for non-standard?! :-)

    • C BaccaC

      On install regsvr32 has stopped working

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      191 Views
      xomxX

      @C-Bacca said in On install regsvr32 has stopped working:

      On windows Server 2013

      Do you mean Windows Server 2012 R2 (Windows 8.1 based)?

      (I can try to test the same in a VM but has to be sure which Windows…)

      @C-Bacca said in On install regsvr32 has stopped working:

      I have limited permissions to install on this dev machine so I installed

      From your error messages is clear that there is a problem with registering the Notepad++ context menu shell extension (NppShell). Since only “system-wide” registration (which in turn needs the admin-rights anyway) is currently supported for NppShell, I would simply choose to install without this shell extension during installation:
      npp-installer-no-NppShell.png

      Other workaround is to use a portable N++ version instead, e.g. here is the link to the latest v8.8 (x64): https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.8/npp.8.8.portable.x64.zip

      Just unzip that to your writable folder of choice and run there the Notepad++.exe. And portable N++ versions do not contain the NppShell at all, so no similar regsvr32 problem is possible…

    • C BaccaC

      How do I sort strings separated by commas?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      372 Views
      Alan KilbornA

      @C-Bacca said in How do I sort strings separated by commas?:

      is there a way to make this a series of steps, like a macro,

      Yes, you should be able to record it and save it as a macro.
      Note that Step 1 would not be part of the macro, but would be something that you have to do before running the macro.
      For more on macros see HERE.