• Creating a user-defined-language that combines 2 languages

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • removing \r lines without deleting text

    11
    0 Votes
    11 Posts
    17k Views
    guy038G
    Hi, Maureen, To use the very powerful regex search feature, with the PERL syntax, you, absolutely, need an Unicode Notepad++ version >= 6.0 To get your version number, just, hit the F1 key, when a N++ session is opened As for me, I try to “follow” the different versions, to reply, on that forum, too. So, I use ( one at a time, I’m careful ! ) any portable version, like an old Ansi 5.9.8 version, an Unicode 6.4.5 version, a 6.7.9 version and the last v6.8 version. You’ll find good documentation, about the new Boost C++ Regex library, v1.55.0 ( similar to the PERL Regular Common Expressions, v1.48.0 ), used by Notepad++, since its 6.0 version, at the TWO addresses below : http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html The FIRST link explains the syntax, of regular expressions, in the SEARCH part The SECOND link explains the syntax, of regular expressions, in the REPLACEMENT part And, if you want, preferably, a general documentation on Notepad++, refer to my post, at the address below : https://notepad-plus-plus.org/community/topic/40/real-help-wanted/3 Good reading ! Cheers, guy038
  • New Documents Saved As PHP Can Not Be Saved Again

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    guy038G
    Hello Web4Guru, I followed your method, step by step, on my old Win XP laptop, with the last v6.8 portable N++ version, simply located in a C:\_680 folder Unfortunately, ( I mean for you ), each time I added some text, after the initial text, to my PHP test file, the icon became red, with an asterisk in front of the absolute path and the menu option Save was normally available and NOT greyed out ! Right now, I can’t understand the reason why :-( May be, changing PHP file’s location would help ? Good luck for investigation ! Best Regards, guy038
  • How to delete marked line

    Locked
    2
    0 Votes
    2 Posts
    49k Views
    guy038G
    Hello Bernard, Very easily, indeed ! So I suppose that you previously mark some lines ( with a round blue physical mark ), which, all, start with a specific string To delete all these lines, perform the menu option : Search - Bookmark - Remove Bookmarked Lines Et voilà ! Best Regards guy038
  • error plugins

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to count the whole project code lines?

    5
    0 Votes
    5 Posts
    33k Views
    S
    guy038, No, I think your regex count method would work just fine; in other words, it wouldn’t see the “new 0” file. The “new 0” file I’m talking about doesn’t seem to be a real thing to the user, just something that gets returned with the notepad.getFiles() function of Pythonscript. Then again, it could be a file that means something special to N++ behind the scenes (and thus at the Pythonscript level it IS a real file), but I don’t know. Maybe Dave B is watching, knows the answers, and will comment. Related: There are times in N++ when I see a “new _” file created briefly when I didn’t do it. [Side note: I rarely create a new file in the tradition manner; I almost always create a new file with the TakeNotes plugin, so I don’t have files of my own creation called “new _” in my tabs.] One example of this is when N++ is shutting down, I believe, sometimes I see a “new 1” tab created very briefly as N++ is cleaning up. I’d like to know more about these rogue “new _” files, if anyone knows…
  • Function name highlighting in notepad++

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • (Bug) Notepad++ installs two overriding shortcuts

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Annoying behavior (BUG?)

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • "properties" cannot be changed.

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Getting a plugin listed as unstable?

    Locked plugin
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Notepad+ can't save an existing file

    Locked
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Save failed: The file cannot save saved and it may be protected.

    Locked
    1
    0 Votes
    1 Posts
    8k Views
    No one has replied
  • How to adjust encoding detection algorithm: ANSI vs UTF-8 w/o BOM?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • How to copy Notepad++'s configuration to another PC?

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    R
    stylers.xml contains default theme, /themes/your theme.xml contains your theme colors/fonts
  • Line breaks possible in Custom Defined Language?

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    Christian RekratsC
    I think I’ve found it… http://udl20.weebly.com/delimiters.html See Example 2 and 4.
  • Line Filter for updated Notepad++

    Locked
    8
    0 Votes
    8 Posts
    90k Views
    R
    @MoneIntuitive Thanks for sharing! I think in the Linefilter2 the options “Keep lines with selection” and “Remove lines with selection” are equivalent to the option “Find lines that dont match” (in ‘Filter Settings’ dialog) with the checkbox respectively unticked and ticked.
  • 0 Votes
    8 Posts
    10k Views
    bri235445B
    @guy038 The name of the function is complicated, so functionList should return complicated as the name. You can see it in action here:https://ideone.com/SmDmCF It doesn’t do anything useful since it is an example. Here is another example: float ( *GetPointer( int a ) )[10] { ( void )a ; return NULL ; } This is a function named GetPointer, taking an int and returning a pointer to an array of 10 float. You can see it working here: https://ideone.com/Sxn8WQ
  • Javascript and CSS formatting in html files

    Locked
    3
    1 Votes
    3 Posts
    8k Views
    Herriman CoderH
    Ricardo: When I upgraded from NPP 6.7.9.1 to 6.7.9.2, it works great now. Thanks!!