• Python print function parameters

    3
    0 Votes
    3 Posts
    287 Views
    Anthony BlincoA

    Awesome. Thanks for your reply. Worked perfectly

  • are plugins listed in PluginsManager safe/verified

    2
    0 Votes
    2 Posts
    950 Views
    PeterJonesP

    @G-Dev ,

    If you are talking about the old plugin called Plugins Manager which hasn’t been supported in recent Notepad++ versions for more than 2 years (v7.5.9 was the last Notepad++ that Plugins Manager was compatible with), there is no support for that tool.

    If you are talking about the builtin tool called Plugins Admin, which is now part of the Notepad++ source code: as far as I know, there is no stringent vetting or code analysis – plugins can be written in any programming language which can create a DLL (which means virtually any compiler-based language), and the developers of Notepad++ cannot be expected to be security experts in all languages. Neither the official docs (https://npp-user-manual.org/docs/plugins/#plugin-list) nor the repo that Plugins Admin uses for generating the list of plugins (https://github.com/notepad-plus-plus/nppPluginList) describes the official decision process for how the developers decide what plugins to include.

    That said, the Plugins Admin dialog lists the homeapge for each plugin it links to (or you can look in the repo for the list of pages and download links for each included plugin), so for any that are open source, you can feel free to check the source code yourself. I’d recommend more caution for any plugin that has a DLL but no source code shown. But there is the benefit that the Notepad++ community is reasonably large, and I am sure there would be a quick outcry if any plugin was poorly behaved or did something malicious.

  • Request: Make font size of Notepad++'s internal dialogs adjustable

    17
    0 Votes
    17 Posts
    2k Views
    ludamo 0L

    To be more exact, my Find Dialog (minimum sized) with the 8pt (default Tahoma) font is 677 x 430 px and with the modified 9pt font is 772 x 430 px. The height is the same but as you noticed it is wider. 772/677 = 1.14 and 9/8 = 1.125 so the width is increased a little bit more than you would expect from just the change in font size but somehow the height is the same. Thanks for an interesting exercise. For me once I have the modified fonts, changing back and forth is basically just a registry edit and a reboot (though for others of course their mileage may vary).

  • Python script : Check if the file/buffer has been modified

    3
    0 Votes
    3 Posts
    265 Views
    Anthony BlincoA

    Clearly i didn’t look closely enough!! Very sorry and thanks for your help

  • HTML like plus(+) and minus(-) box

    3
    0 Votes
    3 Posts
    1k Views
    Madan Mohan MurmuM

    That’s Exactly I wanted Thank you man!
    “Folding In Comment” It is this thing I wanted.😀

  • Changing the way replace works?

    3
    0 Votes
    3 Posts
    257 Views
    Alan KilbornA

    @Alan-Kilborn said in Changing the way replace works?:

    You can paste it into the Find what box that way.

    Actually this is wrong (sorry). You can’t paste it in. What you can do is select it as multiline text in Notepad++ and press Ctrl+f. Then the multiline data will go into the Find what box. It doesn’t really look like multiline data, but it is.

  • Implementing project management/Opening copy files

    5
    0 Votes
    5 Posts
    330 Views
    Anthony BlincoA

    Ok. Thanks very much for your help. I thought i might have to parse the .bat file to get an expanded variable but think i am going to go with your suggestion and make a script that runs when the source file is loaded that executes the project.bat and saves of the variables i need.
    That was a very good suggestion indeed. Thanks!

  • Every since last patch, extreme slowness and "Not Responding"...

    2
    0 Votes
    2 Posts
    186 Views
    PeterJonesP

    Other readers: Here’s a link to the post that @Mick-Dawdy mentioned:

    Every since last patch, extreme slowness and “Not Responding”…

    The issue started immediately upon running the new version.

    What version? Go to the ?-menu, Debug Info, and copy/paste that into your reply.

    I don’t see what the CCleaner results have to do with it.

    The issue for you might be network issues, or might be a confused plugin (and the Debug Info will list your plugins), or might be that the syntax highlighter is taking longer than you expect because you’ve got a humongous file that you’re editing, or it might be … Or it might be that your antivirus software is running a background scan at the time, or that an antimalware is scanning the new Notepad++ executable, or …

  • Python : Accessing variables set via NppExec env_set

    4
    0 Votes
    4 Posts
    587 Views
    Anthony BlincoA

    Ok thanks much. I appreciae it
    I’ll use files to communicate

  • Search resets the colour setting for panels

    14
    1 Votes
    14 Posts
    515 Views
    Anthony BlincoA

    Thanks again for all your help.

  • Flat style icons

    8
    1 Votes
    8 Posts
    6k Views
    Anthony BlincoA

    Thanks Michael. I will see if i can fluentize those icons. And maybe a fluentized information icon as well.
    I also noticed that if i made an icon out of a python script it wouldn’t let me move the icon around he toolbar. It alway put it on the end.
    This was how i defined it;
    Plugins,Python Script,Ctrl F8 Findall,icons0039.bmp

  • 1 Votes
    5 Posts
    781 Views
    J

    @PeterJones Thank you very much for your fast feedback.

    That has solved the problem, and because it’s the latest version for xp / server 2003 (32 bits), i don’t need the “update” folder (and its content) anymore:

    " … go to c:\program files\notepad++\ (or wherever your notepad++.exe is installed) and delete the updater\ folder and all its contents (including gup.exe), then the error message should not come back the next time you run Notepad++."

    With best regards,
    Jan

  • Python and panels

    3
    0 Votes
    3 Posts
    177 Views
    Anthony BlincoA

    Thanks for the advice

    I wanted to;
    1 Create a project management system where the user can specify compiler switches, include folders, source folders, object folders etc
    2. Modify the functions panel to search through include files as well as the source file

  • Resetting the search options on new search ?

    3
    0 Votes
    3 Posts
    333 Views
    Alan KilbornA

    @Martin-Jost said in Resetting the search options on new search ?:

    is there an option to tell NP++ to reset the search options, when entering the search dialog ?

    No, there is not.

    The way it currently is, I need to remember what I set, or I need to scan it each time.

    Is it that hard to “scan it each time”?

    If you had an option like you suggest, you’d set it with Match whole word only off. Then, you’d find an editing scenario where you have to do a series of a lot of searches with that setting on and you’d get annoyed that you have to keep turning it on or change your preference setting.

    But, if you are really interested in this, you could make a FEATURE REQUEST for it. That takes time and it may never happen, in truth.

    Finally, I do have a way to do exactly what you seek.
    It would require a willingness on your part to use the PythonScript plugin and go through the “hassle” of setting a few things up.
    If you’d like I could throw together a demo script and post it here.
    But I won’t bother to do that unless you confirm your interest in that.

  • Where did FingerText go?

    2
    0 Votes
    2 Posts
    803 Views
    PeterJonesP

    @Sloan-Thrasher-1 said in Where did FingerText go?:

    After a recent update to NPP, finger text and all the rest of my plugins disappeared.
    Aaarg!! :-(

    The update menu item just has one item: “Open Update Folder”.

    Did you mean Plugin menu and Open Plugins Folder

    What happened to the plugin manager?

    Plugin Manager hasn’t been supported since v7.6.3, years ago. What version were you using before your update?

    What happened???

    Something messed up in your upgrade, otherwise you would have Plugins Admin in the Plugins menu. How did you install the update?

    How can I get my plugins back, with the data/configurations I had previously?

    The plugins data is all there in %AppData%\Notepad++\plugins…

    If you really upgraded from v7.5.9 or earlier, you will need to move your plugin DLL files from the <installation>\plugins folder into subdirectories that match the DLL names. (So a.dll into …\plugins\a\a.dll)

  • 0 Votes
    3 Posts
    206 Views
    Alan KilbornA

    @darkscaryforest said in Right Clicking Highlighted Text Modifies Highlighted Selection in Favor of Spellcheck?:

    Apparently I had a plugin (builtin I assume) “DSpellCheck”

    You may have this plugin, but it isn’t built into Notepad++.
    I think in “ancient times” it might have been a built-in one, though.

  • Boolean operators in FIND?

    8
    0 Votes
    8 Posts
    5k Views
    Alan KilbornA

    @Paul-Martinez said in Boolean operators in FIND?:

    show my age by pointing out it also reminds me of George Burns and Gracie Allen

    Surely all the young ones reading this are completely lost, but yes, I believe Peter’s example was indeed a reference to the classic duo. :-)

    In some of my examples here I refer to Bob and Carol and Ted and Alice, which I’m sure likewise makes the youngsters wonder just who are these people?!?

    Sometimes it gets more complicated

    It’s really tough to guess at what you want here, although I’m sure some will try that. Again I’d say a really concrete example from you would help speed things along.

    I might want to Find lines containing CellTypes AND CellStructures, for example, and then Find lines with COVID-19 AND Pathways. (And OR them as this example implies)

    But is it really an OR that is needed? Or (pun!) is it really just “combining” results from multiple searches?

    Or is it a cascaded search, meaning from the results of the first AND group, search only those lines for the second AND group?

    It’s a common problem with postings here, you have to express your need fairly exactly in order to get the best help (i.e., not have someone go off and invest time to solve problem X, only to have someone say “No, no, you fool, I have problem Y, not problem X”).

  • Can i only use Google, FB and so on to create account / log in here?

    6
    1 Votes
    6 Posts
    262 Views
    J

    @PeterJones OK thx.

  • Can't receive dragged text from the latest Notepad++ release

    18
    0 Votes
    18 Posts
    900 Views
    gerdb42G

    Glad it helped ;-)

  • I need to riduce my text. Easy problem

    2
    0 Votes
    2 Posts
    202 Views
    PeterJonesP

    @Alberto-Massaro ,

    Sorry, I guess I don’t quite understand what you want – or rather, I’m not sure why choosing “xml” isn’t sufficient. Clicking on the +/- next to a collapsible section is the way to collapse a single level (or you can use the View > Collapse/Uncollapse Level submenus to affect all levels at the same time.

    Are you saying that you don’t actually have XML-like <> around the Boy and Woman, and you still want the ability to collapse? That’s doable with a UDL, but it would take knowing what your file format really looked like to know for sure.

    For example, if your file format looked like

    * Boy | mick | patrick | steave end * Woman | Erika | Giudith end

    Then you could set up a UDL (user defined language), where yould define * as the start of folding and end as the end of the folding block. (Unfortunately, I don’t know a way to set a blank line as the end of a UDL folding block, sorry.)

    9797ed65-1a9c-40bf-a6d2-c6cb1a6c1ffe-image.png

    If your data looks different than that, then you’ll have to give an example – after tying the example data, select it all and hit the </> toolbar button in the forum, so it goes in black box, like my example data above does

    With example data, we might be able to come up with a UDL folding definition that would work for you. But there are limits as to what will and won’t work.