• 0 Votes
    4 Posts
    244 Views
    PeterJonesP

    @PeterJones said in possible to create a openfile dialog under jn-npp-plugin ?:

    Or the plugin has a wiki , so that documentation might help you with your issue.

    For example, this page in its wiki describes how to call win32 api functions from the plugin. Using that, and the topic that @Alan-Kilborn linked, where @Ekopalypse showed how to wrap that same win32 api dialog using PythonScript plugin, combing the two ideas might allow you to do the same wrapping in jn-npp-plugin.

  • Columns++ display anomaly

    Notepad++ & Plugin Development
    13
    0 Votes
    13 Posts
    2k Views
    CoisesC

    @Laurie-Stearn said in Columns++ display anomaly:

    Out of interest, getting similar behaviour in a UDL when selecting Arial as font as opposed to Consolas:

    <WordsStyle name="COMMENTS" fgColor="008000" bgColor="000000" colorStyle="1" fontName="Arial" fontStyle="2" nesting="0" />

    As before type a long line of text which overflows the wrap limit thus

    texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext

    Then insert before it the opening comment tag:

    /*

    Solid pink line appears below the long line which prevents any cursor movement below with down-arrow.

    Replacing Arial with Consolas for example doesn’t repro.
    Some rare irreproducible glitchiness with pink lines may occur in other situations by just typing the slash instead of the asterisk.

    Edit: Just realised this is for a plugin not installed - the issue seems to be with N++ itself. Sorry.

    When it happened with my plugin (Columns++) the cause turned out to be a wrapped line getting shorter (due to tab layout changing), so that it needed one less wraps. The solution involved temporarily disabling Scintilla’s line cache: something that can cause slow processing in large files with word wrap on. The problem doesn’t happen when editing itself makes the line shorter; it happens when something done after the editing is complete (like recalculating tab widths, or changing styles) causes the line to get shorter.

    My guess is that in this case, the text wraps to n lines after editing, before the new styling is applied; then, when styling is applied, the text only requires n-1 lines for wrapping, and the leftover line is magenta-marked. That marking is a Scintilla “feature” to show that something went wrong. (Why it doesn’t just correct the wrapping instead, I don’t know. Scintilla is open source, but it’s still pretty much a black box to me.)

    The practical fix is probably to avoid specifying different fonts (or font variations with differing widths) for different styles if you expect to use them with word wrap. For performance reasons, turning off the Scintilla line-wrapping cache would not be something Notepad++ would do.

  • Line wrap on line 1000 can cause continual wiggles

    General Discussion
    3
    0 Votes
    3 Posts
    306 Views
    Alan KilbornA

    @Steve-Rhoads

    This is a known issue, reported several times. Here’s one of those times (that links to some others): https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13341

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

  • 0 Votes
    3 Posts
    369 Views
    xomxX

    @Freon-Sandoz-0 said in Feature Request: Ask before deleting record of current files:

    from the record

    Maybe it’s about the already opened N++ session files and not about the recent files list?

    If so, rather check the Preferences > Backup > Remember inaccessible files from past session.

    More info in: https://npp-user-manual.org/docs/session/#inaccessible-files-in-an-active-session

  • Project files updated

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    396 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.

  • Help for a JSON formatting.

    General Discussion
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    @Mudassir-Raza said in Help for a JSON formatting.:

    That JSON snippet looks fine — it’s just not indented properly, so it’s hard to read.

    And has syntax errors, since there are four arrays and two objects which are not properly terminated.

    You can format JSON in a few ways:

    In Notepad++, install the JSON Viewer plugin (as you already did).

    Or the JsonTools plugin mentioned above. I tried both on the original data: JSON Viewer refused to format it, because of the syntax errors. JsonTools warned about the syntax errors, but then made its best guess to close off the arrays and objects and then formatted it.

    Or, if you just want something quick in the browser, try a free online JSON viewer — it shows tree view and highlights errors instantly.

    This is a Notepad++ forum. Unless Notepad++ has no way of doing it, and especially for first-time posters, it is frowned upon suggesting external tools. And since both JSON Viewer and JsonTools can help with that messy data, to some extent, there is no reason to advertise external tools – they both have error detection, they both have pretty-printers, and they both have tree-view panels available, which covers all the features you mentioned of the website, so I can see no good reason to bring up that site.

    Given that the conversation was a year old, and the only new information you added was the advertisement for an external website, I was tempted to ban you as a spammer. And since I’m still not convinced that website traffic isn’t the only reason you posted, I am de-linkifying your post. Anyone who is curious about the site you’ve advertised will still be able to figure out where it is, but it will prevent automatic crawlers from wasting site bandwidth here as a redirect to the site you advertised.

  • Featured special event !

    Blogs
    2
    8 Votes
    2 Posts
    1k Views
    guy038G

    Hello, All,

    In summary, a wedding is :

    Lots of preparation the day before

    Lots of celebrations in the evening and the night

    Lots of cleaning up the next day

    We were extremely fortunate to have beautiful weather and pleasant temperatures for the season.!

    My daughter, being a schoolteacher, had naturally chosen the All Saints’ Day school holidays.

    The wedding took place in the Chartreuse Mountains (1,000 m), near Grenoble.

    At the Town Hall :

    0aed2d1e-a6d0-48da-92f1-94fac8620ac7-20251018_19_C.jpg

    In Chartreuse :

    6af1599e-5a7a-4063-912e-389b35bf06c4-20251019_99_C.jpg

    Best Regards,

    guy038

  • 0 Votes
    11 Posts
    4k Views
    PeterJonesP

    @ModelsRUs ,

    Reading the comments on the issue you created, it appears the plugin author has helped your confusion, both with regard to Compare coming pre-installed or not (which it doesn’t), but also regarding uninstalling it.

    But for those who don’t follow links to the issue boards, the short version:

    Notepad++ does not come pre-installed with ComparePlugin or ComparePlus plugin. It is safe to delete D:...\Notepad++_portable\plugins\ComparePlugin\ (as long as N++ is not actively running when you delete it), and it will not in any way, shape, or form mess up nppPluginList.dll. Not noted in the comments: the nppPluginList.dll essentially tells Notepad++ where to download plugins using the Plugins Admin interface; and while it does read the N++ plugins directory to find out what plugins and versions are currently installed, it doesn’t care if that changes outside its control.

    What happens if I install “ComparePlus” without “Compare” being removed?

    There would be two plugins in the Plugins menu, and each would set up its own toolbar buttons (and I’m not sure you could tell which buttons go with which plugin). And if you used the ComparePlugin comparison, it wouldn’t work right in Dark Mode (see here for a recent issue about that) the two can technically coexist, but you would just always have confusion over which you are using. the intention is to only have one of the two plugins installed. (And since ComparePlus was released, the intention has been for users to uninstall ComparePlugin and just use ComparePlus.)
  • Strong Flickering

    Help wanted · · · – – – · · ·
    6
    0 Votes
    6 Posts
    411 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

  • 0 Votes
    3 Posts
    225 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!

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

  • 0 Votes
    4 Posts
    226 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

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

  • 0 Votes
    2 Posts
    160 Views
    PeterJonesP

    View > Document List

    https://npp-user-manual.org/docs/views/#built-in-panels

    update: once someone replies, DO NOT DELETE YOUR POST. It has been restored.

  • 0 Votes
    4 Posts
    296 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

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    262 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.

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

  • Certificate install location

    Security
    3
    0 Votes
    3 Posts
    6k 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 above instructions are still appropriate for confirming the self-signed certificate, but with the GlobalSign-issued certificate, the procedure is not as critical.

  • Digital certificate for open source projects

    Security
    4
    0 Votes
    4 Posts
    6k 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.