• Complete Beginner - Help Writing C++ Code

    6
    0 Votes
    6 Posts
    7k Views
    Scott SumnerS

    If you keep going, you will REALLY get an appreciation for that!

  • Get rid of grey areas

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Settings > Preferences > Editing turn off:

    Display Line Number Display Bookmark Enable current line highlighting Set Folder Margin Style to None

    Not sure what the “flashing boxes” are. Maybe auto-complete. That can be turned off as well in the preferences.

  • Weird error I thought I should report

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Why am I getting WakaTime

    2
    0 Votes
    2 Posts
    2k Views
    dailD

    WakaTime is a plugin for Notepad++. It does not ship with Notepad++ by default. I think it is just available through the plugin manager.

  • Search not highlighting all results?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello, Michael,

    Choose the menu option Settings - Preferences - MISC

    Click on the Enable option, in the Smart Highlighting area

    You may prefer the Match case option, as well !

    Et voilà :-))

    Enjoy N++ !

    guy038

  • Shortcut for next node in overload list in the xml file using UDL

    2
    0 Votes
    2 Posts
    2k Views
    oklar123O

    Bumping

  • 0 Votes
    2 Posts
    2k Views
    Vishnu Hari DadhichV

    Okay solved.
    settings->style configurator->font style and select same as of MS Notepad or any other supporting of your choice.
    Works like charm.
    Thank You. :)

  • Search and replace using named capturing group in regular expression

    7
    1 Votes
    7 Posts
    21k Views
    gerdb42G

    “Search / Replaces in files”-function allows only 1 line.

    Who said so? If you know where line breaks will occur, try \R-Pattern as Placeholder. Or check option . finds \r and \n.

    In replacement, insert \r\n at places where you want line breaks.

    When using . finds \r and \n pay special attention to greedy/non greedy repeats.

  • RTF in NotePadd ++, can I get rid of the url underline??

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    gerdb42G

    Where is the underline shown? If it’s in Notepad++ it has nothing to do with RTF. Go to Settings->Preferences->MISC and disable clickable links.

    If it’s not in NPP, many Tools have similar Settings to automatically highlight text parts that look like a link.

  • Change many lines

    4
    0 Votes
    4 Posts
    3k Views
    Gunar MayerG

    Hello
    I have installed it.
    But I don’t found to change many lines in MANY files — perhaps I did not find it and please give me a hint.
    For example 10000 files in a folder.
    For example I search 3 lines and instead of this lines I need to put in 10 different lines.

    Please help
    Mayer

  • Contents of clipboard being lost

    Locked
    1
    0 Votes
    1 Posts
    9k Views
    No one has replied
  • Redistribution of Notepad++

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • shortcut to Window > Windows...

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Lost unsaved notes

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • list functions issue with python

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • run a macro multiple times... Not functioning

    2
    0 Votes
    2 Posts
    3k Views
    Diane GrosshansD

    I have had the same problem. Only one line could be changed at a time.
    I made the end of the line following the last populated field… no trailing spaces.
    Now I run EOF or number of lines and it goes through the entire file, but only the first line is updated properly.

    I am inserting spaces to create a space delimited text file to unload to CSV file.

    Only the first record is converted properly.
    It looks like each subsequent line has a space added in it that is not visible. Wonder if it is related to CR or LF at the end of each line.

  • Tab Order

    5
    0 Votes
    5 Posts
    5k Views
    guy038G

    Hello Carol,

    Just click to my post to ColinsForum, two days ago :

    https://notepad-plus-plus.org/community/topic/11918/arrangement-of-multi-line-tabs-in-alphabetic-order/2

    You can skip the first part, if you don’t care to backup the present order of your tabs :-))

    Enjoy N++,

    Best Regards,

    guy038

  • All appearances in search

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello Radu Vîrşescu,

    Yes, indeed ! Moreover, it will allow me to talk about the main property of a powerful feature of regular expressions : the look-arounds :-))

    A look-around can be, either, a look-behind or a look-ahead and, either, positive or negative. A look-around contains its own regex ( or a string or a character ! ) which must be matched, at cursor location, in order that the regex engine considers that there a reel match of the entire regex, when the main regex is already matched

    An example : let’s suppose the simple subject string abcdefghidefxyz, beginning a line and the regex (def(?=ghi)|.)

    When the position of the regex engine is located before the letters a, b or c, the regex engine chose the second part ( . ), of the alternative |, because it can’t see any string def, at cursor location

    Then, the regex engine matches the string def, because that string is quite followed with the string ghi ( first part of the alternative (def(?=ghi) ). It’s important to note that, although the regex engine needs to look till position 9, to verify that the string ghi is, really, present, the “official” location of the regex engine is, still, just after the string def and before the letter g ( so between columns 6 and 7 )

    Indeed, if you go on searching, you, now, get, successively, the letters g, h, i, then, again, the letters d, e and f and, finally, the letters x, y and z, which are, all, matched, because of the dot ( . ). Note that the second string def, although found by the regex engine, is NOT considered as a match, just because it’s NOT followed by the string ghi !

    So, Radu, you, certainly, have found out how to build your regex, for your counting !!

    Simply, search for the regex a(?=a) Et voilà !

    For instance, given the subject string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ( 30 letters a ), a click on the Count button returns 29 matches. Quite logical :-)

    Now, if you choose the regex a(?=aaaaaaaaaa), you get, only, 20 matches

    And if you choose the regex aaa(?=aaaaa), you’ll obtain 8 matches ( 8 consecutive groups of the string aaa ), because the ninth and tenth groups of the string aaa are NOT followed by the exact string aaaaa !!

    Best Regards,

    guy038

  • Uncomment block not working ?

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Alt + Left Click to select specifc text within a column.

    7
    0 Votes
    7 Posts
    9k Views
    Matt BarwickM

    Many thanks for the input @guy038 it is most appreciated.

    Matt