• app stucks when I do ctrl+shift+M for string

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Nadezhda-Bu

    To do what? Are you using xml tools? If so, this combination refers to validate now
    but your data isn’t xml!!

    Cheers
    Claudia

  • Arabic letter replacment

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    hu maH

    Well, it appears that i have to convert the hole text with Arabic presentation form-b coding in order to achieve what I want, luckly I found a tool to do that for me, also i have to reverse the text RTL, which is not hard to do.

  • Numbers replaced with other characters

    6
    0 Votes
    6 Posts
    3k Views
    Claudia FrankC

    @Charlie-Murrell

    Because you said that this happens with other software as well we have to assume
    that this is a general issue. Afaik, beside a nasty virus/malware, those are the only
    two areas which would explain your behavior.
    So if you only have ONE language defined, which is your native one and you
    didn’t reconfigure its original settings I have to assume that the font you use
    is broken. Did you check this by using another font?
    Menu Settings->Style Configurator.
    Which OS and plugins are you using? (can be found in menu ?->DebugInfo)

    Cheers
    Claudia

  • How filter away everything except for the bookmarked lines?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    cmeriauxC

    You can use the “copy bookmarked line” function. Then copy in a new buffer and do what you need to do.

  • No pop-up window after document modifications.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    肖沐慈

    Hey, I have found the answer. 中文版:“设置”–>“首选项”–>“备份”–“记住…”复选框处取消打勾;in English, “setting”–>“preference”–>“back up”–"remember…"cancel the tick in the check box. BTW, I am the 7.2 version. It may be some difference in other software version.

  • search and replace/add

    2
    0 Votes
    2 Posts
    3k Views
    guy038G

    Hello, vk_Notepad_123,

    If I, fully, understand you :

    For each block of two lines, below, with an identical IP address nnn.nnn.nnn.nnn

    Random text1 nnn.nnn.nnn.nnn Random text2
    Random text3 nnn.nnn.nnn.nnn Random text4

    You would like to obtain, after replacement, the text below :

    Random text1 nnn.nnn.nnn.nnn Random text2 Random text4 abcd-efg-ijk

    If so, use the following S/R, in regular expression search mode :

    SEARCH ^.*((?:\d{1,3}\.){3}\d{1,3}).*\R\K.*\1\h*(.+)

    REPLACE \2\r\nabcd-efg-ijk

    IMPORTANT : Due to the \K form, you must click, exclusively, on the Replace All button ( DON’T use the step-by-step replacement, with the Replace button )

    NOTES :

    This regex will work even if Random text1 and/or Random text2 and/or Random text3 does not exist

    This regex will work even if no blank character ( space or tabulation ), exists between the IP address and Random text4, in second line

    The part ((?:\d{1,3}\.){3}\d{1,3}) looks for four integers, from 1 to 3 digits, separated by the dot symbol. However, consider that this regex does not verify the integrity of the IP address. Indeed, this syntax would match the string 999.999.999.999, which is not, obviously, a valid IP address !

    The IP address, preceded and followed by any range, even null, of characters ( .* ) and ended by its EOL characters ( \R ) is, then, forgotten by the regex engine, due to the \K syntax

    Now, it tries to match the second line : any range even null, of characters, followed by the SAME IP address, stored as group 1 ( \1 ), followed by possible horizontal blank characters ( \h* )

    As the previous syntax (?:\d{1,3}\.){3} defines a non-capturing group, repeated 3 times, the remainder of line 2, Random text4 (.+) ) is, therefore, stored as group2

    In the replacement part, this second line is re-written with Random text4 ( \2 ), only, followed by a line break ( \r\n ), and, finally, followed by the simple string abcd-efg-ijk

    Best Regards,

    guy038

  • Remove from context menu

    Locked
    4
    0 Votes
    4 Posts
    5k Views
    Claudia FrankC

    @Seth-Havok

    I don’t have a windows installation therefore I cannot say for sure.
    I would try to run a search for “edit with notepad++” using regedit.

    Cheers
    Claudia

  • Can I search and replace in more than one page at once

    9
    0 Votes
    9 Posts
    4k Views
    guy038G

    Hi, kichererbse,

    I think that you may perform that specific S/R, simply, in Normal search mode !

    Depending on the change of http into https must be run on all the links of your file or, strictly, on the addresses relative to the cdnjs.cloudflare.com site :

    Select the searched string http or all the contents between quotes

    In replacement, repeat the searched expression, just adding the s letter, after the string http

    Best Regards,

    guy038

  • removing duplicate lines

    3
    0 Votes
    3 Posts
    6k Views
    guy038G

    Hello, Robert Mundkowsky and Scott,

    @scott-sumner

    Nevertheless, the Notepad2 editor, for instance, has features for keeping only unique or multiple lines, while doing sort !!

    ( Select some text, in Notepad2 and hit the ALT + O shorcut to open the sort dialog )

    @robert-mundkowsky

    Here are, below, two useful links, on how to realize such operations, with the help of the N++ regex and sort features :

    https://notepad-plus-plus.org/community/topic/12490/i-want-to-keep-only-unique-lines/2

    https://notepad-plus-plus.org/community/topic/12569/delete-duplicate-lines/7

    The first one gives you two solutions ( WITH or WITHOUT change of the file’s content’s ) to ONLY keep :

    All the unique lines

    All the duplicate lines

    The first item of all the duplicate lines

    The second one gives you a method ( WITHOUT change of the natural order of the file’s contents ) to ONLY keep :

    All the unique lines AND the last item of all the duplicate lines,

    I’m, still, studying these questions, presently ! I’ll, also, try to see if these operations could be easily inserted in macros !

    So, see you later, for some updates :-))

    Best Regards,

    guy038

  • I've lost all my open tabs...

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Alex KarasevA

    Oh, I’ve found a backup folder, I’m saved )

  • Function List for Simatic

    20
    0 Votes
    20 Posts
    12k Views
    MAPJe71M

    Yes that can work, in your case!
    Change commentExpr to "(?m-s:;(?!\$PATH).*?$)".

  • Spell-Checker doesn't work

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    coffent1C

    Thanks - that worked!

  • 0 Votes
    3 Posts
    2k Views
    nekokwantixN

    sorry, I guess it’s “tabs” not “tags”

    but what I’m looking for is scrolling among the pages to drag’n drop with mouse only

    (sorry for my english! :-) )

  • Can not see all bulgarian letter

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Tab set at 4 spaces - only moves 2.

    3
    0 Votes
    3 Posts
    2k Views
    Claudia FrankC

    @Max-Russell

    this setting means that if pressing the tab it jumps to the next tab stop which would
    be a multiple of 4 in your case.

    E.g pressing tab after “a” jumps to e, after “b” still jumps to e …after “d” jums to i

    abcdefghi a e ab e abc e abcd i

    Cheers
    Claudia

  • Block uncomment does not work?

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Byron-Smith

    afaik ASP language doesn’t have block comment/uncomment feature.
    Select the lines and use single line comment/uncomment - works.

    Cheers
    Claudia

  • What Print Preferences Header Variables are available?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Michael-Randall

    not sure if it is the full list but worth looking anyway.
    http://docs.notepad-plus-plus.org/index.php/Defining_User_Commands

    Cheers
    Claudia

  • how to turn settings back to normal?

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Henrik-Halvorsen-Kvamme

    depends what you have changed, npp stores it in various xml like config.xml or shortcuts.xml etc…
    If you delete the file it gets recreated with default settings.

    Cheers
    Claudia

  • override NppFTP.xml

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Claudio-Schneider

    if backup was enabled you might look at either the APPDATA\notepad++
    or at your npp installation directory for a backup subdirectory.

    Cheers
    Claudia

  • macros missing after upgrade to 7.1

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Howard-Lattimore

    could it be that you changed your installation type from APPDATA to local or vice versa?
    If so, you might check the shortcuts.xml in either APPDATA\notepad directory or in your
    installation directory.

    Cheers
    Claudia