• Python function list with Notepad ++ v7.4.2

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Highlight doesn't work on a clone view of the same file.

    7
    0 Votes
    7 Posts
    4k Views
    Taihai ChenT

    @dail That’s a shame.

  • HOW TO MAKE A SHORTCUTS FOR THIS?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Álvaro MeirelesÁ

    Wow,

    Very nice!

    Now I can close the find result using this Script System more one shortcut :D

    Thank you!

  • Changing the background color of the editor window

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    cmeriauxC

    yes,
    in the “Style Configurator” panel, you can chose various theme.

  • pretty print XML by default?

    3
    0 Votes
    3 Posts
    5k Views
    Gogo NeatzaG

    The one line python script is :
    notepad.runPluginCommand(‘XML Tools’, ‘Pretty Print (XML only - with line breaks)’)

  • replace notepad with notepad++

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 1 Votes
    3 Posts
    2k Views
    TuTAH1T

    Screenshot2
    Fucking “wait 20 minutes to post new massage” this is not an obstacle to ad bots. I already give 2 rep to myself

  • 0 Votes
    4 Posts
    12k Views
    AdrianHHHA

    This is easy in Notepad++ with a regular expression, but it is also easy to get it wrong and to wrongly delete or change things. So first, make sure you have a backup of the file, not just the backups that Notepad++ will keep, but make your own backup copy. Then it is easy to revert if you mess things up.

    Also note that “wildcards” and “regular expressions” are different. Notepad++ supports regular expressions, it does not do wildcards.

    All the numbers to be altered in the example text have 3 or 4 digits and are preceded by a space and then have the f or t. Then there is another space or a comma or the end of line. These strings can be removed by replacing " \d{3,4}[ft](,| |$)" with a single space. That leaves the text as:

    granuloma 553 irritant/toxic causes
    eruption 551Ð552, idiopathic facial
    pathogenesis 545,
    833 adhesion molecules adhesion proteins

    The question is not clear whether the remaining numbers above, i.e. those without a t or f, should be removed. Assuming they are to be removed then the above regular expression could be altered to be “(^| )\d{3,4}[ft]?(,| |$)”. Using it gives the result

    granuloma irritant/toxic causes
    eruption 551Ð552, idiopathic facial
    pathogenesis
    adhesion molecules adhesion proteins

    This leaves 3 issues that I can see.

    The “551Ð552” . There should not be many numbers left. They can be searched for and removed manually. Leading and trailing spaces on lines. Use menu => Edit => Blank operations => Trim leading and trailing spaces. Embedded double spaces (came from the two replacements at “1684f, 1685t”. Just do a replace-all of two spaces with one space and repeat until no more changes found.

    Note that using simple regular expressions such as “\d{3,4}[ft]” is unwise for this task. It would change, for example, “ulna 123fibia radius 45678tibia pelvis” to be ulna ibia radius 4ibia pelvis". Thus removing wanted letters and leaving some digits in place.

  • Strange message in notepad. Or is a virus ?

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    OleksandrO

    Thanks!
    Now Easter Eggs like this is not looks a good.
    After wannaCry and other ransomware viruses…
    Very bad idea to use it.

  • how to run a notepad++ macro from vbscript or powershell?

    4
    0 Votes
    4 Posts
    8k Views
    Thanasis PalianopoulosT

    thank you
    that worked fine!!!

  • A script to cycle between panels ?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Victor MasséV

    Expected behavior:

    Notepad++ always runs with the "folder as workspace" pane displayed. F1 closes it and opens the "NppFTP" pane. F1 closes it and opens the "FingerText" pane. F1 closes it and brings back the "folder as workspace" pane, and the cycle goes on.
  • Does notepad++ support a "find not" function?

    4
    0 Votes
    4 Posts
    40k Views
    AdrianHHHA

    You could use the “Mark” tab in the search and replace dialogue. Have Bookmark line ticked. Search for the lines that have the string, then use menu => Search => Bookmark => Inverse bookmark**. Now the lines that do not match the search string are bookmarked. The Bookmark menu has several other commands for manipulating the (un)marked lines.

  • Notepad ++ replace last / with ?id=

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @KG-NEWS

    Find-what zone: (?-s)^(.*)/
    Replace-with zone: \1?id=
    Search mode: Regular expression

    How it works:
    On a single line, match any characters until a final / is encountered; remember everything that occurred before that final / as group #1–because of the parenthesis wrapping it. Replace the matched text with the contents of group #1 (the effect of this is to repeat everything except that final /), then insert ?id= into the text. Because what originally came after the final / is not involved in the match, it remains as-is after the insertion of ?id=, giving the final result.

  • UDL (User Defined Language) freezing Notepad++

    2
    0 Votes
    2 Posts
    2k Views
    Gogo NeatzaG

    Notepad++ freeezing is a ‘sign’ that this particular UDL is not a valid file.
    Using N++ to check gives me the following error:
    “XML Parsing error at line 10: extra content at the end of the document”

  • 0 Votes
    1 Posts
    990 Views
    No one has replied
  • Can I redoc nppftp window inside my notepad++ window?

    2
  • Stop that "search" tone!

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Ben VorisB

    Fwiw, I get a short beep, which maps to what Win10 Settings -> Sound -> Sounds shows as “Default Beep”. Not a Windows programmer, so I don’t know if that is the same as “simple beep”.

  • Plugin Manager 32 bit

    Locked
    2
    1 Votes
    2 Posts
    10k Views
    MAPJe71M

    Search for “no plugin manager” in this forum and find your answer.

  • Remove XML sections where <MediaFileLink> tag does not contain http://

    Locked
    1
    0 Votes
    1 Posts
    875 Views
    No one has replied