• 0 Votes
    15 Posts
    2k 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).

  • 0 Votes
    2 Posts
    270 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”.

  • 1 Votes
    8 Posts
    1k 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);
  • JsonTools v5.5. is live!

    Notepad++ & Plugin Development
    15
    7 Votes
    15 Posts
    9k 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.

  • Notepad++ v8.8 Release

    Announcements
    7
    4 Votes
    7 Posts
    6k 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 !

  • Notepad++ v8.8.1 Release Candidate

    Announcements
    2
    5 Votes
    2 Posts
    891 Views
  • Column Editor incrementetion is not working

    General Discussion
    4
    1 Votes
    4 Posts
    580 Views
    Peter 1966P

    Thank you

  • New User Questions?

    General Discussion
    2
    0 Votes
    2 Posts
    318 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.

  • 3 Votes
    7 Posts
    953 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.

  • 0 Votes
    18 Posts
    3k 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. :-)

  • 2 Votes
    1 Posts
    577 Views
    No one has replied
  • 4 Votes
    4 Posts
    666 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.

  • Software & cathedrals are much the same...

    Humour
    4
    4 Votes
    4 Posts
    668 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! :)

  • 0 Votes
    7 Posts
    961 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.

  • 0 Votes
    12 Posts
    1k 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.

  • All the off-topic go here

    Pinned Boycott Notepad++
    3
    3 Votes
    3 Posts
    794 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?! :-)

  • 0 Votes
    2 Posts
    322 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…

  • 0 Votes
    5 Posts
    591 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.

  • 1 Votes
    9 Posts
    2k Views
    mkupperM

    @PeterJones said in Is the shortcut mapper dialog box broken?:

    Could you download the appropriate artifact for your installed Notepad++, and see if this build fixes it for you?

    I’m now using both the MSVC.x64.Release and MSVC.Win32.Release Notepad++.exe files. The shortcut mapper issue has been fixed. Thank you @PeterJones

  • How do I add a macro to toolbar

    General Discussion
    8
    0 Votes
    8 Posts
    1k Views
    Leszek HelakL

    @PeterJones
    Thanks, I understand