• 2 Votes
    5 Posts
    211 Views
    MarkusBodenseeM

    Attention:

    The feature is updated and the file toolbarIcons.xml will not be present anymore in V8.8 of Notepad++. The content of the file is merged into toolbarButtonsConf.xml. I think this is a great improvement, less places to configure something :)

    Commit 4f649d2

    Time for a new video @Amit

  • 0 Votes
    58 Posts
    1k Views
    Robert Or Janet DiebelR

    @guy038 Sorry, that does work. I somehow slipped in a space before the RegEx in the MACRO

  • Notepad++ v8.8 Release Candidate in about 1 week

    Announcements
    1
    4 Votes
    1 Posts
    338 Views
    No one has replied
  • Cloned file status breaks after N++ restart

    General Discussion
    6
    2 Votes
    6 Posts
    100 Views
  • Navigation within Notepad++

    General Discussion
    5
    0 Votes
    5 Posts
    129 Views
    PeterJonesP

    @PeterJones said in Navigation within Notepad++:

    The User Manual doesn’t always mention the keyboard shortcut for every action

    The script in this 2019 post by @Ekopalypse will list all the current keyboard shortcuts (it pages through all the pages of Shortcut Mapper for you). Back in that discussion, the Notepad++ v7.7.1 shortcuts were shown a few posts lower than that.

    Since there hasn’t been a recent posting:

    Default Shortcuts for Notepad++ v8.7.9 New : Ctrl+N Open... : Ctrl+O Reload from Disk : Ctrl+R Save : Ctrl+S Save As... : Ctrl+Alt+S Save All : Ctrl+Shift+S Close : Ctrl+W Close All : Ctrl+Shift+W Print... : Ctrl+P Restore Recent Closed File : Ctrl+Shift+T Exit : Alt+F4 Cut : Shift+DEL Cut : Ctrl+X Copy : Ctrl+INS Copy : Ctrl+C Paste : Shift+INS Paste : Ctrl+V Begin/End Select : Ctrl+Shift+B Begin/End Select in Column Mode : Alt+Shift+B UPPERCASE : Ctrl+Shift+U lowercase : Ctrl+U Proper Case : Alt+U Proper Case (blend) : Alt+Shift+U Sentence case : Ctrl+Alt+U Sentence case (blend) : Ctrl+Alt+Shift+U Split Lines : Ctrl+I Join Lines : Ctrl+J Move Up Current Line : Ctrl+Shift+Up Move Down Current Line : Ctrl+Shift+Down Insert Blank Line Above Current : Ctrl+Alt+Enter Insert Blank Line Below Current : Ctrl+Alt+Shift+Enter Toggle Single Line Comment : Ctrl+Q Single Line Comment : Ctrl+K Single Line Uncomment : Ctrl+Shift+K Block Comment : Ctrl+Shift+Q Function Completion : Ctrl+Spacebar Path Completion : Ctrl+Alt+Spacebar Word Completion : Ctrl+Enter Function Parameters Hint : Ctrl+Shift+Spacebar Function Parameters Previous Hint : Alt+Up Function Parameters Next Hint : Alt+Down Column Editor... : Alt+C Find... : Ctrl+F Find in Files... : Ctrl+Shift+F Find Next : F3 Find Previous : Shift+F3 Select and Find Next : Ctrl+F3 Select and Find Previous : Ctrl+Shift+F3 Find (Volatile) Next : Ctrl+Alt+F3 Find (Volatile) Previous : Ctrl+Alt+Shift+F3 Replace... : Ctrl+H Incremental Search : Ctrl+Alt+I Search Results Window : F7 Previous Search Result : Shift+F4 Next Search Result : F4 Go to... : Ctrl+G Go to Matching Brace : Ctrl+B Select All In-between {} [] or () : Ctrl+Alt+B Mark... : Ctrl+M Previous style of 1st style : Ctrl+Shift+1 Previous style of 2nd style : Ctrl+Shift+2 Previous style of 3rd style : Ctrl+Shift+3 Previous style of 4th style : Ctrl+Shift+4 Previous style of 5th style : Ctrl+Shift+5 Previous style of Find Mark style : Ctrl+Shift+0 Next style of 1st style : Ctrl+1 Next style of 2nd style : Ctrl+2 Next style of 3rd style : Ctrl+3 Next style of 4th style : Ctrl+4 Next style of 5th style : Ctrl+5 Next style of Find Mark style : Ctrl+0 Toggle Bookmark : Ctrl+F2 Next Bookmark : F2 Previous Bookmark : Shift+F2 Toggle Full Screen Mode : F11 Post-It : F12 1st Tab : Ctrl+Numpad 1 2nd Tab : Ctrl+Numpad 2 3rd Tab : Ctrl+Numpad 3 4th Tab : Ctrl+Numpad 4 5th Tab : Ctrl+Numpad 5 6th Tab : Ctrl+Numpad 6 7th Tab : Ctrl+Numpad 7 8th Tab : Ctrl+Numpad 8 9th Tab : Ctrl+Numpad 9 Next Tab : Ctrl+Page down Previous Tab : Ctrl+Page up Move Tab Forward : Ctrl+Shift+Page down Move Tab Backward : Ctrl+Shift+Page up Switch to previous document : Ctrl+Shift+Tab Switch to next document : Ctrl+Tab Hide Lines : Alt+H Focus on Another View : F8 Fold All : Alt+0 Unfold All : Alt+Shift+0 Fold Current Level : Ctrl+Alt+F Unfold Current Level : Ctrl+Alt+Shift+F Fold Level 1 : Alt+1 Fold Level 2 : Alt+2 Fold Level 3 : Alt+3 Fold Level 4 : Alt+4 Fold Level 5 : Alt+5 Fold Level 6 : Alt+6 Fold Level 7 : Alt+7 Fold Level 8 : Alt+8 Unfold Level 1 : Alt+Shift+1 Unfold Level 2 : Alt+Shift+2 Unfold Level 3 : Alt+Shift+3 Unfold Level 4 : Alt+Shift+4 Unfold Level 5 : Alt+Shift+5 Unfold Level 6 : Alt+Shift+6 Unfold Level 7 : Alt+Shift+7 Unfold Level 8 : Alt+Shift+8 Text Direction RTL : Ctrl+Alt+R Text Direction LTR : Ctrl+Alt+L Toggle macro recording : Ctrl+Shift+R Playback : Ctrl+Shift+P Run... : F5 About Notepad++ : F1 Trim Trailing Space and Save : Alt+Shift+S Get PHP help : Alt+F1 Wikipedia Search : Alt+F3 Open selected file path in new instance : Alt+F6 SCI_SELECTALL : Ctrl+A SCI_CLEAR : DEL SCI_UNDO : Ctrl+Z or Alt+Backspace SCI_REDO : Ctrl+Y or Ctrl+Shift+Z SCI_NEWLINE : Enter or Shift+Enter SCI_TAB : Tab SCI_BACKTAB : Shift+Tab SCI_ZOOMIN : Ctrl+Num + SCI_ZOOMOUT : Ctrl+Num - SCI_SETZOOM : Ctrl+Num / SCI_SELECTIONDUPLICATE : Ctrl+D SCI_EDITTOGGLEOVERTYPE : INS SCI_LINEDOWN : Down SCI_LINEDOWNEXTEND : Shift+Down SCI_LINEDOWNRECTEXTEND : Alt+Shift+Down SCI_LINESCROLLDOWN : Ctrl+Down SCI_LINEUP : Up SCI_LINEUPEXTEND : Shift+Up SCI_LINEUPRECTEXTEND : Alt+Shift+Up SCI_LINESCROLLUP : Ctrl+Up SCI_PARADOWN : Ctrl+] SCI_PARADOWNEXTEND : Ctrl+Shift+] SCI_PARAUP : Ctrl+[ SCI_PARAUPEXTEND : Ctrl+Shift+[ SCI_CHARLEFT : Left SCI_CHARLEFTEXTEND : Shift+Left SCI_CHARLEFTRECTEXTEND : Alt+Shift+Left SCI_CHARRIGHT : Right SCI_CHARRIGHTEXTEND : Shift+Right SCI_CHARRIGHTRECTEXTEND : Alt+Shift+Right

    In theory, that list could be added to an appendix for the User Manual… but while generating the list would be easy, manually linking those 150 lines to appropriate sections of the Manual would be a nightmare. And without that linkage, I am not sure how useful “just a list” would be.

  • 0 Votes
    4 Posts
    92 Views
    Alfonso MuñozA

    @PeterJones Thanks a lot for your reply. It was that setting. I have the latest Npp version and it is a checkbox for me. I disabled the DirectWrite, restarted and characters are again visible.
    I don’t recall changing that setting in the past, and I don’t think I have installed any extension recently, so I don’t know how this could have happened.
    It could be that the setting was like that already but something in windows changed. I don’t know. But once again many thanks!

  • 0 Votes
    51 Posts
    880 Views
    Robert Or Janet DiebelR

    @Alan-Kilborn Thank you Alan.

  • 0 Votes
    9 Posts
    167 Views
    Alan KilbornA

    @madmrmax said:

    I don’t know what I’m losing out on by unchecking “Enable Column Selection to Multi-Editing”

    IMO, you’re not losing out on much; it’s a lame feature (that some feel is important, to be fair).

    But if you really want to know, read HERE.

  • 1 Votes
    5 Posts
    96 Views
    mpheathM

    @Coises said in Npp v8.7.8 or later hangs for `^.{0,20}` at the end of a file:

    Leading comma within curly braces is not a valid syntax, so it’s searching for the beginning of a line followed by any one character and then the literal characters {,20}.

    Python’s re allows that syntax of omitting the minimum repetition. To use {,20} instead of {0,20} would be like learning a bad habit compared to Boost or other regex libraries.

    https://www.pcre.org/original/doc/html/pcrepattern.html quote:

    An opening curly bracket that appears in a position where a quantifier is not allowed, or one that does not match the syntax of a quantifier, is taken as a literal character. For example, {,6} is not a quantifier, but a literal string of four characters.

    This is stated explicitly that {,6} is a “literal string”.

  • German: Status bar in English

    Translation
    8
    0 Votes
    8 Posts
    1k Views
    Alan KilbornA

    @PeterJones

    Ah…

  • 0 Votes
    6 Posts
    71 Views
    David HimmelsteinD

    @PeterJones That fixed the issue. Thank you for your help!

  • 0 Votes
    2 Posts
    34 Views
    Alan KilbornA

    @Sam-J said in Line operation that deletes first word on each line:

    Is this functionality still available?

    Not exactly.

    But you can do a regular expression replacement:

    Find: (?-s)^\w+ +(.*)
    Replace: ${1}

  • RTL-alignment

    General Discussion
    4
    0 Votes
    4 Posts
    102 Views
    xomxX

    @Christian-Wolff said in RTL-alignment:

    mixed text in HTML

    In this case, N++ is not currently a suitable editor for you. For that you need BiDi-support, for more details see e.g. here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10664

  • New Laptop, old one crashed

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    37 Views
    PeterJonesP

    @anna-cluckers ,

    Notepad++ itself doesn’t have a way to grab a file off of the old laptop.

    If you had an external backup of the file, you could copy it from the backup to your new laptop, but it’s doubtful that you’d be asking for our help if you had a backup.

    If you had saved your file in a OneDrive or Dropbox or similar cloud folder, then you would be able to download the file to your new laptop from that web service; but, once again, you wouldn’t be asking us for help if it were that easy.

    Depending on how bad the “crash” was on the old laptop, the things I can think of:

    if you can boot the old, then you should be able to copy the file onto a thumb drive and put it on the new laptop the the old laptop cannot boot, maybe you have a tech-savvy friend who can help you take the drive out of the old laptop, and see if you can get it to be read as a second drive in your new laptop, so that you can copy the file across if the old laptop’s drive is not readable, there’s not much that can be done. (A paid data recovery service might be able to help, but that’s a long-shot.)

    But none of these answers has anything to do with Notepad++. Unfortunately, Notepad++ itself cannot help you with recovering the file from another machine, and this Notepad++ Community forum is focused on Notepad++ itself, so if you need more help with recovering a file from your old laptop, you’ll have to go to some “file recovery” forum or something similar, because recovering files from one crashed computer to put onto another computer is not our area of expertise, and is off-topic for Notepad++ discussions.

    Sorry.

  • 0 Votes
    8 Posts
    98 Views
    PeterJonesP

    @Mike-Albers deleted the first post, and started a new conversation Topic here.

    In the future, please do not delete posts that have replies. And if you want to clarify, provide more details, etc, you can just do that in a reply, so that the conversation keeps the original context.

    To preserve the history of this discussion, the first post has been un-deleted. But since the conversation has moved forward in the new Topic, this old version has been locked.

  • Unable to use Replace in files

    Help wanted · · · – – – · · ·
    22
    0 Votes
    22 Posts
    350 Views
    guy038G

    @dr-ramaanand,

    Take the time to read my last e-mail to you, where I explained the differences between two simple regexes containing, each, the (*SKIP)(*F) syntax !

    BR

    guy038

  • XML-Tools - Validation problem

    Notepad++ & Plugin Development
    5
    0 Votes
    5 Posts
    173 Views
    Thorsten KreutzT

    @Mark-Olson and @Terry-R

    Thank you for your answers and sorry for the late response.
    I checked if there are unseen characters but there are none.

    I’m sorry for not translating the error text - I just made the screenshot and never thought about it. The google translation offered by @Terry-R is correct though.

    As for the mentioned lack of information:

    I’m using Notepadd++ 8.7.9 with XML tools 3.1.1.13.

    The XSD files are from the german tax offices and can be downloaded here:
    https://www.bzst.de/SharedDocs/Downloads/DE/Handbuecher/fs_XSDs_ab_20240401.zip?__blob=publicationFile&v=3

    A valid xml file which produces the mentioned error is:

    <?xml version="1.0" encoding="utf-8"?> <n1:ELMA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.itzbund.de/elan ./XSD/ELMA_FSAK_FS-6.1.0.xsd" xmlns:n1="http://www.itzbund.de/elan" xmlns:elan="http://www.itzbund.de/elan/elemente" xmlns:verf="http://www.itzbund.de/FSAK/FS/02.00" xmlns:std="http://www.itzbund.de/FSAK/FSStd/02.00" elmaVersion="2" verfVersion="6.1.0"> <elan:ELMAHeader> <elan:BenutzerkontoID>1006870761</elan:BenutzerkontoID> <elan:Transportweg> <elan:Datenart>FSAK_FS</elan:Datenart> <elan:Umgebung>PRODUKTION</elan:Umgebung> </elan:Transportweg> <elan:Identifizierung> <elan:EingangsID>1e6bb852-e445-47fc-965e-cdd2dc7f251c</elan:EingangsID> </elan:Identifizierung> <elan:Zeitpunkte> <elan:Erstellung>2025-02-28T12:20:25Z</elan:Erstellung> </elan:Zeitpunkte> </elan:ELMAHeader> <verf:FSAKFSRoot> <verf:FSAK_FS UUID="02c2af01-5d0e-1eef-bdb8-d2d5ad5dd1cb"> <verf:Melder> <verf:Daten Bezeichnung="Monster Inc." Zulassungsnummer="12345678" Steuernummer="9120012345678" eMail="mike@monster.inc" Telefon="555-1234567"/> <verf:Adresse PLZ="12345" Strasse="Monsterroad" HausNr="47" HausNrZu="a" Ort="Monsterville" /> </verf:Melder> <verf:MeldungListe> <verf:Meldung freigestellterBetrag="75" OrdBegriff="98765432" Zeitstempel="2025-02-28T12:20:25Z" Meldejahr="2024" UUID="02c2af01-5d0e-1eef-bdb8-d2d5ad5e11cb" xsi:type="verf:Meldeart1"> <verf:Glaeubiger> <verf:Daten Geburtsdatum="1970-06-19" Name="Sullivan" Vorname="James" IdNr="12345678901"/> <verf:Adresse xsi:type="std:AdresseInlandType" HausNr="11" Strasse="Homelandway" Ort="Home" PLZ="23456"/> </verf:Glaeubiger> <verf:Ehegatte> <verf:Daten Geburtsdatum="1979-11-24" Name="Sullivan" Vorname="Jane" IdNr="98765432109"/> <verf:Adresse xsi:type="std:AdresseInlandType" HausNr="11" Strasse="Homelandway" Ort="Home" PLZ="23456"/> </verf:Ehegatte> </verf:Meldung> </verf:MeldungListe> </verf:FSAK_FS> </verf:FSAKFSRoot> </n1:ELMA>

    The schemaLocation points to the a directory “XSD” in the same directory as the xml file with the content of the downloaded XSD extracted to “XSD”.

    Thanks again and still glad for any help!
    Thorsten

  • search for word with a period in the beginning

    General Discussion
    2
    0 Votes
    2 Posts
    41 Views
    Terry RT

    @Wayne-Barron

    If you are looking for the literal text then .name is correct, as long as the search mode is normal. However if you have your search mode as regular expression then this means any character followed by name.

    The period character is a meta character under regular expression search mode. To make it a literal character you need to escape it, \..

    Terry

  • 0 Votes
    4 Posts
    1k Views
    rdipardoR

    @Moratilla said in Black line highlight background after use of compare plugin:

    Solution: Alt+F4 & Reopen Notepad++ solves this, not the best solution but not the worst either xd

    You need to turn off CSV Lint’s transparent cursor option, or the problem will keep coming back:

    csv_lint_settings_panel.png

    See https://github.com/BdR76/CSVLint/issues/77

  • 1 Votes
    3 Posts
    45 Views
    waroftitans remoteW

    @PeterJones
    Thanks for your reply.
    Adding the comma to the operators solved the problem.

    Thank you.