• SCI_STUTTEREDPAGEUP doesn't work as expected

    Locked
    2
    0 Votes
    2 Posts
    754 Views
    guy038G

    Hello, @FriendOfFred, and All,

    I can confirm that, after assigning shortcuts to the SCI_STUTTEREDPAGEUP and the SCI_STUTTEREDPAGEDOWN Scintilla commands, the "UP movement does not act as expected :-((

    I, personally, use a local 7.5.6 version of N++, on a Win XP SP3 old laptop. Unfortunately, we do not dispose of any other “Page” command than the default ones and the “stutter” ones.

    I don’t think that this behaviour depends on N++ and probably, the best would be to report this bug to SCIntilla :

    https://sourceforge.net/p/scintilla/bugs/

    You could also test the SCIntilla based text editor, named SciTE :

    https://www.scintilla.org/SciTE.html

    However, I don’t know if that text editor can manage shortcuts assignments in order to test the “STUTTER” commands !

    Best Regards,

    guy038

  • In user defined language the escape character is ignored

    Locked
    1
    0 Votes
    1 Posts
    848 Views
    No one has replied
  • How NPP deletes files?

    Locked
    1
    0 Votes
    1 Posts
    573 Views
    No one has replied
  • Replace In Files not working for me using Extended Mode

    Locked
    2
    0 Votes
    2 Posts
    879 Views
    Dan EdwardsD

    Turns out that this was because the files were read-only. I was counting on the Perforce Plugin to automatically check them out but I guess that is not going to work. I will have to manually checkout everything and then perform the replacement.

  • Simple question

    Locked
    3
    0 Votes
    3 Posts
    863 Views
    Scott SumnerS

    Ugh! … not another baking cookies question…

  • help with lithuania letters

    3
    0 Votes
    3 Posts
    1k Views
    Rolkis NesvarbuR

    thank you

  • Config tainted?

    Locked
    1
    0 Votes
    1 Posts
    579 Views
    No one has replied
  • Merging 2 files *only* where there are changes?

    Locked
    1
    0 Votes
    1 Posts
    696 Views
    No one has replied
  • Merge multiple blank lines into a single blank line?

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    guy038G

    Hello, @gabor-szakacs, @scott-sumner, and All,

    Indeed, Scott, I thought about capturing \R ! But, as my regex have two alternatives, when it matches \h+\R, the group 2 ( = \R ), in the first alternative does not exist. Thus, I need to capture \R in the second alternative, too ( group 3 )

    So :

    SEARCH (\h*(\R)){3,}|\h+(\R)

    REPLACE (?1\2\2:\3)

    And, of course, the conditional replacement rewrites :

    Two line-breaks \2\2, if the first alternative is found

    One line-break \3, if the second alternative is found

    However, to my mind, this second syntax does not look as elegant as my previous one ;-))

    Cheers,

    guy038

    BTW, my previous regex S/R may be slightly shortened as :

    SEARCH (\h*\R){3,}|\h+\R

    REPLACE \r\n?1\r\n ( or \n?1\n on UNIX files )

  • Text Search + Line Position

    Locked
    1
    0 Votes
    1 Posts
    503 Views
    No one has replied
  • sort file removing duplicates possible?

    75
    0 Votes
    75 Posts
    61k Views
    Vasile CarausV

    ^([A-Z])([a-z]+)\R(?i:\1)\2$

  • Monitor function seems a bit bugged

    Locked
    2
    0 Votes
    2 Posts
    752 Views
    NexusTheBronyN

    I just found a plugin that I assume enhances the Monitor function to always update every 3 seconds. Hope this fixes it (if this plugin works that does not mean the issue is resolved)

  • Last upgrade changed open file path

    4
    1 Votes
    4 Posts
    2k Views
    gitit1G

    Thank you! I’ve been looking for that solution

  • After the computer restarted, all the text in the notebook disappeared!

    Locked
    3
    1 Votes
    3 Posts
    905 Views
    Scott SumnerS

    @УменяМодем-ОграниченныйТрафик

    Or maybe see this FAQ which will not solve your issue and likely will make you sad…

  • I change the encoding sometimes the text disappears

    Locked
    2
    0 Votes
    2 Posts
    692 Views
    Claudia FrankC

    @УменяМодем-ОграниченныйТрафик

    can you replicate this? If so, can you post some sample text?

    Cheers
    Claudia

  • add new text in multiple files

    Locked
    11
    0 Votes
    11 Posts
    4k Views
    rajesh patilR

    it works ….thank you so much…

  • help with Oxygen Basic syntax definition

    Locked
    1
    0 Votes
    1 Posts
    572 Views
    No one has replied
  • multiple (highlight) languages in one file ((PHP +) HTML + CSS + JS)

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Pete-Wright

    creating an UDL lexer for HTML, PHP, CSS and JavaScript is nearly impossible
    as you can’t specify when a new lexer needs to jump in.

    The lexer can be modified to support another lexer as seen
    in the code itself.

    I have no idea how complicated, in terms of lexing, css is, but in theory we could
    use python script plugin and indicators to do this.

    Cheers
    Claudia

  • Smart highlighting foreground color

    Locked
    10
    0 Votes
    10 Posts
    2k Views
    Claudia FrankC

    @dreamforceinc

    yes, but then you won’t have the rectangular anymore.
    You need to call it like SCI_INDICSETSTYLE(29, 17)
    17 = TEXTFORE
    and 29 you already know :-)

    Btw. this is the only way, I guess to use an bultin lexer and add additional syntax coloring.

    Cheers
    Claudia

  • Problem with C++

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Vitaliy DovganV
    Typing help npp_save

    in the NppExec Console says:

    COMMAND: npp_save USAGE: npp_save npp_save <file> DESCRIPTION: 1. Saves current file ("npp_save" without parameters) 2. Saves specified file if it's opened in Notepad++ (supports a partial file path/name) EXAMPLES: npp_save // saves current file npp_save $(#2) // saves 2nd file opened in Notepad++ npp_save txt // saves a first file which contains "txt" in its name SEE ALSO: npp_saveas, npp_saveall, npp_open Typing help cd

    in the NppExec Console says:

    COMMAND: cd USAGE: cd cd <relative_path> cd <absolute_path> DESCRIPTION: 1. Changes current directory ("cd" with parameters) 2. Shows current directory path ("cd" without parameters) EXAMPLES: cd // shows current directory path cd .. // go to up-directory cd \ // go to root-directory cd $(NPP_DIRECTORY) // go to notepad++'s directory cd e:\temp // change drive and directory SEE ALSO: dir Typing help npp_run

    in the NppExec Console says:

    COMMAND: npp_run USAGE: npp_run <command> npp_run <file> DESCRIPTION: 1. The same as Notepad++'s Run command - runs an external process 2. Opens specified file in its associated program (requires NppExec v0.2 RC3.1 or higher) EXAMPLES: npp_run calc.exe (*) * if you type just "calc.exe" without "npp_run", then NppExec runs "calc.exe" as a child process and waits until it returns (i.e. until you close the calc's window) npp_run "index.html" // opens "index.html" in your default web-browser npp_run "C:\Program Files\Mozilla Firefox\firefox.exe" "index.html" // in Firefox npp_run "$(FULL_CURRENT_PATH)" // opening using the associated program REMARKS: In terms of an application (a program), NPP_RUN allows to run it in its own window without waiting for its execution: npp_run application.exe npp_run application.exe <arguments> If, however, there is a need to wait until the application has been executed, while still running it in its own window, it can be achieved without NPP_RUN: cmd /c start /wait application.exe cmd /c start /wait application.exe <arguments> In this last case, NppExec waits for cmd to be executed, while cmd itself starts the application in its own separate window and waits until it has been executed. Type just help

    in the NppExec Console to see all the available environment variables and commands.