• function list uncomplete

    7
    0 Votes
    7 Posts
    315 Views
    Roger PierreR

    @Alan-Kilborn one work-around is to define in language that it is C code.

    thanks for your help.

  • Sidebar Font Size

    2
    0 Votes
    2 Posts
    163 Views
    Alan KilbornA

    @Larry-Mars

    Probably not, but perhaps be a bit more specific about which “sidebar menu” you are talking about?

  • Replace partial text

    3
    0 Votes
    3 Posts
    276 Views
    Panagiotis AlexoulaP

    @Terry-R Yes!! Thats is thanks mate

  • Open files tabs - auto-sorted how?

    23
    0 Votes
    23 Posts
    2k Views
    Alan KilbornA

    @Maxitrol-Mat said in Open files tabs - auto-sorted how?:

    As you can see nothing has happened

    Developers have their priorities.
    They concentrate on bug fixes and new features that they feel will be useful to a majority of users.
    If they have time, and they feel a request is a nice addition, if maybe not useful to many, they will implement it.

    Your choices are to continue to whine…

    It appears the choice has been made!

    And really, you didn’t have to break this into ANOTHER thread; serves no purpose except to have any related comments be disjointed.

  • Notepad++ for mac is working or not

    5
    0 Votes
    5 Posts
    2k Views
    TroshinDVT

    @pickmax-deals said in Notepad++ for mac is working or not:

    can any one tell me the perfect working way?

    VirtualBox + Windows + Notepad++ - The most stable way.
    :) I believe that on Mac editors are inferior to Notepad ++

  • A Windows 10 update assaulted me, Notepad++ stood by silently

    1
    0 Votes
    1 Posts
    154 Views
    No one has replied
  • 0 Votes
    11 Posts
    2k Views
    PeterJonesP

    @Bharath-k said in Is there way to Search for duplicate records based on the column in notepad++ and delete the particular row:

    actual data i am not able to publish here due to its client data and i am not allowed to share.

    We understand that. When your “data sanitization” (removing secret info) is just putting in fake numbers and fake names (even fake column headers if you want), that’s one thing; the regex will likely still work, as long as it has the same type and width of data in each column. However, in your first post, you not only “sanitized” the data, you also changed the number of columns – that means that the regex is likely to change, because number of separators will be different, etc.

    The advice below might help you ask better questions next time, and reduce the number of back-and-forth exchanges before you have a working solution.

    ----

    Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as plain text using the </> toolbar button or manual Markdown syntax. Screenshots can be pasted from the clipboard to your post using Ctrl+V to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get… Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.

  • How to clone current document, language included?

    18
    0 Votes
    18 Posts
    2k Views
    guy038G

    Hello, @dario-de-judicibus-0, @alan-kilborn, @peterjones, @astrosofista and All,

    Aaaah ! I’m sorry and apologize for making, all of you, searching hard ! It’s all my fault !

    Indeed, when @alan-kilborn said :

    From your description, your “workflow” for this doesn’t include anything which will cause Notepad++ itself to need to update shortcuts.xml

    I just thought that he was speaking about the fact of saving the shortcuts.xml file with Microsoft Notepad and not from within Notepad++ !

    But I understood, at once, all the story then @peterjones said :

    Start recording macro, type blah, backspace out blah, save, stop recording, save macro as blah

    Like you, when I decided to record a new macro and give it a name, and, after closing and restarting N++, all comments were gone away in shortcuts.xml, even those located outside the <Macros> node and, also, the default comments of the initial shortcuts.xml file, located in the UserDefinedCommands section, below :

    <!-- The following shortcuts are dangerous if your computer is compromised. (But if your computer is compromised, EVERYTHING IS DANGEROUS!) Remove the comment and use them at your own risk!!! <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="65">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command> -->

    Wooooh, everything is, again, logic between all our configurations ;-))

    So, as any macro recording deletes all comments, a simple work-around would be to :

    Copy your present shortcuts.xml file as, say, shortcuts_comments.xml

    Comment all your macros already created, in the shortcuts_comments.xml, as you like to

    Record your new macro, in Notepad++

    Close and re-start Notepad++

    Open, both, the shortcuts.xml and shortcuts_comments.xml files, in N++

    Copy your new macro from the shortcuts.xml file

    Paste it in the shortcuts_comments.xml file

    Add the wanted comments in the shortcuts_comments.xml file, relative to this new macro

    Save the shortcuts_comments.xml file

    With this method, in addition to having a nice version with comments, that we may post in our site, we also benefit from a backup of the shortcuts.xml file. Indeed, if, by mistake, the shortcuts.xml is deleted, simply copy shortcuts_comments.xml as shortcuts.xml and your comments will even remain in shortcuts.xml until your next macro recording ;-))

    Best Regards,

    guy038

  • Golang support

    3
    0 Votes
    3 Posts
    703 Views
    PeterJonesP

    @CreativeQuilt

    I just checked the Scintilla source code … even their most recent version doesn’t appear to have Go – ie, I couldn’t find LexGo*.cpp in the source code, so unless there’s some other name other than Go or Golang that the language goes by, someone would have to make a Scintilla Feature Request to get the ball rolling.

    Update: https://sourceforge.net/p/scintilla/feature-requests/750/ shows “they” won’t do it. Though if i read correctly, “they” might allow someone else to contribute the lexer to their codebase.

  • how to append the numbers with specific string ??

    5
    0 Votes
    5 Posts
    515 Views
    PeterJonesP
    warning to future readers

    @kamal-lochan asked the identical question in a separate topic, where the dicussion continued.

    please don’t do that

    @kamal-lochan , This is frustrating to people who want to help you. I hadn’t read to the repost of your question yet, so I spent 10 minutes coming up with a reply and posted that; it wasn’t until another member messaged me to inform me that the question was re-asked there (and then @Alan-Kilborn posted here to let me know as well) that I found out you’d asked your question twice – and that others had already answered you hours ago.

  • Dark Mode?

    3
    0 Votes
    3 Posts
    5k Views
    Richard GoldsteinR

    Wow, thanks for the quick reply! I actually found Settings>Style Configurator right after I posted this, switched foreground & background colors, and pretty much got what I wanted. Perfect.
    Thanks again, Richard

  • Functions list comment bug

    14
    0 Votes
    14 Posts
    625 Views
    PeterJonesP

    @jabcreations said in Functions list comment bug:

    @PeterJones I understand the lack of desire to rewrite though is the regex at least per language or is it some suicidal everything-must-be-the-same madness? I’m all for reusable code (ours is very dynamic) though there are limits, human limits.

    In terms of the user-configurable regex, it’s per language. I don’t know about the internals, but it’s presumably the same wrapper for every language on the inside, and just makes use of the user-configurable regex per-language. But the code that @Michael-Vincent pointed you to is the only way to know for sure (and I’ve never looked at it)

  • Search two or more phrases in one single line

    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    For this one, I’d go with the simplest explanation possible based upon what was provided, and let the OP sort it out from there.

    find: (?-s)(?=.*STOR AP_7306)(?=.*185\.248\.238\.155).*
    search mode: regular expression

    to extend to “or more”, do it like this:

    find: (?-s)(?=.*STOR AP_7306)(?=.*185\.248\.238\.155)(?=.*orMore)(?=.*orMore2).*

    perhaps you can see the pattern in the “orMore” stuff?

  • Deleting a character fro the same place (end of line)

    3
    0 Votes
    3 Posts
    174 Views
    Frankie DeschachtF

    Peter Jones,
    That is brilliant.
    Thank you ever so much.
    You solved a HUGE problem for me.

  • rayo de luz en mi monitor?

    3
    0 Votes
    3 Posts
    774 Views
    Eder BravoE

    @PeterJones said in rayo de luz en mi monitor?:

    @Eder-Bravo ,

    I have seen with monitors in the past that some exact sequence of pixels (I don’t know whether it’s a horizontal or vertical sequence, or a whole rectangle) can cause flickering and other such artifacts – and not just (or maybe not even) with Notepad++. My guess is that you’re seeing something similar.

    If you change the size of the Notepad++ window, and/or move it around on your screen, does the artifact stay the same, or move with the window., or go away?

    Or maybe it has to do with the refresh rate on your monitor not being set optimally between Windows and your monitor, and the specific requirements of that particular screen configuration mean that the refresh causes weird artifacts.

    My guess is there won’t be anything that can be done to “fix” this in Notepad++.

    yes, I think that was it. I bought this monitor (144hz, but my GPU only recognizes 120hz, maybe this is what you mean by bad synchronization, my GPU does not have Freesync) a week ago, but until now I had no problem with any type of software, that’s why I found it very strange that it only happens with Notepad ++, the solution I found was to modify the pixel format to RGB limited (it was in RGB FULL) in the Radeon Software settings, (and that ray of light was no longer showing), although That lowered the brightness a little bit, but nothing bothersome. Thanks for your reply!! , I thought my monitor was damaged.

  • 0 Votes
    1 Posts
    426 Views
    No one has replied
  • help to delete part of line

    25
    0 Votes
    25 Posts
    3k Views
    cisco779kC

    @Terry-R
    thank you for your support, but my problem persists at point 3 of your help (create a specific regex)…

    @guy038
    thank you for your regex. wonderfull, like all your regex!

    @Alan-Kilborn
    your contribution is also very interesting. something that can also be useful on other occasions and not only for this specific case.
    thank you for your useful information.

    so, people like you who know a lot about np++ help someone like me understand many aspects still unclear about this wonderful (and complex) program.
    A DUTIFUL AND HEARTFELT THANKS TO ALL THOSE WHO HAVE CONTRIBUTED TO THIS LONG POST (in the hope that it can also help other users who, like me, do not have all your knowledge about it).

  • Repetitive search

    3
    0 Votes
    3 Posts
    253 Views
    Alan KilbornA

    @Raanan-Barzel said in Repetitive search:

    Please enable F3 repeat while the Search panel is open.

    F3 does NOT work when the Find window has input focus.
    There, Enter (or Shift+Enter) will move between the matches.
    When the main editing window has input focus, THEN F3 (or Shift+F3) works.

  • Forum private message

    18
    1 Votes
    18 Posts
    2k Views
    mkupperM

    Sending e-mails on the Internet is no longer a trivial matter. It used to be a wild west where anyone could send e-mails using any “from” address. Spammers took advantage of this.

    To cut down in the amount of incoming spam for their users many e-mail servers now inspect incoming messages and use various techniques to figure out if the e-mail is valid or is spam.

    From the screen shots I see in this forum thread it appears NodeBB was created during the wild west days. Much of what they are suggesting won’t work in today’s Internet.

    While @PeterJones suggested using any major provider I suspect you will run into sending limits with most of the providers. NodeBB will be firing off batches of nearly identical e-mails to many people to alert them about updates to forum threads and/or to send them daily digests. Those batches will look like spam attempts to most of the major providers which will shut you down.

    I noticed that notepad-plus-plus.org has an MX record but there’s either no inbound mail server configured or it rejected my attempt to connect to it. I’ll assume the MX record is an artifact from the hosting company and that @donho did not buy the e-mail hosting part of the package.

    As I noted earlier, sending e-mails on the Internet is no longer a trivial matter. Many hosting companies don’t allow their customers to run e-mail based forums as the resulting traffic can cause the hosting company’s IP network blocks to get blacklisted. I started to look into if the company that hosts the notepad-plus-plus.org web site, https://www.hostinger.fr/ , allows e-mail forums but I don’t know French. I tried viewing the hosting site via the Google translator which worked well until the site blocked me as they did not want me to view their site via another site (google’s translator).

  • Location Navigate x64

    7
    3 Votes
    7 Posts
    1k Views
    Michael VincentM

    @Gurux13 said in Location Navigate x64:

    There is no license attached to the source code, which makes it problematic to redistribute.

    There is no specific LICENSE.txt file, but all the code has a header that includes:

    //This program is free software; you can redistribute it and/or //modify it under the terms of the GNU General Public License //as published by the Free Software Foundation; either //version 2 of the License, or (at your option) any later version.

    and it’s basically modified files from the Notepad++ plugin template structure which also bear that notice. I’m not a legal expert, but I’m pretty sure you’re OK to clone the publicly available source code to your GitHub, make modifications and re-release so long as you don’t change the existing “license”.

    Cheers.