• .htaccess Backup Failed

    5
    0 Votes
    5 Posts
    3k Views
    Laurie StearnL

    Got this error as well, even when sharing the folder with EveryOne and allowing changes. The Backup folder is marked read-only, and there is also a problem removing that property.
    But no issue at all when running N++ as Admin - must be because my username (owner of folder) has admin credentials.

  • Working with XML in Notepad ++ (selecting/moving)

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Chad-Briggs

    is there an easy way to select an entire tag if your at the start of a long one? So if I have a <name> tag in the XML doc, can i select that first name tag/bracket and use a shortcut to highlight down to the closing bracket?

    Plugin HTML Tag has such a functionality which works with xml as well.

    If a tag is collapsed, is there a way to select all of the tags contents while it’s collapsed for copy/pasting?

    put cursor in front of the tag, press shift, hold it and press down arrow key and
    maybe while still holding shift key press home(pos1) key.

    If i have a xml document collapsed in the view, is there an easy way for me to drag and drop rearrange?

    Once selected liked described before you could use the mouse and move it around but
    to be honest, I find this a little bit cumbersome.

    Cheers
    Claudia

  • Find all in current document don't provide father object

    7
    0 Votes
    7 Posts
    2k Views
    Gogo NeatzaG

    @Massimo Araldi
    The information about the father object is available using Notepad++ and XPatherizerNpp plugin:
    all you have to do is search the XPath and watch the results window.

  • I need help trying to run Python in Notepad++

    Locked
    5
    0 Votes
    5 Posts
    13k Views
    David TinocoD

    Hey Claudia,

    Thank you so much, it works now :). I feel like a complete hackerman now haha :).

    Have a lovely day.

    Regards,

    David

  • 0 Votes
    3 Posts
    2k Views
    Rufus SmithR

    @Rodney-Ramsay The licensing refers to the program itself, and has nothing to do with what you create using the program. You only need to worry if you write a program to sell (or give away) that uses part of the Notepad++ source code.

  • 0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @SalviaSage

    1 +2 give it a try and see.

    A session is basically a shortcut for opening
    a lot of files in one go.

    The “eye” is just another way of monitoring, it tries
    to simulate the unix tail command.

    If you have API files (the once you see under plugins\APIs) notepad
    can offer assistance in showing you a list of possible words you want to add

    Cheers
    Claudia

  • My number are symbols ?

    Locked
    2
    0 Votes
    2 Posts
    779 Views
    Claudia FrankC

    @Zach-Schultz

    might be an issue that your font is broken/corrupt.
    What if you choose a different one?

    Settings->Style Configurator->Global Styles->Global override

    check enable global font and try one of the fonts in the font style dropdown list.

    In addition, some notebooks offer additional function keys, might it be that you activated this accidentally?

    Cheers
    Claudia

  • [Help] Do not find File type : 'all types' when file open (Ctrl + o)

    Locked
    2
    0 Votes
    2 Posts
    818 Views
    Claudia FrankC

    @이동건

    not 100% sure I understand your issue but maybe it is related to the new style settings.
    Settings->Preferences->Default Directory and then the setting
    Use new style dialog …

    Cheers
    Claudia

  • How to start notepad++ in Linux command line?

    Locked
    2
    0 Votes
    2 Posts
    12k Views
    Claudia FrankC

    @Sun-Yuan

    depending where you installed it you need to modify the call, basically you
    start wine and provide notepad.exe as the parameter to be executed by wine.
    So something like this

    /usr/bin/wine /disc2/home/chalet/.wine/drive_c/programs/x64/newest/notepad++.exe

    Cheers
    Claudia

  • 1 Votes
    2 Posts
    876 Views
    Scott SumnerS

    @Frederick-Solebo

    Yes, very possible with the use of Regular expression search as follows:

    Find what zone: (?-is)sky.+blue
    Search mode: Regular expression

    You should be able to deduce what the .+ does.
    The (?-is) at the beginning indicates 2 things:

    case of sky and blue must match exactly (the -i part) the . will NOT match end-of-line characters (the s part, but note that the - from earlier effectively makes this -s)

    Probably this is confusing, so a better explanation is that the i stands for (case) insensitive, so -i means NOT case insensitive, or rather case sensitive (meaning case must be exact for a match to occur)

    A better explanation for the s part: (?s) means that any . characters occurring will match one character of any type (including end-of-line characters). (?-s) means that any . characters occurring will match one character of any type EXCEPT it won’t match the end of line characters (carriage return, line feed).

  • [Bug] Running macro multiple times fails, line by line works

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    guy038G

    Hello, Anton, and All,

    If you want to run your buggy macro, Nth times, be sure that :

    The cursor is located at the very beginning of the first line val:descr

    A physical line-break ( CR+LF or LF ) exists at the end of the nth line

    As for me, I did not notice that issue ! Even, holding down the 3 keys of the assigned shortcut ( Ctrl + Shift + = ), the macro changes each line, one after another, without any trouble ;-)

    Here is, below, my code of the buggy macro, with N++ v7.5.6, on an ( old ! ) Win XP SP3 system

    <Macro name="buggy" Ctrl="yes" Alt="yes" Shift="no" Key="187"> <Action type="0" message="2442" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2177" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2180" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2451" wParam="0" lParam="0" sParam="" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="=" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="0" message="2179" wParam="0" lParam="0" sParam="" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="," /> <Action type="0" message="2300" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2453" wParam="0" lParam="0" sParam="" /> </Macro>

    A second and faster solution could be to execute a Search/Replacement, with the the litteral strings, in normal search mode, on all text of a previous selection. So :

    First, select your block of val:descr lines

    Open the Replace dialog ( Ctrl + H )

    Find what : val:descr

    Replace with: descr = val,

    Tick the In selection option

    Select the Normal search mode

    Click on the Replace All button

    Voilà !

    Best Regards,

    guy038

  • Keep only specific links

    Locked
    4
    -1 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @T-C

    Again, what you are trying to achieve is vague. You’re not going to get the best help that way (and you may even get down-voted again).

    So…first you wanted to delete text, now you want to mark text…which is it?

    You can match a number that is different every time by using \d+ in the expression where the number occurs.

  • [Help] Function list doesn't support my language.

    15
    -1 Votes
    15 Posts
    5k Views
    SalviaSageS

    I just tested this new code here, and it doesn’t catch the comments or the strings incorrectly.

    Thanks a lot for this!

    I am trying to combine the table support from the code above into this new code.

  • How to create Custom Language in Language Tab

    Locked
    2
    0 Votes
    2 Posts
    1k Views
  • 0 Votes
    5 Posts
    4k Views
    Michael MoynihanM

    This is the first match I found:
    issue #2481

    I found a handful of near matches. I would expect that there are more then just this one that address the find results panel.

  • How do you type the tab character into the replace box?

    Locked
    3
    1 Votes
    3 Posts
    38k Views
    SalviaSageS

    oh okay. I just need to have the extended selected and just type \t. that works. thx.

  • How to create a delay between 2 functions ?

    Locked
    3
    -1 Votes
    3 Posts
    1k Views
    Meta ChuhM

    @Scott-Sumner

    on the other hand it’s quite amusing to see how many newer users think that notepad++ is the source of all programming languages, the beginning of the internet, and maybe, for future generations, the initiator of the big bang ;-)

  • Certain spaces

    Locked
    2
    0 Votes
    2 Posts
    885 Views
    PeterJonesP

    You want to remove all leading spaces before every line?

    Search what : ^\s+
    Replace with : (empty string)
    Search Mode: ☑ Regular Expression

    P.S. :
    (paraphrasing @guy038, the forum’s regex guru, who compiled these great regex resources, but hasn’t shared them in this thread yet):

    Here is a good starting point for NPP users unfamiliar with regular expression concepts and syntax:

    http://docs.notepad-plus-plus.org/index.php/Regular_Expressions

    Modern Notepad++ (since v6.0) uses the Boost C++ Regex library, v1.55.0 (similar to the Perl Regular Common Expressions (PRCE), v5.8):

    search syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html replace syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

    Other sites with valuable regular expression information include:

    http://perldoc.perl.org/perlre.html http://www.regular-expressions.info http://www.rexegg.com
  • delete specific lines

    Locked
    6
    1 Votes
    6 Posts
    4k Views
    PeterJonesP

    P.S. :
    (paraphrasing @guy038, the forum’s regex guru, who compiled these great regex resources, but hasn’t shared them in this thread yet):

    Here is a good starting point for NPP users unfamiliar with regular expression concepts and syntax:

    http://docs.notepad-plus-plus.org/index.php/Regular_Expressions

    Modern Notepad++ (since v6.0) uses the Boost C++ Regex library, v1.55.0 (similar to the Perl Regular Common Expressions (PRCE), v5.8):

    search syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html replace syntax: http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

    Other sites with valuable regular expression information include:

    http://perldoc.perl.org/perlre.html http://www.regular-expressions.info http://www.rexegg.com
  • Python Script - Fold levels/flags

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    dailD

    Do line numbers and fold levels stay the same after hiding some code?

    Yes. There are other various API calls provided by Scintilla than can tell you things like if the line is actually folded, or to manually fold/unfold the line and children of that line.