• Login
Community
  • Login
  1. Home
  2. General Discussion
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • T

    Trouble saving files with .js extension:

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jan 18, 2020, 10:03 PM
    Jan 18, 2020, 9:18 PM
    0 Votes
    5 Posts
    2k Views
    T Jan 18, 2020, 10:03 PM

    thank you very much. I’ll probably take the lazy way out. But this is a relief that the new save procedure is a feature that changed that I did not pick up on.

  • A

    It would be great to have multithreading search in files.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 18, 2020, 6:05 PM
    Jan 18, 2020, 4:48 PM
    0 Votes
    2 Posts
    266 Views
    A Jan 18, 2020, 6:05 PM

    @Andrei-Iliushin

    Notepad++ doesn’t try to be a great searcher. Yes it provides some functionality, but if you really want advanced functionality, you should turn to other tools. Not the answer you wanted, I’m sure.

  • R

    Setup for without msi or exe

    Watching Ignoring Scheduled Pinned Locked Moved admin rights fast
    5 Jan 18, 2020, 4:23 PM
    Jan 17, 2020, 3:44 PM
    0 Votes
    5 Posts
    740 Views
    P Jan 18, 2020, 4:23 PM

    And even with accurate info, you are going to have to tell us more about your situation, because, as I said, there is no performance difference between installed and unzipped versions.

    Questions to think about: is Notepad++.exe on same drive as word.exe? Do you have a file in your MRU list in Notepad++ that is on a network drive, or a separate HDD/SSD? Does your admin have a process watcher that is scanning or throttling unapproved apps? Etc

  • A

    Change Upper to Lower Case only at the beginning of each line

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 17, 2020, 8:42 PM
    Jan 17, 2020, 9:51 AM
    0 Votes
    6 Posts
    2k Views
    A Jan 17, 2020, 8:42 PM

    I suppose the much simpler search for (?-s)^. and replace with \L$0 also works fine…

  • C

    a string to search containing “the new line

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jan 16, 2020, 8:22 PM
    Jan 16, 2020, 8:22 PM
    0 Votes
    1 Posts
    172 Views
    No one has replied
  • N

    Single click to select documents in workspace

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 16, 2020, 1:46 PM
    Jan 16, 2020, 11:48 AM
    0 Votes
    3 Posts
    817 Views
    A Jan 16, 2020, 1:46 PM

    @Niente0000
    You can add an option to the context menu, but when adding “Folder as workspace”, notepad ++ should be closed.
    Look at this link, maybe this will help you:
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/7741#issuecomment-569251698

  • 김

    Automatically add extra lines when comparing

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 16, 2020, 12:14 PM
    Jan 16, 2020, 5:56 AM
    0 Votes
    2 Posts
    553 Views
    E Jan 16, 2020, 12:14 PM

    Not sure I understand what you are trying to say.
    Anyway, if this is a feature request about compare plugin
    then you might open an issue here.
    If it is a question about compare plugin,
    then you might need to explain it in more detail.

  • H

    Attribute "srcset" not recognized as valid/standard attribute of the HTML tag "img"

    Watching Ignoring Scheduled Pinned Locked Moved feature request
    2 Jan 15, 2020, 7:43 PM
    Jan 15, 2020, 7:15 PM
    -1 Votes
    2 Posts
    274 Views
    P Jan 15, 2020, 7:43 PM

    I know that you know, but for others reading this thread, @Hans-van-Gelderen already figured out where to make the feature request, and posted the issue number in the other thread about this topic.

  • U

    Why there is only Clear Read-Only Flag option?

    Watching Ignoring Scheduled Pinned Locked Moved
    11 Jan 12, 2020, 2:24 PM
    Jan 7, 2020, 8:01 AM
    0 Votes
    11 Posts
    945 Views
    U Jan 12, 2020, 2:24 PM

    It is customary, if you start a discussion here, and then turn it into a real issue on github, that you return here and …

    Ok. 👌🏻

  • C

    Judshjrfhsje KLosdeseaswaw

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jan 7, 2020, 1:08 PM
    Jan 7, 2020, 1:08 PM
    -2 Votes
    1 Posts
    148 Views
    No one has replied
  • A

    Modernizr in MVC Application

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 7, 2020, 12:19 PM
    Jan 7, 2020, 4:14 AM
    0 Votes
    2 Posts
    222 Views
    E Jan 7, 2020, 12:19 PM

    @Anandkumar-Prajapati

    First to read and then maybe this one.

  • А

    How can i prevent NPP to add any text by itself in the search string ?

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 7, 2020, 10:26 AM
    May 23, 2018, 10:05 AM
    0 Votes
    6 Posts
    4k Views
    D Jan 7, 2020, 10:26 AM

    Done in commit Make filling find field of Find dialog with selected word(s) optional:
    https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7a1096de5b3618bc3e6611e6c25caac952d41ae2

    It will come with v7.8.3

  • D

    flagging starting and ending parens in batch files

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 6, 2020, 10:27 PM
    Jan 5, 2020, 1:08 PM
    0 Votes
    6 Posts
    489 Views
    guy038G Jan 6, 2020, 10:27 PM

    Hello @dshuman52, @alan-kilborn and All,

    @dshuman52, Here is a method which could help you ! It works whatever the current language as it’s a recursive regular expression looking for well-balanced ( .... ) blocks, containing possible juxtaposed / nested other ( .... ) blocks !

    SEARCH \((?:[^()]++|(?0))*\) ( Select the Regular expression search mode )

    Notes :

    From current location of the caret, this regex selects, automatically, the next longest well balanced ( .... ) block

    If you prefer to get the ending parenthesis, only, simply change this regex as below :

    SEARCH \((?:[^()]++|(?0))*\K\)

    To explain this regex, the best is to use the free-spacing mode, which allows comments in regexes :

    (?x) # FREE-SPACING mode \( # STARTING parenthesis (?: # Start of the NON-CAPTURING group [^()]++ # Any NON-NULL ATOMIC range of ALLOWED characters | # OR (?0) # A RECURSION, using the WHOLE regex pattern ( group #0 ) )* # End of the NON-CAPTURING group, repeated 0 or MORE times # \K # DELETE the initial '#' character, of that line, to match the ENDING parenthesis, ONLY \) # ENDING parenthesis

    Try this regex against your text, below :

    @ECHO ON REM LINKdir.bat REM REM %1 = A99LINK REM %2 = A99TARGET REM %3 = A99FILTER REM SET A99LINK=%~1 SET A99TARGET=%~2 SET A99FILTER=%~3 REM REM make directories and link files REM PUSHD %A99TARGET:~0,-1% REM REM make directories FOR %%F IN (DIR /ad /b) DO ( SET %A99FILE%=%%F IF %A99FILE:~0,1%!='.' ( MKDIR %A99LINK%%A99FILE% %A01TESTbatPATH%LINKdir.bat ^ %A99LINK%%A99FILE% ^ %A99TARGET%%A99FILE% ) ) REM REM link files REM FOR %%T IN (%A99FILTER%) DO ( FOR %%F IN (DIR /a-d /b *.%%T) DO ( SET %A99FILE%=%%F IF %A99FILE:~0,1%!='.' ( MKLINK /h %A99LINK%%A99FILE% ^ %A99TARGET%%A99FILE% ) ) ) POPD

    Notes :

    Place the caret at different locations, of this batch file

    Then do the search hitting, several times, the F3 shortcut

    Important :

    Each time that a well-balanced ( .... ) block is selected :

    An hit on the Left Arrow key moves the caret right before the ( starting parenthesis

    An hit on the Right Arrow key moves the caret right after the ) ending parenthesis

    The nice thing is that, when you hit the shift + F3 shortcut, it gets the inner ( ... ) block, closed to the end of the outer ( ... ) block !

    Try also, with your first sample text :

    DO %%F IN (z y x) DO ( IF %%F==x ( ECHO ‘x’ ) ELSE ( IF %%F==y ( ECHO ^ ‘y’ ) ELSE ( IF %%F==z ( ECHO ‘z’ ) ) ) )

    Best Regards,

    guy038

    P.S. :

    In batch files , the & ampersand, the | vertical line and the ( and ) parentheses are special chars. So, they must be preceded with the escape character ^ or embedded inside double quotes.

    Thus, here’s a more elaborate version, where we suppose that the ^ symbol is the default escape character and any character, preceded with a ^ symbol, is just considered as a literal chars, including the syntaxes ^( and ^) !

    (?x) # FREE-SPACING mode (?<!\\) # NEXT character is NOT PRECEDED with a '\' symbol ( LOOK-BEHIND condition ) \( # STARTING parenthesis (?: # Start of the 1st NON-CAPTURING group (?: # Start of the 2nd NON-CAPTURING group \^ [()] # STRINGS '^(' or '^)' are supposed to be ALLOWED characters | # OR [^()] # Any ALLOWED character, even EOL ones, DIFFERENT of the PARENTHESES '(' and ')' )++ # End of the 2nd NON-CAPTURING group ( NON-NULL ATOMIC range of ALLOWED characters ) | # OR (?0) # A RECURSION, using the WHOLE regex pattern ( group #0 ) )* # End of the 1st NON-CAPTURING group, repeated 0 or MORE times (?<!\\) # NEXT character is NOT PREDECED with a '\' symbol ( LOOK-BEHIND condition ) \) # ENDING parenthesis

    Here is its shortest syntax :

    SEARCH (?x)(?<!\\)\((?:(?:\^[()]|[^()])|(?0))*(?<!\\)\)

    Test it against this sample text :

    DO %%F IN (z y x) DO ( IF %%F==x ( ECHO ‘x’ ^( ) ELSE ( IF %%F==y ( ECHO ^ ‘y’ ) ELSE ( IF %%F==z ( ECHO ‘z’ ) ) ^) ) )
  • D

    Bold, Italic and Underline in UDL style

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 6, 2020, 5:17 PM
    Jan 6, 2020, 1:01 PM
    0 Votes
    4 Posts
    578 Views
    P Jan 6, 2020, 5:17 PM

    @dshuman52 said in Bold, Italic and Underline in UDL style:

    stupid user error.

    I hate it when that happens to me. :-)

    Glad you found the problem.

  • D

    default xml file types

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 5, 2020, 5:21 PM
    Jan 5, 2020, 11:14 AM
    0 Votes
    4 Posts
    322 Views
    P Jan 5, 2020, 5:21 PM

    @dshuman52 said in default xml file types:

    portable version

    Ah. Yes, if you unzip the portable on top of your config files, you will lose your settings. That is the way of things. If you choose to use the portable, you have to accept that, or learn how to merge the old with the new.

    As far as adding it to defaults, this FAQ explains feature requests.

  • D

    Global font size

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Jan 5, 2020, 2:59 PM
    Dec 31, 2019, 3:26 PM
    0 Votes
    7 Posts
    2k Views
    D Jan 5, 2020, 2:59 PM

    Reproduction steps. I cloned a file that filled the window so it appears in both screens. I did a CTRL- on the right panel making the font smaller. I also did a CTRL+on the left panel making the font larger. To attempt to standardize the font sizes as noted I opened the styler window and changed the font size to 9 clicked save&… then back to 10 and clicked save&… both times with all 5 of the enable global … check boxes were checked. It may be the planned action but the CTRL- and CTRL+ differential was maintained in the both panels. Should there be a means of setting all panels to the same font. Thanks for your clarification – this may be a better question, that can be reproduced
    .

  • Tribe017 fearless_NINJA04T

    Can I use Notepad++ to bypass Roblox Chat Filter?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 5, 2020, 12:17 AM
    Jan 5, 2020, 12:17 AM
    -2 Votes
    2 Posts
    2k Views
    No one has replied
  • Elodie CEMOIE

    Arduino Activ Line not visible

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 3, 2020, 2:50 PM
    Jan 2, 2020, 4:19 PM
    0 Votes
    6 Posts
    418 Views
    Elodie CEMOIE Jan 3, 2020, 2:50 PM

    Thank you very much Peter !

    If I had knew that this update will put this mess, I would have kept my previous 7.8.1 version that was just perfect…

    By the way: Happy New Year !

  • Charles BillowC

    Start NP++ in elevated mode

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 3, 2020, 1:49 PM
    Dec 24, 2019, 6:34 PM
    0 Votes
    6 Posts
    1k Views
    rddimR Jan 3, 2020, 1:49 PM

    I don’t have success with runas but powershell do the job. Place the text below under the <UserDefinedCommands> section in the shortcut.xml. It will start another instance of Npp with Admin mode.

    <Command name="Run Notepad++ in Admin mode" Ctrl="no" Alt="yes" Shift="no" Key="0">powershell.exe -Command "Start-Process '$(NPP_FULL_FILE_PATH)' '-multiInst' -Verb runAs"</Command>
  • spemS

    Export Import NPP Settings, Styles and Sortcut Mapper

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Dec 30, 2019, 5:32 PM
    Apr 6, 2016, 9:21 PM
    1 Votes
    6 Posts
    24k Views
    maprangsoftM Dec 30, 2019, 5:32 PM

    @Igor-Minin thank you.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors