Community
    • Login
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • smth76S

      selection length issue with char §

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      1k Views
      guy038G

      Hello @smth76 and All,

      Yeah, in an ANSI encoded file, any character, with Unicode value, between \x80 to \xBF, is NOT taken in account :-(( It’s a very old bug. In an encoded ANSI file, you can search these characters with the regex [\x80-\xbF]

      On my laptop, as I’m French, the NON Unicode encoding used, in ANSI, is the Windows-1252 encoding

      Luckily, nowadays, it’s better to use any Unicode encoding, that is to say, any other encoding but ANSI ;-)) In that case, the selection of all these characters do give the expected result : 64 characters selected

      In an Unicode encoded file, these characters may be found with, either, the regexes :

      [\x80-\xbF]

      [\x{80}-\x{bF}]

      [\x{0080}-\x{00bF}]

      Best Regards,

      guy038

    • Daniel WernerD

      Syntax highlighting: automatic group

      Watching Ignoring Scheduled Pinned Locked Moved tex syntax highlight
      1
      0 Votes
      1 Posts
      753 Views
      No one has replied
    • COURTNEY sC

      Copy and Replace

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      3k Views
      PeterJonesP

      Your spec is rather ambiguous, but I think this will do what you asked for (in that it mimics the output):

      Find what : (?-s)^(.*$\R)^(EN)$ Replace with : $1New text $1$2 ☑ Regular Expression Make sure you’re on the Find in Files tab

      Find details:

      (?-s) = make sure . does not match EOL characters (this will ensure that the next parenthetical will only match one line’s worth () = Everything inside parentheses gets put into the next $# variable ^ = matches the beginning of a line $ = matches the end of a line \R = matches the EOL character sequence (whether it’s a linux LF or windows CR+LF or old mac CR) ^(.*$\R) = combining concepts above: match all the text between the start and end of line, plus the EOL sequence, and store it all in $1 ^(EN)$ = match the entire line matching EN, and store EN in $2

      Replace details:

      $1: quote the values in $1, so it will be the fifth line and its new-line sequence new text $1: add “New text”, followed by a space and the full contents of the fifth line (including its newline) $2: quote the EN

      P.S. :
      (paraphrasing @guy038, the forum’s regex guru, who compiled these great regex resources, but hasn’t shared them in this thread yet):

      Here is a good starting point for NPP users unfamiliar with regular expression concepts and syntax:

      http://docs.notepad-plus-plus.org/index.php/Regular_Expressions

      Modern Notepad++ (since v6.0) uses the Boost C++ Regex library, v1.55.0 (similar to the Perl Regular Common Expressions (PRCE), v5.8):

      search syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html replace syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

      Other sites with valuable regular expression information include:

      http://perldoc.perl.org/perlre.html http://www.regular-expressions.info http://www.rexegg.com
    • Arthur HoornwegA

      Custom keywords for "folding"

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      789 Views
      No one has replied
    • mushu999M

      Possible syntax color logic bug for ASP in all versions?

      Watching Ignoring Scheduled Pinned Locked Moved color syntax asp
      3
      0 Votes
      3 Posts
      1k Views
      mushu999M

      @Savio-Tamara-Lobo you didn’t post anything?

    • TimPianoDudeT

      Risks with using Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved risks risk assessment security
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • Bugnerová PavlaB

      Update 7.5.6 does not allow me to instal XMLtools Plugin

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      1 Votes
      2 Posts
      3k Views
      Scott SumnerS

      @Bugnerová-Pavla

      Consider these statements as Laws :

      32-bit plugins are not compatible with 64-bit executables 64-bit plugins are not compatible with 32-bit executables

      Either go with:

      32-bit executable (notepad++.exe) and 32-bit plugins
      or 64-bit executable (notepad++.exe) and 64-bit plugins

      Note: x86 is another term for 32-bit (means the same thing, in this context at least)

    • Somil PatniS

      Notepad++ not executing Find in file commnad( in other words it is not working)

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      2k Views
      Somil PatniS

      My problem got resolved. I just chose the use all sub folders option and it started working :)

    • GamesGammaG

      Notepad++ shows numbers as letters

      Watching Ignoring Scheduled Pinned Locked Moved np++ bug letters error font
      1
      0 Votes
      1 Posts
      785 Views
      No one has replied
    • Hakan ToptasH

      Plugin convert problem

      Watching Ignoring Scheduled Pinned Locked Moved
      7
      1 Votes
      7 Posts
      4k Views
      Hakan ToptasH

      I checked the converter/issues, it was a known issue and they cannot solve I guess.

      I tried different sums but sum1 seems to be the correct one.
      Best

    • torkrT

      Open a DLL file

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      4k Views
      guy038G

      Hello @torkr,

      Have a look to that thread :

      https://notepad-plus-plus.org/community/topic/15515/can-not-open-file-strt_replaces/4

      And also :

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4354

      Best Regards,

      guy038

    • General CoderG

      Open file favorites

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      1 Votes
      3 Posts
      1k Views
      General CoderG

      TY!
      Works now :)

    • Mark TinneyM

      Struggling to get NPPExec 64 to run Lua

      Watching Ignoring Scheduled Pinned Locked Moved notepad++ 7.5.6 nppexec 64-bit
      4
      0 Votes
      4 Posts
      2k Views
      Mark TinneyM

      My apologies. I thought I had both site’s forums set up to notify me by email when there was a response, but I was mistaken.

      I’ll look at getting that more recent version of NPPExec 64 and see if that solves my problem.

    • Andrzej ZońA

      Is this style of editing posible in N++?

      Watching Ignoring Scheduled Pinned Locked Moved highlight edit highlighting multiple lines auto
      2
      0 Votes
      2 Posts
      1k Views
      Scott SumnerS

      @Andrzej-Zoń

      This capability is not native to Notepad++. However, this thread has some ideas that may be of interest…

    • maknolM

      How to remove SAVE ALL button?

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      0 Votes
      8 Posts
      4k Views
      maknolM

      I found x64 version, https://sourceforge.net/projects/npp-customize/

      But this system not allowing me to post or update until someone else write a post.

      Now all is OK!
      Thank you!

    • Emma BanksE

      Best places to use page-wrap? (NEWB)

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      -1 Votes
      2 Posts
      868 Views
      Scott SumnerS

      @Emma-Banks

      This is not a Notepad++ question. Please confine topics here to discussion about Notepad++. Thanks!

    • Rangan RoyR

      How to change html attribute highlightting color of twilight theme??

      Watching Ignoring Scheduled Pinned Locked Moved theme html color
      3
      0 Votes
      3 Posts
      1k Views
      Jim DaileyJ

      @Rangan-Roy Explore the Settings->Style Configurator dialog box. Note you can change the way various language-specific items appear.

    • Randy ReistR

      Select Large Area

      Watching Ignoring Scheduled Pinned Locked Moved select large ar
      3
      0 Votes
      3 Posts
      5k Views
      Jim DaileyJ

      @Randy-Reist You can also mark a small bit of the text, then use the mouse to pull the scroll bar down to where you want to end the selection. Hold down the Shift key and left-click the mouse to extend the selection to wherever your mouse cursor is.

    • Emanuel Soto SánchezE

      **Plugin Manager**

      Watching Ignoring Scheduled Pinned Locked Moved plugin manager
      2
      0 Votes
      2 Posts
      1k Views
      PeterJonesP

      Due to the embedded ad (see NppPluginManager issue #80 for bandwidth needs requiring the ad), Don Ho (the author of Notepad++) has decided to stop bundling the Plugin Manager. As of this mid-January post, he says he’s working on his own embedded plugin manager, but with no estimated ship date.

      For now, you can download the Plugin Manager from @bruderstein’s releases page and do a manual installation.

    • RathardR

      How to replace a value after a statement?

      Watching Ignoring Scheduled Pinned Locked Moved replace value statement
      3
      0 Votes
      3 Posts
      1k Views
      RathardR

      Thank you so much, you are a saviour

    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors