• Problem with multiple portable versions in Windows 7

    Locked
    1
    0 Votes
    1 Posts
    890 Views
    No one has replied
  • Open as does not work anymore on 64bits

    Locked
    1
    0 Votes
    1 Posts
    742 Views
    No one has replied
  • How do you run your code ?

    3
    0 Votes
    3 Posts
    1k Views
    Scott SumnerS

    @Student-Bhuvan-Kudupudi

    How do you run your code?

    Very well indeed, thank you for asking. :-)

  • NppExec compiling multiple languages

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Claudia FrankC

    @Pietro-Nobili

    Pietro, I had something different in mind.
    Copy the following into nppexec dialog and run it on a python script,
    then you should see the full file path output, when running on txt file
    only a statement is shown. No need for an addition batch file.

    if $(EXT_PART) == .py goto python if $(EXT_PART) == .txt goto whatever goto end :python echo run full file path:$(FULL_CURRENT_PATH) goto end :whatever echo some text file :end echo "END"
  • how to realise vuejs in notepad++?

    Locked
    2
    0 Votes
    2 Posts
    10k Views
    Claudia FrankC

    @BBP-B

    I assume you will find your answer here.

    Cheers
    Claudia

  • macro. remove replace/search dialog

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Claudia FrankC

    @Rodrigez-Yaves

    By updating npp it is solved, because, as Alan already suggested, newer version
    don’t use a popup window anymore.
    I tried different things with your 6.1.3 version but wasn’t able to record the button press of
    the confirmation dialog.

    Cheers
    Claudia

  • Alt-f1 php help suddenly stopped working.

    Locked
    5
    1 Votes
    5 Posts
    2k Views
    Jean CremersJ

    Thanks Claudia. Only half an hour later and i have my alt-f1 back! You’re great.

  • Batch files being opened in Notepad++ rather than being executed

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    richluxR

    Hold the Shift Key down and Right-Mouse click the batch file. This should allow you to select “Open With…” and then choose the program used to open the file.

    Rich

  • Notepad++ fault; deleted entire content of my file

    Locked
    2
  • spelling verification in comments ?

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Jean-Yves BretonJ

    You’re right, i confused the two elements. Now I downloaded the french dictionary for DSpellCheck, choosed the French option in its menu option, and now everything works fine. Thank you very much!

  • How to find lines with words that are Capitalised

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    PeterJonesP

    Let’s see if I can beat @guy038 to it:

    As a first pass, assuming one sentence per line (every line is defined as a sentence, and only one sentence per line). Also assume we aren’t requiring upper-case as the first character in the line

    Find What: (?-is)^.+[A-Z].*\R Replace With: `` (empty)

    Source Document:

    Keep this line. Hello, my name is Inigo Montoya, prepare to delete this line. This is okay. Delete me, Yoda shall. starting lowercase is okay, too but not if there's a Capital

    Final:

    Keep this line. This is okay. starting lowercase is okay, too

    Explanation:

    (?-is) = make it case sensitive; don’t span multiple lines ^ = start match at beginning of the line .+ = allow 1 or more of any character (this means that it won’t care if the first letter is upper case, because that will be taken up by the “allow 1”) [A-Z] = require one capital letter somewhere not in the first character .* = allow 0 or more any-character after the required capital letter \R = include the newline (either CRLF or just LF) in the match If all that matches, then replace with blank (since replacing the newline also, the whole line is deleted)

    However, this will not work when there are multiline sentences, or if you have multiple sentences in a line

    Multiline sentence won't work, because it will assume Previous Line is okay, even though this has capital, and the second line of this sentence will delete, but not the first or third. Multiple sentences won't work. Defining end of sentence is harder. Some People use period-two-spaces, and some only period-space. And how do you want to handle Mr. John Doe? Or sentences that "end inside the quote." And this becomes a Second sentence

    If you want more than the assumptions I made above, you will have to give a lot more details, and you may have to accept that you need a more intelligent parser than just a readable regex. (@guy038 may be able to get all of the edge cases in one regex, depending on what your rules are… but it will be a lot more complex than the one I showed…)

  • Colorization bug in XML

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Thibault CastelT

    Thank you! I’ll wait the next release :)

  • How to fold part of a line?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    prehistoric-penguinP

    Thanks a lot!

  • Make the Preferences Window a bit taller?

    2
  • Hi I stuck with row and columns

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello, @notepadplusplusisthebest,

    Very easily, indeed !

    Open the Replace dialog ( Ctrl + H )

    SEARCH .{6}

    REPLACE $0\r\n

    OPTIONS Regular expression ticked and . matches newline unticked

    ACTION : Click on the Replace All button or several ones on the Replace button

    Remark : If you’re using Unix files, the REPLACE regex should be $0\n

    An other example . Suppose the line, below :

    ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9

    then the regex S/R :

    SEARCH .{5}

    REPLACE $0\r\n

    Would change that line into :

    ----+ ----1 ----+ ----2 ----+ ----3 ----+ ----4 ----+ ----5 ----+ ----6 ----+ ----7 ----+ ----8 ----+ ----9

    Best Regards

    guy038

  • Python 3.6 f-string variable highlighting

    Locked
    1
    0 Votes
    1 Posts
    998 Views
    No one has replied
  • Version format

    Locked
    1
    0 Votes
    1 Posts
    777 Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    Stavros SkamagkisS

    Yes, I tried the default programs applet but Notepad++ isn’t in the list of programs.

  • New Instance

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Karttegayen-Nachimuthu

    afaik not and doesn’t that mean it is the same as just open another npp instance?
    Isn’t it quicker to click on the npp shortcut instead of clicking file->new?

    Cheers
    Claudia

  • how to highlight selected text with rgb color?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @RScream1

    interesting - could be done more or less but you need to be aware that you need
    to install a scripting plugin like python or lua … (one which exposes the scintilla features) and
    depending whether you want to use it together with a lexer (code highlighting from language menu)
    or not you do have just a couple of possible styles or indicators you can use.

    Let me know if you wanna go this way.

    Cheers
    Claudia