• Virtualisation of Notepad++ with AppV

    2
  • A way to Not fold last line of folded code.

    Locked
    1
    0 Votes
    1 Posts
    759 Views
    No one has replied
  • Wanted function: Remove Duplicated Lines

    9
    1 Votes
    9 Posts
    8k Views
    Scott SumnerS

    I took a look at TextFX and I don’t see a “remove duplicate lines” functionality. There is an ability to keep only unique lines upon doing a sort, but this is not the same thing…not everyone wants a sort along with duplicate-line removal. So recompiling TextFX for 64-bit isn’t going to do anything for providing what the OP is asking for. Maybe I’m wrong and I just missed seeing it in TextFX?

    @Juan-Miguel-Martínez said:

    I can…write my own text editor with the functions I want cough

    I must admit that caused me to laugh out loud–guess it was the cough part on the end. :^)

    …No need to go all smartass about it.

    This comment caused me to stop laughing. This forum is all about alternative solutions to problems, and Jim/Guy/Peter were simply trying to illustrate some of those. They weren’t going “all smartass” as I interpret what they said. There is usually value in all contributions here, and I for one will be checking out Strawberry Perl (used Perl before, but not the fruit-flavored variety).

    That all being said, if you already know alternatives exist and are just stating that you’d like to see a duplicate lines removal feature built right into Notepad++, then point taken, request noted. As to whether or not you will ever see that happen, I have no idea.

  • -2 Votes
    3 Posts
    2k Views
  • scripting NotePad++ configurations?

    5
    0 Votes
    5 Posts
    3k Views
    Charles KelsoeC

    Thanks. I will explore this option.

  • Comment command not working...

    8
    0 Votes
    8 Posts
    2k Views
    Mark -M

    Well I jumped the gun.

    I had to restore from backups to 6.7.1 to get the comments to work and have the styles I have configured to be correct.

  • Feature request: Removal of matching parenthesis or quote

    Locked
    1
    0 Votes
    1 Posts
    725 Views
    No one has replied
  • 0 Votes
    10 Posts
    3k Views
    AZJIO AZJIOA

    To change the size of letters, you need Word.
    This program for programming, for texts in pure form.

  • Feature Request: List of frequently used files

    8
    1 Votes
    8 Posts
    8k Views
    tazotoduaT

    There exists “Notepad++ Favorites” plugin - https://github.com/heldersepu/nppfavorites

    put the NppFavorites.dll into installation folder to manually install.

  • Launch in ...

    6
    0 Votes
    6 Posts
    3k Views
    Scott SumnerS

    @jeronymite2 said:

    couldn’t find shortcuts.xml

    Probably you are using the “installed” version of Notepad++ (as opposed to the “portable” version). In the installed version, if you click the Windows Start menu and type %APPDATA% in the “Search programs and files” box (and then press Enter), an Explorer window will open where you should see a Notepad++ folder–inside that folder should be your configuration xml files, including shortcuts.xml.

    Note: In the “portable” version, the xml configuration files are in the same folder as the notepad++.exe file.

  • How to Recover File during power gone...

    Locked
    1
    0 Votes
    1 Posts
    638 Views
    No one has replied
  • Bug Fold All/Unfold All: cause // { comments

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Gilles GipoG

    @dail Oh ! OK, I understand, now…
    It’s totaly logic, but I dindn’t think to see in that direction.

    The solution is easy to find, now : I only have to cope with this, and avoid to stick those specific characters :)
    …and it works!
    Thanks! :D

    //if(i != iTab){ // a space beetween { and // (...) // } // a space beetween // and }
  • No new syntax in black themes

    2
    0 Votes
    2 Posts
    1k Views
    AZJIO AZJIOA

    You can select the color using the HTML page
    https://pastebin.com/3Csbu1ZW
    Open in your browser

  • docs/wiki - Regular Expressions - Example 2 not correct

    5
    1 Votes
    5 Posts
    3k Views
    guy038G

    Hi, @kusalux, and All,

    Yeah ! it’s always the same story ! Everyone which codes, or even builds a regex, before writing the first line, should ask himself, about all aspects of the program or the regex to create ;-))

    Regarding your analyse about fair dates or wrong ones, an other guy could have a totally different approach about what it’s right or not ! Theoretically, in your case, you should recapitulate all possible valid dates and all possible valid formats of date that you consider as right ones ! I do understand that this is, generally, not an easy task !

    For instance, you said that the syntax 10.11.12. should be taken as valid. But, now, the syntax 10.11.12.13 looks rather like an IP address ! And if your last example it.10.11.12 is supposed correct, too, then a date, embedded in text, like , for instance, abc.27.06.12.def should be a valid format of date !

    Of course, when building the regexes, in my previous post, I just imagined them, according to my way of considering correct formats of date and how the should be located among all surrounding text ! Now, let’s imagine that you previously thought and defined the list of all valid formats of date ( for YOU ! ) then, half work would be already done and, to get the right regex should be easier to achieve :-))

    In addition, you may have a different look to the date problem, later, working on different files ! Indeed, regexes strongly depends on the current file contents, which could end to very different regexes for similar kinds of search ! And, honestly, when a regex seems too specific or complicated, and can be used in very few cases, only, I rather think that it’s not a useful regex, anyway :-))

    If you do need information on regexes, I could help you, but I’m sure than you can cope with these strange things ( the regexes ) by yourself :-))

    Cheers,

    guy038

    P.S. :

    Above all, I forgot to point out, that a script or a programming language is a better way to verify dates than regexes, anyway !

  • Regular Expressions LF∉\h LF∈\v

    6
    0 Votes
    6 Posts
    2k Views
    MAPJe71M

    I just asked to correct the error in the help

    AFAIK you just indicated there is an error on the linked page, you didn’t ask for a correction :-)
    Furthermore, there is no error on the page.

    If there is a difference in behavior, this should be indicated in the description, so that everyone does not ask the same question again.

    Agreed, although keep in mind that the difference wasn’t known of by many (AFAIK, well at least not by me) until @guy038 posted his topic.

  • 1 Votes
    1 Posts
    868 Views
    No one has replied
  • Request to keep settings on update

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    NippurDeLagashN

    @Scott Summer

    Yes, it is drastic but unfortunately, I got quite allergic to automatic updates. Notepad++ has no blame, however, after gigabytes downloaded on a monthly basis, it does not take too long for machines to become cluttered, sluggish, and useless.

  • 0 Votes
    3 Posts
    2k Views
    Steffan RhoadsS

    @Claudia-Frank : that was the trick. I presume I set something that was causing the problem myself (seems odd to manifest that way). Thank-you, I was trying Visual Code & Sublime but really prefer Notepad++. Thank you!

  • -1 Votes
    3 Posts
    9k Views
    guy038G

    Hi, michael-poplawski, @Scott-sumner and All,

    Just a variant of the Scott’s solution :

    SEARCH [^\r\n](?=\R\h*\d+\.\h+)

    REPLACE $0\r\n

    Notes :

    The searched string is, essentially, the part [^\r\n], which represents any single character, different from, either, the Carriage Return and the New Line characters

    But the regex engine will consider this match ONLY IF the positive look-ahead (?=\R\h*\d+\.\h+), ending this regex, is true. That is to say, IF it is, immediately followed with a Line Break ( \R ), some horizontal blank characters, even 0 ( \h* ), at least one digit ( \d+ ), then a literal dot ( \. ) and, finally, at least, one horizontal blank character ( \h+ )

    If this condition is true, in replacement, that single character is, simply, rewritten, due to the $0 syntax, with represents the overall match, and followed by the usual \r\n sequence, which defines a Windows line-break !

    Best Regards,

    guy038

  • Right Click >> Find All in Current Document

    12
    1 Votes
    12 Posts
    8k Views
    Scott SumnerS

    @Cem-Kaval

    In the time since the original posting I have changed how I do this function. I no longer use an AutoIt script. But here’s how I would set it up again if I were doing it:

    Create (and test) the functionality as a Run menu entry. For example, this might be something you would put in the The Program to Run box: "C:\Program Files (x86)\AutoIt3\AutoIt3_x64.exe" "c:\example_script.au3".

    Execute this command to see that it actually works! (rather important before proceeding)

    Save this new Run menu command with a name, e.g. AutoIt3 TEST

    After it is tested and is working via the Run menu, then you can make a right-click context menu entry out of it. Edit the contextMenu.xml file and where you feel it is appropriate add a new line like this::

    <Item MenuEntryName = "Run" MenuItemName = "AutoIt3 TEST" />

    After restarting Notepad++, if all has gone well, you should see your new entry when you right click in a document tab window.