• Cursor positioning behavior

    Locked
    7
    1 Votes
    7 Posts
    5k Views
    appar1tionA

    @go2to i don’t have need for ascii drawings. and as for macros, i fill out any additional macros that i need with autohotkey. the combination of np++ and ahk make my personal workflow a breeze.

  • Undo & Redo: Strange Behavior in NPP

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    dailD

    @go2to

    You can always take it upon yourself to become the Good Samaratin and write one. ;)

  • Notepad++ just hanging on start - Windows 10

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Claudia FrankC

    @John-Griswold142

    could it be that npp, on startup, has to load a file which is on a server?
    Than the 30 seconds could indicate an network timeout.

    Cheers
    Claudia

  • Notepad to notepad++ importation .txt

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Alain-Marin

    allo,

    make sure that notepad++ uses the same font as MS notepad does
    make sure that notepad++ uses spaces/tabs as MS notepad does

    Cheers
    Claudia

  • Does NotePad++6.9.2 has Hex plg-in?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Daniel FuchsD

    You can download it from the plugin manager. Notepad++ never came with the plugin pre-installed, as far as I remember.

  • is regex condition possible in replace-string

    Locked
    5
    0 Votes
    5 Posts
    8k Views
    guy038G

    Hi, @jos-maas,

    Oh yes ! You’re perfectly right. Even, in the example, described in my previous post, we don’t need any alternative !

    But, in that case, when a line does not match ( NO group jos ), this line stays unchanged, and we do not need, either, the ELSE part of the conditional replacement !

    So, the previous regex S/R, becomes :

    SEARCH (?-s)(?<jos>^\d+$)

    REPLACE ?{jos}Rewrite $+{jos}, as Group 'jos' exists

    And, with the original text :

    123 This is a test 4567890

    We would get, this time, the text :

    Rewrite 123, as Group 'jos' exists This is a test Rewrite 4567890, as Group 'jos' exists

    Note that, in replacement, the outer parentheses are removed, without any problem !

    Jos, for further information, about regular expressions concept and syntax, begin with that article, in N++ Wiki :

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

    In addition, you’ll find good documentation, about the 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

    You may, also, look for valuable informations, on the sites, below :

    http://www.regular-expressions.info ( The reference !! )

    http://www.rexegg.com

    http://perldoc.perl.org/perlre.html

    Be aware that, as any documentation, it may contain some errors ! Anyway, if you detected one, that’s good news : you’re improving ;-)

    Cheers,

    guy038

  • UDL 2.0 in Notepad 7 release

    20
    0 Votes
    20 Posts
    11k Views
    Kerem İspirliK

    ADA is not the only reason for UDL3. Generally UDL’s generally don’t work well with different themes and UDL3 is said to help with that, too: https://sourceforge.net/p/notepad-plus/discussion/331754/thread/bd2bc405/#757b

  • how can i remove automaticly lines with differents caracteres

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    gerdb42G

    Do a RegEx search: ^<icon.*$\R. Replace with nothing.

  • Conditional replacing

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Mario-Enrique-Martínez-Durán

    by using a regular express like

    find what:(\d+)(,)(\d+) replace width: $1\.$3

    Means it is looking for any number of digits followed by a comma and again digits

    To find out more about regular expression I would recommend reading
    nearly every post by @guy038 and the regex engines details as described here. In addition sites like http://www.rexegg.com/ and https://regex101.com/
    are useful too.

    Cheers
    Claudia

  • Notepad++ 32Bit or 64Bit - Regarding Encryption of text plugin.

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    BenyaB

    Thanks!

  • Add file name on each search result

    Locked
    1
    0 Votes
    1 Posts
    965 Views
    No one has replied
  • Image code issue

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Louisa-Rankin

    you didn’t specify the programming language you use the I assume html.
    One of the best side explaining html is https://www.w3schools.com/
    Your question https://www.w3schools.com/html/html_images.asp

    Cheers
    Claudia

  • Corrupted file. Error on line -1

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    AdrianHHHA

    The negative line number in the error message suggests that the beginning of the file, or possibly the end, are not correct. Notepad++ will show all of the lines and characters in the file.

    Try opening a file that is not corrupt in Notepad++ and compare the first few characters against the first few of the corrupt file. It may be useful to set menu => View => Show symbol => Show all characters. Also compare the file encodings as shown on the Notepad++ status line (i.e. at the bottom of the window).

  • Word cannot be added in dictionary

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Need help with functionlist regex

    11
    0 Votes
    11 Posts
    4k Views
    MaDillM

    Thank you for the explanation.

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    44 Posts
    37k Views
    Alguem MeuglaA

    @Claudia-Frank said:

    just for clarification, you are happy? No further modification needed?

    Yeah, it looks good enough. Ty.

  • convert tab separated to comma separated

    Locked
    2
    0 Votes
    2 Posts
    28k Views
    Claudia FrankC

    @Marv-Wagner

    yes, open file replace dialog, select extended in search mode
    and use \t for tab char.

    Cheers
    Claudia

  • FTP Plugin - not allow to upload whole folder with some fiels

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How can I stop one view from moving the other when adding lines?

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Paul-LinNYP

    I have the Synchronize Vertical Scrolling OFF/disabled when I see the problem behavior.

    When I turn Synchronize Vertical Scrolling ON it gets weird.

    If both views are at line 1 with my focus in the left view, and I then set Synchronize ON, then move the focus to the right view and scroll down to the end (2003) the left view follows along.

    If I then move the focus back to the left view the cursor disappears and both views stay at the end. If I then press the down arrow once both views snap to line 2 and the cursor appears at line 2!

    If I then move the focus back to the right view the cursor again disappears and both views stay at the top. If I then press the down arrow once both views snap to the bottom of the file and the cursor appears back at line 2003!

    With sychronize ON each view seems to have its own memory of where you left it and it goes there when you move the focus dragging the other view along with it.

    With synch OFF, the left view at line 100, the focus in the right view I can scroll the right view independently of the left. If I add a line in the right view at line 20 (above the position of the left view) the left view doesn’t move. If I add a line in the right view at line 120, (below the top of the left view), the line opens up in the left view. If I add a line in the right view at line 160, (below the bottom of the left view screen), the left view doesn’t move. But, if I move further down in the file in the right view and add a line at say 1800, the left view will snap down to show the added line.

    The behavior is hightly inconsistent. Hmmmmmmmmm.