• Project Search Shortcut

    2
    1 Votes
    2 Posts
    211 Views
    Alan KilbornA

    @Max-Yaffe

    It’s been requested before and received a hard-rejection from the developer; for details, see https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13256

  • Help with regular expression

    29
    0 Votes
    29 Posts
    10k Views
    guy038G

    Hi, @mark-olson and All,

    Oh…, my God : you’re a thousand times right, Mark ! Of course, negative class character like [^...] does not depend at all on the status of the . matches newline option, nor of the possible leading modifiers (?s) and (?-s). I should have remembered that !

    Indeed, place this simple text in a new tab :

    Test in order to verify the maximum range of characters matched by the regex expression

    And use, for example, any of the regexes below :

    With the . matches newline option unchecked

    - SEARCH [^=]+.+[^=]+ - SEARCH (?-s)[^=]+.+[^=]+ - SEARCH (?s)[^=]+.+[^=]+

    With the . matches newline option checked

    - SEARCH [^=]+.+[^=]+ - SEARCH (?-s)[^=]+.+[^=]+ - SEARCH (?s)[^=]+.+[^=]+

    You can easily verify that, whatever the regex used, all text, from the very beginning to its very end, is always matched !

    Remark :

    In fact, as the in-line modifiers override the . matches newline option, there are only four distinct cases :

    SEARCH [^=]+.+[^=]+     with the . matches newline option unchecked

    SEARCH [^=]+.+[^=]+     with the . matches newline option checked

    SEARCH (?-s)[^=]+.+[^=]+

    SEARCH (?s)[^=]+.+[^=]+

    Thus, in my previous post, I should have expressed myself :

    May be, the fact, that a negative class character is used ( [^ ...] syntax ), led to the The complexity… message ??

    Best Regards,

    guy038

  • Mark lines with blue balls and jump between them

    15
    0 Votes
    15 Posts
    8k Views
    Alan KilbornA

    @guy038 said in Mark lines with blue balls and jump between them:

    Thus, Alan, could you show us, by screenshots, the first steps to do ?

    I could (and will if you really want it), but I suspect that Windows has diverged so much in what it looks like (around the world) that doing so is of dubious value. I think it has already been shown (to me) how different your (admittedly Win10) setup appears.

    Conclusion : I can’t remember, for sure, of the set of actions really done !

    Yes, it does seem to get confusing in a hurry! :-)

    when you hit the Ctrl + shift + 0 shortcut, after some consecutive Ctrl + 0 hits, the caret move, first, from the end of current marked word to its beginning, then move back to the beginning of previous word and so on… !

    And that’s how it is supposed to work, correct?

  • 0 Votes
    4 Posts
    292 Views
    Luis Piña IIIL

    Thank you both. I don’t know why I didn’t see the option yesterday.

  • How to Enable Strikethrough feature

    5
    1 Votes
    5 Posts
    14k Views
    mkupperM

    @Simanta-Sarkar

    This forum includes an article, FAQ: “Notepad++ is a Text Editor, not a Word Processor”, that goes into this.

    Many of the comments on the superuser and stackoverflow links you provided are saying the same thing. That said, people can coerce Notepad++ into behaving where some of the markdown syntax displays in ways similar to how they would display if you had a full markdown processor.

    Part of the problem within Notepad++ is that it does not support the concept of a preview window. Many people have asked for this, mainly so they could type HTML and instantly see the results. These requests/suggestions have always been rejected as Notepad++'s focus is the underlying text that then may be processed by other applications such as a web browser or markup/markdown processor to render the text into what end-users see. Notepad++ is not supposed to be a WYSIWYG editor.

    That all said, it’s cool to see that Notepad++ can be coerced into displaying strikethrough or strikeout text.

  • Semi-space in NP++

    18
    0 Votes
    18 Posts
    2k Views
    JamesWebbJ

    @ guy038

    You just have to create a new macro

    Thank you for providing the macro. The solution was already present, but I wasn’t aware of it.
    View menu>Show Symbol submenu> turn off Show Non-Printing Characters

  • What is reputation?

    3
    0 Votes
    3 Posts
    345 Views
    PeterJonesP

    @freezer2022 , @_ ,

    I’ve put in a feature-improvement request with the NodeBB folks. They have agreed that they will fix NodeBB software so that @-mention and the automatic reply links will not count for the “links require 1 reputation” restriction.

    After the updated NodeBB is released, we’ll try to get our NodeBB-instance updated so it has that fixed feature, so then hitting “reply” will work without 0-reputation users having to delete stuff that’s automatically put in the post.

    Sorry for the inconvenience, but it’s a constant balance between ease of use and fighting spam links. The user experience on this aspect should improve again in the near future.

  • How to correctly use the regex FREE-SPACING mode feature

    1
    5 Votes
    1 Posts
    322 Views
    No one has replied
  • Seamless upgrading to 64-bit

    8
    0 Votes
    8 Posts
    2k Views
    F

    Stop trolling / Ad hominem attacks like advised here :

    LINK : Please be polite and treat other Community Forum members with respect. Ad hominem attacks, personal insults, hate speech, and other such violations of this policy are grounds for immediate and permanent banning from this Forum.

    My above comment was just sharing the same experiences, which is sometimes useful, as one of purposes of a forum is to share experiences between users. Not to mention I did it only one time so far, but despite it, you created a “zero value” offensive generic accusation towards all my other comments, despite most of my comments on forum and issue tracker are useful. You’re trying to discredit my person as unhelpful, you seem to be on a one-person crusade to comment on my comments and to vent out your frustration. If you want to accuse of or to prove anything, you need to analyse each of my comment separately, and provide specific argumentation of why a given comment has “Zero value”, otherwise it’s nothing more than a book example of trolling and Ad hominem attacks

    As a proof several examples of my comments (not all):

    As for my comment here LINK :

    I already explained in my next comment here LINK
    why I created the previous post in same thread and why it wasn’t a bad idea also my comment caused 2 other users to post their useful plugins

    As for my comments here LINK + LINK :
    it definately was not “Zero value”, actually the opposite, it was useful because :

    noone mentioned this plugin before, some other suggested solutions by some other users were a bit cumbersome my comment caused one of the users to provide his updated solution my comment got an upvote

    As for my comment here LINK :

    I provided useful information that such feature is already implemented in 2 different plugins

    As for my comment here: LINK :
    it definately was not “Zero value”, actually the opposite, it was useful because :

    noone mentioned 64bit version of this plugin before, which is a new thing recently released my comment got 2 upvotes also I already explained, why I posted same comment twice (previously in : LINK

    As for my comment here : LINK

    I provided useful information that such feature already exist in a plugin

    I don’t think it’s a good place for personal / off topic attacks, most likely at any time a moderator will come and lock the thread or hide/remove personal comments (thanks to you), I think you should not act like this, please avoid creating a public drama and if you want to reply, do it via private message.

  • Math and Notepad++

    5
    2 Votes
    5 Posts
    4k Views
    F

    @PeterJones said in Math and Notepad++ (…)

    The same reply: LINK applies here as well, I’ll leave you now guys, continue your discussion.

  • CTRL+D gives selection not line

    9
    0 Votes
    9 Posts
    866 Views
    Alan KilbornA

    Some further discussion on this topic is HERE.

  • winget | real autoupdater finally

    2
    1 Votes
    2 Posts
    2k Views
    xomxX

    @Holger-Z said in winget | real autoupdater finally:

    It will report the update as successful, even so it didn’t install the update properly. That happens, when Notepad++ is running while winget is trying to update Notepad++.

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10277#issuecomment-887779544

    I will see what I can do about it, I am adding a fix of the silent installer mode (/S), when the Notepad++ is already running, to my TODO-list.

  • View of the tabs above and below

    9
    0 Votes
    9 Posts
    3k Views
    SoCuS

    51bfa20d-0f12-49aa-92cd-a968e63097e2-image.png

    Okay, now it is.
    The translation that Google is giving me was not very clear.

    What I was doing, is dragging the tab, instead of clicking with the mouse button.

    Thank you very much.

  • Automatic selection of ALL instances of a searched string, in one go

    37
    5 Votes
    37 Posts
    5k Views
    Alan KilbornA

    @guy038 said in Automatic selection of ALL instances of a searched string, in one go:

    So, here is my updated script, that I called Automatic_Selections_AK.py

    Oh no, the script should fully be called Automatic_Selections_GT.py ! :-)

  • current session

    5
    0 Votes
    5 Posts
    481 Views
    notepad347N

    Thank you for explanation
    Sublime has a good solution showing project name in title bar, but there are some futures in notepad++ that I like to use. I guess sublime spoiled me.

  • Mark All or Mark Selected Words

    2
    0 Votes
    2 Posts
    2k Views
    Terry RT

    @joe-junior said in Mark All or Mark Selected Words:

    How can I get that done?

    There are a few ways of highlighting the required character strings. It will depend on what you ultimately intend to do with the highlighted text.

    Use Mark function (Search, Mark). You can set the search mode as normal and type in each string (one at a time) and hit the “Mark All” button, repeat for each string. At the end all of the strings wanted will be highlighted.

    Again using the Mark function but this time the search mode is “regular expression”. The Find What window will be HD|SD|12|#\+. Note that in this case as the + character is a meta-character (means something other than the character it is) I had to “escape” (\) it so that the regular expression engine will look for the plus sign rather than it’s normal meaning of “as many of the previous character together”. The | character is a separator character. it means this or that (Alternation, OR operand). So the regular expression engine can look for each string as a separate search simultaneously. Also if you only want the exact character (such as H, not h) then also click on the “Match Case” button.

    If you were wanting to remove (or copy) the lines containing the strings you would still use option #1 or #2 above, but also tick the “bookmark line”. Once the search has completed the left margin will contain a blue icon (sphere, circle) for lines containing the strings you seek. Right click over one of these and you will see options to copy, remove, cut (and then paste into another tab).

    If these do not benefit you, you will need to expand on your requirement. You should also consider reading the pinned post in the “General Discussion” called “Please Read This Before Posting” as it will help you include examples in the correct manner and also suggest other links in this forum to read.

    Terry

  • Macro and Run Commands Compatibility

    1
    0 Votes
    1 Posts
    333 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    mkupperM

    @Bas-de-Reuver Notepad++'s regular expression search/replace has a couple of things that you and others may find useful.

    \R matches any style of newline such as CR, LF, and CRLF. While \R does not work in the replacement part it’s still useful.

    You can remove blank lines using ^\R+
    You can remove spurious blank lines using ^\R\K\R+
    The \K says to keep everything to the left meaning it will keep one blank line while removing spurious blank lines.

    In both cases it’s a regular expression search/replace with the replace part being nothing or blank. This also means we don’t care about the current end of line format as \R matches any of them and \K ends up keeping whatever end-of-line style is in use.

    It’s not clear from the OP’s example if they desired to remove the blank lines and then sort the resulting list or if they desired to have some sort of combining, merging, or interleaving of the lines that may or may not be sorted. As the OP then wanted to delete the thread it will likely forever remain a mystery.

  • Can't view Project Panel 1 and 2. How to show again?

    6
    0 Votes
    6 Posts
    587 Views
    Sally OctaviaS

    It is possible and has been found successfully.

    maybe it’s true, I searched for too much text, and had a typo or extra space in file or something.

    But this has worked
    Thank you for your help in helping me with the details

  • How to insert text before every line

    6
    0 Votes
    6 Posts
    3k Views
    Alan KilbornA

    @Chuck-Roberts

    If you have the Better Multiselection plugin installed and enabled…

    If you create a “column caret” (hold Shift+Alt while using arrow keys) before invoking the Column Editor, like this:

    3160e7fb-181c-4ecd-9ba9-e905a3d6bb03-image.png

    Then, after Column Editor does its work:

    c6cbd864-cca7-4bd0-94b2-208dde6f7908-image.png

    arrow to the right one time:

    e938dcee-bc58-4793-a765-2a45347d66de-image.png

    Then press period and space:

    2a923793-eb8f-4843-ae41-f00bd7d7031d-image.png

    @Mark-Olson said:

    I’m pretty sure that AlanKilborn recently authored at least one PR that improved the incrementing number feature in the column editor

    It is true, see HERE, but it would not have any impact on what @Chuck-Roberts needs to do here.