• Fighting Malicious Ads on Download Pages

    Pinned Security
    41
    3 Votes
    41 Posts
    23k Views
    donhoD

    @MichellesCode

    The image that I am seeing. I wasnt able to get the URLs, apologies. I am based in US.

    If you happen to see them again, please send the link(s) to don.h@free.fr.

  • 0 Votes
    17 Posts
    2k Views
    Alan KilbornA

    @guy038 said:

    After some tests

    …of the version from the PR…

    "…in extended mode, I should add the \r\n at the end of each line for a correct search”

    Well… I think the answer to that is… don’t do it.

    It’s a matter of knowing what your data is. And, admittedly, this is difficult as real \r and \n are invisible in the Find what box. But this is true also if you select some multiline text and press Ctrl+f, it’s not peculiar to the proposed new code.

  • 0 Votes
    2 Posts
    109 Views
    Alan KilbornA

    @Bernard-Jouffrey

    Antivirus software in use?

  • notepad++ flagged as malicious, should i worry?

    Security
    3
    0 Votes
    3 Posts
    2k Views
    xomxX

    @Zhane-Hernandez said in notepad++ flagged as malicious, should i worry?:

    https://hybrid-analysis.com/sample/ca3f56a705b26536b44f9213dd75f420139902f8d0a2851b176351cd3dab8685

    Did you check that hybrid-analysis report?!
    I found its Risk Assessment part hilarious (remember, N++ is a text editor, so who would e.g. expect it to work with the Clipboard or the keyboard ;-) ), so commented some stuff below:

    Spyware Contains ability to open the clipboard Contains ability to read clipboard data Contains ability to retrieve keyboard strokes Found a string that may be used as part of an injection method Fingerprint Contains ability to retrieve information about the current system Queries process information Evasive Found a Wine emulator related string Marks file for deletion Possibly tries to evade analysis by sleeping many times

    From the Spyware part is only interesting the “Found a string that may be used as part of an injection method” - I guess it will be a N++ or its underlying libraries autodetection pattern string signs for different shells recognition etc.

    Fingerprint part is a typical AV nonsense, that stuff use 99% apps.

    And Evasive - “Wine emulator related string” is correctly there because N++ needs to detect&disable some stuff (e.g. Scintilla DirectWrite) while running under the WINE emulator. “Marks file for deletion” probably means that the AV scanner just found the MS MoveFileEx WINAPI sign used in the code or the NSIS installer postponed deletion of the loaded NppShell extension. “Possibly tries to evade analysis by sleeping many times” - here IDK whether to laugh or cry at the state of the so-called “risk detection”.

  • Shouldn't be it the responsability of UN?

    Humour
    2
    0 Votes
    2 Posts
    2k Views
    Lycan ThropeL

    @donho ,
    I’m not sure this is humor for it’s own sake, or a veiled attempt at sarcasm. Either way, I don’t want govenment, especially the UN in anything, period. :-)

  • 0 Votes
    7 Posts
    164 Views
    ?

    :) you are not lucky, eh?

    It looks like the reason it works for me is that I’m using the LF EOL, not CR LF as typical in Windows.

    Cheers

    P.S. @Brent-Ficker if you’re not familiar at all with regex, the “Extended” mode setting would work for this particular problem too, to gently introduce you to such things.

  • 0 Votes
    5 Posts
    125 Views
    jabcreationsJ

    @PeterJones

    I had to reinstall to get the English Customizable file installed (C:\Notepad++\localization\english_customizable.xml). I made some recommended changes (name="Exit&°"), changed to English and then back to English Customizable and tested it and it did not exit as desired; thanks!

  • 0 Votes
    3 Posts
    1k Views
    ?

    @PeterJones
    The advantage of a specific category is that one can subscribe / watch that particular one. Or binge in reading many “solutions” in a row.
    “General” is general, almost anything goes there.
    “Blog” is for blogs… which IMO is something like long prose, chronological… doesn’t seem suitable (to me) for sharing a few random tips/ solutions one finds.

    Perhaps you’re right that tags are underutilized. Though in this case, I’m not sure that a single tag would fit the many kinds of tips/solutions one would like to share. Because there is no enforcing of a particular tag.

  • [New Plugin] NppOpenAI

    Notepad++ & Plugin Development
    47
    8 Votes
    47 Posts
    51k Views
    Richárd StockingerR

    @erik-neyman
    Hi,

    first of all, please hide/change your secret_key setting (or remove the image), as this is a public forum and others may misuse it. :(

    Unfortunately, there may be bugs in the latest NppOpenAI v0.5 update (updates/fixes can be found on the NppOpenAI development project page), so I suggest that instead of setting a route_chat_completions, you should specify the URL “all at once”, e.g.

    api_url=https://api.openai.com/v1/chat/completions

    Edit: You can leave the route_chat_completions setting unchanged.

    I apologise for the error!

  • XBrackets 2.0 is coming!

    Notepad++ & Plugin Development
    9
    4 Votes
    9 Posts
    2k Views
    Vitalii DovganV

    @Ekopalypse
    Wow, thank you!

  • 0 Votes
    5 Posts
    139 Views
    PeterJonesP

    Moderator Note: Please do not delete posts after the conversation has happened. It removes context.

    (Moderator restored deleted posts; topic being locked, because it appears the original poster is no longer interested, since the posts were deleted)

  • Marked text manipulation

    General Discussion
    54
    1 Votes
    54 Posts
    59k Views
    CoisesC

    @chk1 said in Marked text manipulation:

    Right now, with help of the script, I open the Marks search (Ctrl+M), enter my search term and press “Mark all”. Then I run the script to convert all marks to multi-edit selections. I want to reduce these extra steps if possible, i.e. in the best case: Ctrl+F, enter search word, hit Alt+Enter.

    It might not be worth it for your case, but the Search dialog in the Columns++ plugin has Select All as an option on the dropdown menu on the Count button.

    You can assign a shortcut to Columns++ | Search in Notepad++ shortcut mapper; but at present, there is no straightforward way to open the Count button menu using only the keyboard.

  • EV GLOBAL SIGN BROCKEN

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    89 Views
    PeterJonesP

    @ilya-zabelin ,

    The certificate / signature is not broken – it is signed using a CA (Certificate Authority) Certificate that you don’t have. You just need to follow the instructions linked to as the self-signed-certificate link in the Release Announcement, which links to the official website instructions: https://notepad-plus-plus.org/news/v883-self-signed-certificate/ . Or the online user manual has an entire section on how to install the CA cert on your machine.

    (GlobalSign refused to let the developer get a certificate issued in the “Notepad++” name, so he made this new CA cert to “bridge the gap” until he is able to get some paperwork filed with his local government to register “Notepad++” as an organization, so that hopefully GlobalSign will be willing to use the “Notepad++” name on the certificate; government beaurocracy can be slow, so it might be a while, which is why the CA cert needs to be installed in the interim.)

  • h1's in function list for navigation

    General Discussion
    5
    0 Votes
    5 Posts
    2k Views
    MJKlodt747M

    @PeterJones, that works for me. Thanks!

  • Plugin request: insert relative path

    Notepad++ & Plugin Development
    10
    0 Votes
    10 Posts
    4k Views
    ?

    Has anyone here found how to open those relative path links from within the Notepad++ file, in their default app ?

    That would make the solutions listed here even more useful IMO; one could have for instance have the documentation of a project in simple text files.

    Opening the links at either double-click (better, & underlined) or some other action.
    I’ve requested the feature on github https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16942

  • 0 Votes
    19 Posts
    3k Views
    Bob BridgesB

    @Patrick-909

    And keyboard shortcuts can be assigned to menu commands by choosing run > modify shortcut and switch to the Main Menu tab on the Shortcut Mapper.

    It would be good to have the Open in Default Browser be located in either the View or Run Menus, but creating a shortcut works for me.

  • 0 Votes
    28 Posts
    11k Views
    NebojshaN

    @xomx said in Unable to see Data in the Notepad++:

    I’d like to ask the affected users here, for which switching the DirectWrite OFF helped - what OS, graphics card and version of its drivers are they using?

    E.g. post: Windows 10, Nvidia GeForce xyz, 2/24/2023 30.0.14.7430

    (you can find such info e.g. by WinKey+R, type there devmgmt.msc -> OK, and check the Display Adapters > doubleclick on an adapter > Driver tab)

    Win 11, VMware SVGA 3D, 4/28/2023, 9.17.6.3
    Win 11, Microsoft Remote Display Adapter, 6/21/2006 10.0.26100.4484

    Accessing a VMware virtual machine via Remote Desktop Connection (RDP)

  • 0 Votes
    3 Posts
    120 Views
    PeterJonesP

    moderator fixed image in the original conversation; continue discussion there

    LOCKED THIS SECOND DISCUSSION
  • 0 Votes
    6 Posts
    148 Views
    PeterJonesP

    @Danie-Bosman,

    I used moderator powers to fix your embedded image.

    Are the arrows indicatiing Tab characters, or merely indicating where the indents are?

    Your drawn red arrows are the View > Show Symbol > Show Indent Guide indicators. They show up whether you are set to spaces or tabs, so it won’t help you determine which you are set to.

    OTOH, the related View > Show Symbol > Show Space and Tab do show spaces vs tabs:

    126dc4bb-05c5-4be7-aa93-20a8ffd5e33a-image.png

    As @Alan-Kilborn said, the long right arrows are tab characters, the mid-dots are space characters.

    Unfortunately, your screenshot did not include enough information to tell what language your code is in. Like I said, the screenshot needs to include the status bar to show us that, and you cut it off before the status bar. Your language looks vaguely VisualBasic-like, but that’s just a guess. (Though it’s confusing to me that your tab name claims *.txt, but it’s syntax highlighted like code; have you associated .txt with something other than normal text?)

    Anyway, whatever language it’s set to, whether you are willing to show the status bar or not, assuming you can read the status bar yourself, or can look in the Language menu to determine what language is active for syntax highlighting your .txt file with code, you need to click on that language’s entry in the Indent Settings box that lists all the languages, and see what the Indent Using is set to for that language: see whether it’s set to Use default value, in which case it will follow the [Default] settings you show in you screenshot; or it might not have that set, and instead have its own, like Makefile does:

    Examples comparing my settings for Visual Basic with Use default value vs Makefile with its own set to use tabs:

    Visual Basic 1e2784be-9137-4be5-9b25-e49554bfbb19-image.png Makefile 2ec29bcd-b77d-4519-9876-c610152b64fa-image.png

    update: But given your indication that you seemed to think the guidelines were tab characters (which they aren’t, necessarily), then my guess is that you were just misinterpreting what you were seeing, and this whole time, you really do have spaces where you thought it was still inserting tabs. Again, View > Show Symbol > Show Space and Tab will show you definitively and unambiguously whether the characters are spaces or tabs.

  • 0 Votes
    9 Posts
    37k Views
    Antheds KennelA

    @Mark-Olson Thanks for the help, I’ll try it when I get back from vacation. Kind regards Thore