• How to deal with "" tags

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Remove/Replace specific character from specific location

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Tobias IsakssonT

    Solved

    once i figured out that ^ and $ marks start/end it was easy :)

    New to this, dont judge me haha

  • Case sensitive fix.

    6
    0 Votes
    6 Posts
    5k Views
    dynamitttD

    Thank you!

  • Style colouring/coloring issues

    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    @Wayne-Ivory

    Hi Wayne,

    Out of interest I compared the before-and-after config.xml files but didn’t see any differences

    it could be any of the xml files. If you still have the files and you are interested to find out which
    one and what caused the issue you need to compare them all but good to see that it is working
    again.

    Cheers
    Claudia

  • write in column mode add spaces for indention, instead of tabs

    3
    0 Votes
    3 Posts
    3k Views
    MaDillM

    Then let’s hope that N++ update Scintilla some day…

  • Run Command Variable Substitution $(FULL_CURRENT_PATH)

    8
    0 Votes
    8 Posts
    10k Views
    Ray HaynesR

    Just in case anyone stumbles across this thread in the future there is a little detail about quotes. If you have spaces in your path you must put quotes around the $(FULL_CURRENT_PATH) variable, i.e. “$(FULL_CURRENT_PATH)”. The lack of quotes was complicating my trials above and I had some new issues today that were caused by the lack of quotes.

  • Pythonscript maximum menu items

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Alan-Kilborn

    Hi Alan, I assume that 50 is just an arbitrary number, wasn’t able to find any msdn
    document which states that this is a limit.

    Can’t say anything about python script future plans, unfortunately.

    Cheers
    Claudia

  • How do i delete everything except the square brackets

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Claudia FrankC

    @moon6969

    Hi, nice one but I guess there is little issue as you use

    [^\[\]]

    whereas, I believe, it should be

    [^\[]

    because otherwise a text like

    blabla] blabla [needed_text] blabala

    will break your logic.

    Cheers
    Claudia

  • CR line terminators are pasting as CRLF

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    dailD

    I do agree this is usually the desired behavior. I often copy/paste from various sources and would hate to have all the line endings mixed up.

    That said, there is a way to turn it off. You’d need to install a plugin such as LuaScript or PythonScript so that you can call SCI_SETPASTECONVERTENDINGS and set it tofalse.

  • Removing variable text

    Locked
    1
    0 Votes
    1 Posts
    993 Views
    No one has replied
  • Issue opening directory in FTP

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Lucas LomanL

    Also, after several minutes, I receive the message:
    “Failure retrieving contents of directory /”

  • Pc won't boot.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Read-only does *NOT* work.

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Martin-Bedan

    removing the read-only flag doesn’t change the content of a file but
    of course makes a process able to do changes again so it might be that
    some queued changes do get flushed as soon as the process determines that it can
    write to the file. But this is not the behavior of npp.

    Cheers
    Claudia

  • Hello, again. Back a little quicker then expected lol

    Locked
    1
    0 Votes
    1 Posts
    955 Views
    No one has replied
  • How find range of lines by their number?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Obada-Kurdi

    Okay, so technically it isn’t possible to directly say “Replace lines X through Y” with something else. That being said, there are some ways to achieve the goal.

    In your specific case, with X=1 and Y=189, it becomes fairly easy:

    Step 1: Move your caret to the very top of your file (important)

    Step 2: Execute the following “Replace” operation (not “Replace All”!):

    Find-what: (?-s)(.*\R){189} Replace-with: whatever you want Search-mode: Regular expression

    However, in the general case (where the starting line X is NOT equal to 1), things are more interesting/tricky. Here’s a solution for that general case, unfortunately it requires you to do some mental math:

    Step 1: Move your caret to the very top of your file (important)

    Step 2: Execute the following “Replace” operation (not “Replace All”!):

    Find-what: (?-s)(.*\R){S}\K(.*\R){L} Replace-with: whatever you want Search-mode: Regular expression

    where:

    S is the one less than the desired starting line number, note S = X - 1 L is the number of lines it is desired to replace, note L = Y - X + 1

    because (from the problem statement):

    X is the FIRST line to replace with other data Y is the LAST line to replace with other data

    This technically isn’t a Notepad++ question, but more of a Boost regular expression engine question, so I’m reluctant to put forward this solution here, due to less tolerance lately for non-Notepad++ discussion. However, this does have an important N++ implication regarding where the caret is when the replacement is conducted.

    If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • application error

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Мария-Денисова

    does this happen when you use no plugins also? You can start npp with -noPlugin switch
    or by renaming plugins directory temporarily.

    Cheers
    Claudia

  • Quick question if someone has a free sec...

    15
    1 Votes
    15 Posts
    18k Views
    ImNot GlennDanzigI

    Wow…you guys are awesome!! Sorry for the late reply. Been trying to find a host for my sites. The world is literally insane btw. Lol. Anyway thanks everyone for the help. I knew there had to be away. You guys are all amazing. I was a little hesitant to ask this question knowing what a wanted to do wasn’t a normal Notepad task. You all were very kind and kept on point and i appreciate that as well. I know I’ll be back if even if it’s just to drop by and roam (lurk) around. Lol. Take care everyone and until next time ^^GoDsPeEd^^

  • List to line

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Stuart LevesqueS

    Thank you very much!!!

  • Closing multiple tabs, confirmation dialog position

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Scott SumnerS

    @Mykhailo-Konvisar

    I see what you mean about the buttons moving around, via the dialog box changing size as the file pathname greatly changes in length from file to file. I haven’t looked at the source code, but it is probably done with a standard Windows YES-NO-CANCEL MessageBox call, in which case I totally understand this behavior.

    I’m not sure how much you prefer mouse versus keyboard, but as a workaround, how about just pressing the N (or Y, in case you need that…) key when that dialog box appears? (Alt+N or Alt+Y also work, but that just seems like unnecessary extra effort.)

    I totally understand if you know about the keyboard possibility and are just making a feature request. However, the right people either won’t see it here, and/or aren’t going to track it here.

    Your best option is to make a feature request or a change-in-functionality request here. Please spend a little time searching to see if your specific request already exists (in which case you can “up-vote” that request, and/or add any new information you think relevant).

    If this (or ANY other posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • 0 Votes
    3 Posts
    2k Views
    Alex Levente AndrejszkiA

    Hi Scott,

    Your solution dosen’t work on my PC unfortunately.
    But the version of Notepad++ doesn’t matter. How I want to select Notepad++ 5.6.8 can carry out.

    Thanks for you answer :)

    Alex