• Icon is Ugly

    1
    0 Votes
    1 Posts
    364 Views
    No one has replied
  • 0 Votes
    5 Posts
    515 Views
    Keith KeplerK

    Basically you need to modify the startup behavior of Notepad++ via Windows Compatibility tab.
    You can get here many ways, I’m just using task manager since I had notepad++ open.

    Start notepad++ CTRL+ALT+DEL - open task manager. find notepad++ and right click on it and select --> Properties. Click the Compatibility tab Click Change High DPI Settings Check “override high DPI scaling behavior” and set it to Application
    Manual DPI Awareness setting.png
  • 0 Votes
    4 Posts
    640 Views
  • How can I find $ with regular expression?

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Pierluigi-Vitiello ,

    Regular expressions have a concept called “escaping”, where you put a \ before the special character, and it turns it into a literal character. So if you want to search for a literal dollar sign $ rather than the end-of-line that the symbol means in a regular expression, search for \$ instead of $.

    see the docs at https://npp-user-manual.org/docs/searching/#single-character-matches for more on the escaping sequence.

  • 0 Votes
    7 Posts
    2k Views
    Alan KilbornA

    I think * is used for comments

    This construct is used for comments within a regex:

    (?# … )

    So, for example:

    (?# I am a comment )

  • Search Selection wrapping no longer seems to work

    2
    0 Votes
    2 Posts
    164 Views
    j fJ

    Sorry answered my own question. it is a setting in Preferences -> Searching
    Don’t fill find field… was checked

  • there is a plugin for inster sequence numbers?

    4
    0 Votes
    4 Posts
    2k Views
    Neil SchipperN

    @Extreme-Gio Something about your reply (maybe the words “old method”) reminded me of something I put together a while back which was very easy to repurpose to meet your need (completely outside of Notepad++):

    @echo OFF rem -- Cellvars.cmd -- Ref: https://community.notepad-plus-plus.org/topic/21946/there-is-a-plugin-for-inster-sequence-numbers rem x is start index, gets incremented; set x=0 rem xp is the leading padding string used in the var name; stays constant; it's length should be the number of 0's needed while x is a single digit set xp=0 REM set tot num of vars needed set count=17 DEL /P out1.txt :LOOPN9 set x2=%xp%%x% REM the number after the ~- should be (length of xp) + 1; example: for 500 vars, need xp=00, and use :~3 in next command echo var cell%x2:~-2%=Math.round(msg.payload.minutely[%x%].precipitation *600) /10; >>out1.txt set /a x=%x%+1 if %x% LSS %count% GOTO LOOPN9

    Save it to new file Cellvars.cmd and execute it at command prompt. Output goes to a file called out1.txt so make sure there’s no local file with that name that you need to keep.

  • Folding in HTML?

    3
    0 Votes
    3 Posts
    304 Views
    PeterJonesP

    @Name-Private ,

    But it folds to the very end of my code/text?

    For UDL folding in comment, it works just like described at https://ivan-radic.github.io/udl-documentation/folding-in-comment/ , which you can get to from the link in the UDL dialog:

    If I make a quick UDL that just defines comments like HTML comments: <!-- this is a comment --> Then I can use Folding in comment style, like described at https://ivan-radic.github.io/udl-documentation/folding-in-comment/ <!-- openFold --> stuff here <!-- middleFold --> blah <!-- closeFold --> outside of folding-in-comment

    which if that UDL is active will show up as:
    469ad9e8-59dd-4b97-8731-c80d7520af18-image.png
    … and then when folded:
    489627f2-1473-44bf-addd-4603c6faf1f2-image.png

    Note that the folding begins and ends with the keywords defined.

    Also, is it possible to add this folding function into the already existing HTML language?

    You cannot combine folding from a UDL and folding in a builtin syntax highlighter like HTML, sorry. Only one lexer – either UDL or a builtin – can be active at a time.

  • newest np++ doesnt find anything via [search in files]

    3
    0 Votes
    3 Posts
    176 Views
    BeatBullzB

    deleting the * stars in front and back of the search-phrase did it *facepalm

    thx a lot for your effort n time to help me

  • Deleted file, can't restore it no matter how hard I try

    6
    0 Votes
    6 Posts
    338 Views
    Lu BerL

    Thank you for a great and extensive reply - I’m not used to using explorer [I use Free CommanderXE donor ], however I did try find C:…AppData without success. The %AppData% worked a treat and I found the back ups. Unfortunately this was 0030 Melbourne Australia time and I switched off. Today [0911 Melbourne Australia] I fired up again and, of course the backups were over written but all the other tab contents were there but not Z, title of missing one]. My fault entirely, I tend to use and resort to manuals if necessary- pain in the posterior, I write manuals for sport so I’m used to read ^%$&#manual.

    My system is a Raid 5 and should be bog standard, The ? I didn’t realise had this debug info, viz
    Notepad++ v8.1.5 (32-bit)
    Build time : Sep 26 2021 - 15:15:32
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2004
    OS Build : 19041.1237
    Current ANSI codepage : 1252
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll

    Although I notice your version is 2009, mine is 2004 on auto upgrade. So far Notepad++ is a great program and should come standard with all MS systems, all it needs is a smack system for people like me who don’t save manually. I think I was thinking does <save> save the doc on which I’m working only or the whole lot.

    Thanks again for your excellent reply. Lu

  • notepad++ crashed, all data in file is lost!

    5
    0 Votes
    5 Posts
    2k Views
    Alan KilbornA

    @PeterJones said in notepad++ crashed, all data in file is lost!:

    the first item in the change list addresses your issue. Good timing: same day fix

    Well, maybe not such good timing, as the data has been lost already. :-(

    But the really great news is that moving forward @User-Name can continue working just like always, without a concern that he should have an independent backup strategy in place for his valuable data. Thank goodness. :-)

  • Clipboard history

    3
    0 Votes
    3 Posts
    1k Views
    Michael VincentM

    @BET_BioBE
    @Alan-Kilborn said in Clipboard history:

    Ditto […] (and certainly don’t know if you can search its entries).

    Ditto, and yes you can search its entries:

    2e37e3b3-a36f-47cf-9368-acb1b041577f-image.png

    There are tons of configurations for it - including a dark mode theme, and I just have a shortcut for “Paste” as CTRL+ALT+V so normal CTRL-V does normal paste, my Ditto shortcut launches the Ditto window you see above to select what to paste and then click or Return on the entry inserts it.

    The greatest advantage of this over Notepad++ built-in or plugin - Ditto is SYSTEM WIDE - it captures all my clipboard (including the image I copied and pasted above) and makes it available to ANY application.

    Cheers.

  • How to find all lines ending with only CR

    9
    0 Votes
    9 Posts
    4k Views
    Bjørn DidriksenB

    @Alan-Kilborn Just trying to be sort of vague to cover my ass here as I am sharing data from a customers SAP system…
    But NEXT time! ;)

    Everything went into the user manual I am writing for the use of that excel sheet, with references back here.

  • Remove any content starting from a and ending at b

    9
    0 Votes
    9 Posts
    933 Views
    Alan KilbornA

    @Neil-Schipper

    It’s inconclusive, unless OP comes back for more help.
    We’ve seen it many times.

  • "OVERWRITE" in column mode

    12
    0 Votes
    12 Posts
    2k Views
    Neil SchipperN

    @jiskapav Good that you have the more general (dimension-neutral) solution.

    If Alan (or someone else) had not provided a pythonscript solution, I would have proposed a pair of macros-with-hotkeys (one to copy, one to paste) for each dimension. Thus, 4 macros might have satisfied 90% of your need.

  • How to search many conditions automatically?

    2
    0 Votes
    2 Posts
    703 Views
    Neil SchipperN

    @Григорий-Новожилов My interpretation of your need as pseudocode:

    For each string in Condition between first occurrence on a line of // and the next occurrence of /

    For each occurrence of that same string in result, also between a leading double slash and single slash on a line

    advance count

    What I’d probably do is:

    Prepare:

    Make safe copies of both files. Obtain a modern Windows “diff” (file & directory compare) tool. You can install the Compare plugin (Plugins, Admin…), but standalone ones are friendlier and more sophisticated and there are good free options.

    Then:

    Clean both files so they contain only the strings of interest, one per line. This can be done with a macro (incorporating a {non-regex} find), or, a regex S&R. (Try learning and fooling around with these on your own. https://npp-user-manual.org/docs/searching/ If you need help, ask.) Sort first cleaned file (menu: Edit, Line operations). Sort second cleaned file. Use diff tool on the cleaned sorted files.

    Now the mismatches in counts will jump out at you, and it will be much easier to count them.

    Note that (a copy of) the cleaned (and maybe sorted, your preference) Condition file can be the start point for your report file.

    If this is still too hard (because very big files, or, many entries, or done frequently) there will be a need for more sophistication.

    Some fancy diff tools might have options to automate the counting.

  • Need to totally remove Notepad++ so I can reinstall

    4
    0 Votes
    4 Posts
    1k Views
    Terry RT

    @Patrick-Kelly said in Need to totally remove Notepad++ so I can reinstall:

    Are any of the instructions just given changed in this case?

    Yes as the portable version contains all customisations within its “installed” folder. So you just need to delete that folder to clear out the installation. That’s the beauty of the portable version, it’s self-contained.

    So your original post was a bit sparse on details, are you having a problem getting Notepad++ to run? If so what sort of problem? Can you provide the Debug Info, use ? menu, then “debug info” which can be copied and pasted here.

    Terry

  • Find And Replace has stopped working

    2
    0 Votes
    2 Posts
    898 Views
    Alan KilbornA

    @John-Colburn said in Find And Replace has stopped working:

    This no longer works

    It works.
    You have to be in Regular Expression mode for the Search mode; probably Extended mode also works.
    BUT… it isn’t a good idea to do what you’re doing, because doing exactly what you say will turn your Windows files into old Mac format files.
    You want to replace with \r\n.

  • Can't open files from local folder mapped as a network drive

    3
    0 Votes
    3 Posts
    2k Views
    SASJediS

    Fascinating! It WAS opening in Admin mode. I fixed that - and it’s working. Thanks SO much for taking the time to explain.

  • How to install webedit plugin? Why is it not visible in the toolbar?

    28
    0 Votes
    28 Posts
    8k Views
    PeterJonesP

    @Tony-Scialdone ,

    Here are the steps I used to get it working with v8.1.4-32bit:

    Use Plugins Admin to install WebEdit plugin. after the restart of Notepad++, the Plugins > WebEdit menu showed up, but there were no available actions in the menu, and nothing on the toolbar:
    274d27e8-0345-4cca-a3a9-1ce7d75f6bd2-image.png if I look in my <npp.install.dir>\Plugins directory, there is a WebEdit subdirectory, with a Config subdirectory (<npp.install.dir>\Plugins\WebEdit\Config\) Exit Notepad++. Copy the *.bmp and WebEdit.ini from <npp.install.dir>\Plugins\WebEdit\Config\ into %AppData%\Notepad++\Plugins\Config\ directory.🛈 Restart Notepad++ Now the WebEdit menu has actions, and the buttons are on the toolbar:
    2a20860e-0f44-4d9a-aec5-6d091a275f1d-image.png

    You might want to see this more recent WebEdit discussion: https://community.notepad-plus-plus.org/topic/21504/webedit-plugin-tooltips-out-of-sync