• How to get it to read .ss files as html?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Nika RudolfN

    Thank you so much, I did it and it works fine!

  • Partial word search not working.....

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Daniel GaliD

    yes it was!! duh! thanks Man!!

  • Cannot Change Recent Files History Count

    6
    0 Votes
    6 Posts
    3k Views
    Claudia FrankC

    @Dave-Manning

    Sorry, was pretty confident that it is %APPDATA%\notepad++,
    but could be that my memory plays a trick on me.
    It’s been a while since I’ve used windows.

    As far as I know, no, npp doesn’t save this in the registry instead
    it uses different config files. The one in question is config.xml.

    And the line is

    <History nbMaxFile="10" inSubMenu="no" customLength="-1">

    From your debug-info output it should be the one under %APPDATA% as the
    Local Conf mode is OFF but just to be sure, check the one under C:\Program Files (x86)\Notepad++ as well.

    Cheers
    Claudia

  • Entering ZWNJ Zero Width Non-Joiner

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    PeterJonesP

    I have two ideas:

    Is it the character or the keyboard shortcut that’s having the problem?

    Try assigning the AutoHotKey sequence to something different for the ZWNJ insertion, and see if that helps. Alternately: in my Settings > Shortcut Mapper, I see that Main Menu: #58: Function Completion is assigned to that key sequence; yours may be a different number, but you could try to select Function Completion and CLEAR its shortcut, and then try doing the Ctrl+Space shortcut again.

    If AHK cannot seem to insert it, even after playing with shortcuts, you might want a PythonScript solution.

    create a short script, and save it in the appropriate directory for PythonScripts (in a <executable directory>\plugins\PythonScript\scripts for Machine Scripts, or in %AppData%\Notepad++\plugins\PythonScript\scripts for User Scripts)

    editor.addText( u’\u200c’ )

    assign it as a menu item using Plugins > Python Script > Configuration, selecting the appropriate Machine or User scripts, clicking ADD

    assign it a shortcut via Settings > Shortcut Mapper > Plugin Commands

    (I verified the PythonScript version worked, though I had to use the PythonScript console to run editor.setRepresentation(u'\u200C', "ZWNJ") to confirm it had really inserted the right character, and editor.clearRepresentation(u'\u200C') once I knew it was really there.)

  • Combining multiple .txt files and sending to outlook

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Jim DaileyJ

    FNR is the line number of each file as the file is processed. It is not possible for FNR to be 1, 2, and 5 simultaneously! :-) That is what the condition you tried:

    FNR == 1 && FNR == 2 && FNR == 5

    means. That is why you saw no output.

    If you want to print lines 1, 2, and 5, then if FNR is 1 or 2 or 5, you want to print the line. That translates to:

    gawk "FNR==1 || FNR==2 || FNR==5{print}" *.* > FileOfFiles.txt

    so, you nearly had it.

    If you want to print the filename before the lines of each file, you can do that like this:

    gawk "FNR==1{print FILENAME} FNR==1 || FNR==2 || FNR==5{print}" *.* > FileOfFiles.txt
  • Wrongly replaced multiple variables recover ??

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Ard WesA

    Ok

    I fixed the problem. But in 90% of the changes it had no effect.

    I have not used any of the offered options.

    It would be a useful tool if Notepad offered the possibilty recover a range of errors in the menu widget.

    Thanks for your time and suggestions.

  • Adding } to the end of a text line

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    guy038G

    Hi, @uwe-helmer,

    Ah, OK ! Sorry for my late reply, but I was studying the haunting problem of the suppression of duplicate lines, without corrupting the order of the file contents :-)) See, below :

    https://notepad-plus-plus.org/community/topic/14729/deleting-lines-that-repeat-the-first-15-characters/13

    So, let’s consider your example text, below, in a new tab :

    {Ausgang {door {Eingang} {Eintritt} {entry {exit} {gate} {gateway} {ingress {Pforte} {Portal} {slammer} {Tor {Türe} {Zugang} Gatter Tor Torbogen Treppen Stufen Wände Gelaender {banister {handrail} {railing} Innenraum {interior}

    Open the Replace dialog ( Ctrl + H )

    Check the Regular expression search mode

    SEARCH (?-s)^\{.*[^}\r\n](?=\R)

    REPLACE $0}

    Click, once, on the Replace All button ( or, successively, on the Replace button )

    => You should get the text :

    {Ausgang} {door} {Eingang} {Eintritt} {entry} {exit} {gate} {gateway} {ingress} {Pforte} {Portal} {slammer} {Tor} {Türe} {Zugang} Gatter Tor Torbogen Treppen Stufen Wände Gelaender {banister} {handrail} {railing} Innenraum {interior}

    Et voilà !

    Notes :

    First, the (?-s) modifier forces the regex engine to interpret the special . character as matching a single standard character, only

    Then, the part ^\{ looks the \{ character, at beginning of line ^. Note that the special { regex character have to be escaped !

    Now, the part .* searches any amount, even empty, of standard characters, till …

    A character different from the } character ( part [^}\r\n] ) which is followed by EOL characters ( look-ahead feature (?=\R) )

    The part [^}\r\n] is a negative character class, looking for any character, different from, either, the } character, the EOL character \r and the EOL character \n

    The \R stands for any kind of line break ( \r\n, \n or \r )

    In replacement, it rewrites the overall matched string $0, simply followed by the } character

    Best Regards,

    guy038

  • "Queue overflowed" dialog

    2
    1 Votes
    2 Posts
    4k Views
    Shree ThatteS

    I get this message often. The only thing that gets rid of it is if I restart notepad++.

  • Desperately seeking installable version of Notepad++ for Windows Vista

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    chcgC

    Which version do you try to install? https://notepad-plus-plus.org/download/v7.5.1.html? 32bit/64bit. At least there is no intentional break of the backwards compatibility even winxp sp3 should be still supported.

  • Comparing two txt files. Finding differences.

    11
    0 Votes
    11 Posts
    10k Views
    chcgC

    https://github.com/pnedev/compare-plugin might help you for simple ordered file lists or some other standalone diff programs like kdiff3, winmerge, …

  • Plugins not appearing

    3
    0 Votes
    3 Posts
    17k Views
    chcgC

    You could first install https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9 and then install probably most of your plugins by selecting from the list, also some of the win32 plugins are also outdated there, see https://github.com/bruderstein/nppPluginManager/issues/42

  • CSS with Source Code Option

    Locked
    1
    0 Votes
    1 Posts
    813 Views
    No one has replied
  • Find closed temporary files

    Locked
    3
    0 Votes
    3 Posts
    7k Views
    Thierry SoubieuxT

    Hello Claudia,
    I am very happy, I have found them in the directory “AppData\Roaming\Notepad++\backup”.
    Thanks a lot.

  • Setting up cute Python syntax highlighting (UDL vs built-in Python lexer)

    Locked
    12
    1 Votes
    12 Posts
    10k Views
    Claudia FrankC

    @Scott-Sumner

    might be or maybe someone asked just for a feature to handle single quoted string independently.

    Cheers
    Claudia

  • 1 Votes
    4 Posts
    13k Views
    Claudia FrankC

    @Scott-Sumner

    Thx for pointing out, yes, it is still under development but with a slightly different name,
    TCnext at https://truecrypt.ch/ or CipherShed (own gui).
    Together with CipherShed they are maintaining/rewriting the original 7.1a source code.

    Cheers
    Claudia

  • <Style> tag

    5
    0 Votes
    5 Posts
    3k Views
    Ron TarrantR

    Okay, thanks, Claudia. I’ll look into it at that end.

  • Can I restore my memo contents in Notepad++?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Seong-Joon–Kim

    if the file is still there but only contains NULs then I don’t think you can restore it from this file.
    Your only chance would be to find a earlier backup, but only if this was set initially, of course.

    Cheers
    Claudia

  • Problems with installation on mac

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Polly-wants-a-cracker

    you need to use something like wine in order
    to have notepad++ running on a Mac.

    Cheers
    Claudia

  • Extra GREY bar remove

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    Not sure this is what you’re talking about, but maybe you want to untick the View (menu) -> Show Symbol -> Show Indent Guide

  • Cache Unsaved Docs

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    Scott SumnerS

    @Sharlikran

    I don’t want to always save unsaved documents,

    To get this behavior, you need to have the following two checkboxes TICKED :

    Remember current session for next launch Enable session snapshot and periodic backup

    in Settings (menu) -> Preferences… -> Backup (box on left) -> Session snapshot and periodic backup (box in middle/top)