• 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

    plugin install errors plugins
    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
    887 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
    14k 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

    style colouring
    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 macintoch installation
    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)
  • Search for a string replacing a character and delete

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    guy038G
    Hello, @cesar-silva, Follow the link, below https://notepad-plus-plus.org/community/topic/14727/how-to-search-for-a-string-and-replace-with-blank/2 Cheers, guy038
  • Header like in word

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC
    @Tanja-Corell Short answer, no. A “standard” text file doesn’t contain any formatting information, it only contains the text. Npp cannot really be used as a Word-Clone if formatting is necessary. Cheers Claudia
  • How to: {{Moustache}} code highlighting for Notepad++

    5
    0 Votes
    5 Posts
    6k Views
    Gogo NeatzaG
    RegEx Helper as a plugin can offer some help (assuming that RegEx Helper is already installed): Open your file in Notepad++ Set the language to Php Launch the plugin using Ctrl+F12 Type in the “Regular Expression” window: ({{)|(}}) Turn on the highlighting using ‘Mark’ button. Tested using this Moustache template: <strong>Hello, {{firstname}}</strong><br> <p>You are visitor number {{visitorNumber}}.</p>
  • Find & Replace issues

    19
    0 Votes
    19 Posts
    14k Views
    guy038G
    Hello, @scott-sumner and All, I’ve studied the general case of searching a specific character, ONLY IF, located inside a range of characters with delimiters. Now, two cases are possible : Case A : an area with a same starting and ending character, as, for instance, '.....' or "....." Case B : an area with a different starting and ending character, as, for instance, (.....), [.....], {.....} or <.....> Notes : For our discussion, we are supposed to look for the colon character For case A, I chose the double quotes delimiter ", as common boundary For case B, I chose the start delimiter < and the end delimiter > Let’s begin with the easier form ! Case B : A possible regex would be : SEARCH :(?=[^<\r\n]*>) REPLACE Any string or character, even EMPTY Note that this regex looks for a colon character, ONLY IF followed by a range, possibly empty, of characters, different from the first delimiter < and from the EOL characters \r and \n , till the ending delimiter > On the test example, below, the regex finds all colon characters, located inside the <.....> areas exclusively ( the ones which are underlined ) Fine ! 1:23:<This:is a: tiny>text:to :see<if :my :logic:>is: correct:<I: hope:that>: all: will:be<::fine,: indeed>: ! :<:>78:9 ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯¯ ¯ ¯ Now, in case A, the annoying thing is that it’s impossible to distinguish the two delimiters ! So, we’re going to cheat a bit ! First, we’ll replace, for instance, any area "....." by an oriented area as, for instance, #"....."@. Of course, these new boundaries must be absent from the present contents of the file ! So, assuming the original text : 1:23:"This:is a: small"text:to :see"if :my :logic:"is: correct:"I: hope:that": all: will:be"::fine,: indeed": ! :":"78:9 The simple S/R : SEARCH ".*?" REPLACE #$0@ would get the following text : 1:23:#"This:is a: small"@text:to :see#"if :my :logic:"@is: correct:#"I: hope:that"@: all: will:be#"::fine,: indeed"@: ! :#":"@78:9 Accordingly, the correct regex becomes : SEARCH :(?=[^#\r\n]*@) REPLACE Any string or character, even EMPTY Again, only the colons, inside the areas, which are underlined, are matched by the regex ! 1:23:#"This:is a: small"@text:to :see#"if :my :logic:"@is: correct:#"I: hope:that"@: all: will:be#"::fine,: indeed"@: ! :#":"@78:9 ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯¯ ¯ ¯ To end with, use the simple regex : SEARCH #|@ REPLACE Empty in order to get the original areas "....." Et voilà ! Cheers, guy038
  • 0 Votes
    2 Posts
    3k Views
    Scott SumnerS
    @vanity-plume It’s kind of a cheesy solution, but you could approximate that functionality by following this advice: https://notepad-plus-plus.org/community/topic/14270/split-screen-view