• 0 Votes
    12 Posts
    162 Views
    mathlete2M

    @MarkusBodensee said in Stop window size from saving to the cloud:

    Window position and size, also from search dialogue etc, depend on the hw you are using.

    Yes, but the point that I (and I believe others) are making is that you have full control over any defaults/initial values that you ultimately store:

    If the back-ups that you currently have don’t contain values that make sense for some situations, change them. Deleting the lines that are machine-dependent should ensure that NP++ automatically uses sensible defaults the next time you use it, but as you mentioned, you can also store multiple copies to accommodate different machines if you really want to.

  • 2 Votes
    8 Posts
    164 Views
    xomxX

    @Alan-Kilborn

    Try to run your installation with this notepad++.exe substitute: x64 Release
    as usual, then left your N++ instance running and use the Windows forced restart cmd shutdown /r /f . After a minute your comp restarts, then collect the new extended nppLogNulContentCorruptionIssue.log and post it here.

    Mine, with correct restart:

    2025-04-14 13:38:47 WM_QUERYENDSESSION (lParam: 1073741825 - ENDSESSION_CLOSEAPP - ENDSESSION_CRITICAL) ===================================== 2025-04-14 13:38:47 WM_ENDSESSION (wParam: TRUE, lParam: 1073741825 - ENDSESSION_CLOSEAPP - ENDSESSION_CRITICAL) 2025-04-14 13:38:47 WM_NO_22: before _pluginsManager.notify NPPN_BEFORESHUTDOWN 2025-04-14 13:38:47 WM_NO_22: after _pluginsManager.notify NPPN_BEFORESHUTDOWN 2025-04-14 13:38:47 WM_NO_22: isSnapshotMode == true, before LockWindowUpdate & MainFileManager.backupCurrentBuffer 2025-04-14 13:38:47 WM_NO_22: before getCurrentOpenedFiles(currentSession, true) 2025-04-14 13:38:47 WM_NO_22: before fileCloseAll 2025-04-14 13:38:47 WM_NO_22: after fileCloseAll 2025-04-14 13:38:47 WM_NO_22: before g_bNppExitFlag.store(true) 2025-04-14 13:38:47 WM_NO_22: before _pluginsManager.notify NPPN_SHUTDOWN 2025-04-14 13:38:47 WM_NO_22: after _pluginsManager.notify NPPN_SHUTDOWN 2025-04-14 13:38:47 ...\config.xml is opened. 2025-04-14 13:38:47 ...\config.xml 8326/8326 bytes are written. 2025-04-14 13:38:47 ...\config.xml is closed. 2025-04-14 13:38:47 WM_NO_22: after nppParam.saveConfig_xml 2025-04-14 13:38:47 ...\session.xml is opened. 2025-04-14 13:38:47 ...\session.xml 1562/1562 bytes are written. 2025-04-14 13:38:47 ...\session.xml is closed. 2025-04-14 13:38:47 WM_NO_22: after saving session 2025-04-14 13:38:47 WM_NO_22: before DestroyWindow 2025-04-14 13:38:47 WM_DESTROY (isEndSessionStarted == true)
  • 4 Votes
    66 Posts
    1k Views
    CoisesC

    @PeterJones

    I notice your first release has Win32, x64 and ARM64 versions.

    How do you go about testing the ARM64 version? I’ve left that out of all my plugin work so far, because I haven’t a clue how to verify that it works at all.

  • 0 Votes
    4 Posts
    59 Views
    ADeA

    @Coises Very good. Looks like actually proper documentation!
    I’ll take a look, thanks for sharing :D

  • 0 Votes
    3 Posts
    67 Views
    PeterJonesP

    Ah, right. I’ve written so many FAQ for the Community, I forgot FAQ: How do I … Convert my Text exists. That might explain things better, since it had more time put into writing it.

  • 0 Votes
    13 Posts
    122 Views
    Mike AlbersM

    @guy038 Hi guy, I studied your solution and Regex itself and it starts to dawn at me.
    I changed my testfile and tried in addition how to handle empty fields. For that i changed your searchstring a tiny bit but also added an extra OR clause.
    It seems to work properly now.

    My latest testfile was like this:
    TESTFILE_02.JPG

    My search pattern is now:
    (?s)^(?:[^\r\n;];){3}.{0,24}\r\n|^((?:[^\r\n;];){3}.{0,24}).?\r\n|^(?:[^\r\n;]?)\r\n

    The replace statement is still yours:
    ?1$1\r\n:$0

    Result was:
    File_after_replace.JPG

    I tried to figure out the replace string, but i don’t get it.
    (tried selfstudy on it with Regex0101 tool bit by bit but since it is not 100% compatible i couldn’t figure it out myself.) Really no lazyness on my part here when i ask my question.
    So i hope you can explain it step by step for me.

    Thanks!

  • 0 Votes
    7 Posts
    333 Views
    J

    @mkupper
    My issue has been resolved and is not related to the advanced administrator mode.

  • Single click to open file in workspace

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    39 Views
    PeterJonesP

    @Joe-Bruns-0 said in Single click to open file in workspace:

    Enhancement request.

    FAQ: Feature Requests aren’t tracked in the forum. If you want the developer to see your request, you’ll have to follow the instructions in the FAQ. But we can talk, and get ideas/feedback from other users here.

    Similar to single clicking on a file in document list panel to open it, can we do the same on folder as a workspace? It would appear that in folder as a workspace, a person has to double click on the file to open it.

    The two interfaces have a slightly different mindset, so, IMO, it would be a bad idea. In the Document List panel, you are dealing with files that are already open in Notepad++; in that mindset, then you’d want it to behave more like the tabbar, where a single click activates that already-open file. But in the Folder As Workspace (FaW) panel, the interface is much more like Windows Explorer: in Explorer and explorer-like interfaces, the user’s expectation is that single-clicking a file will select it, not launch it; and breaking that expectation in an explorer-like interface of the FaW panel will cause confusion on the part of many users, even though for some, it might be desired. If it were an option, I’d be okay with it; but unexpectedly forcing your preferred interface on everyone, especially on people who have been using Notpead++'s FaW for years (given how old the feature is, maybe even more than a decade) would be a bad experience for a large portion of the users.

  • 5 Votes
    2 Posts
    58 Views
    EkopalypseE

    31fe40b1-0906-49cb-a0d0-e775b805ed09-{0D57B733-9538-466F-ACC2-BE10F50B9147}.png

  • 0 Votes
    3 Posts
    96 Views
    LordP666L

    @Terry-R

    Fair enough. I thought I’d give it a shot.

    Thanks for your time and suggestions.

  • 2 Votes
    5 Posts
    137 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
    133 Views
    No one has replied
  • Cloned file status breaks after N++ restart

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

    General Discussion
    5
    0 Votes
    5 Posts
    124 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.

  • Notepad++ release 8.7.9

    Pinned Announcements
    9
    4 Votes
    9 Posts
    2k Views
    donhoD

    Thank you @Coises & @mkupper for your thought.

    It wouldn’t be so bad if it weren’t that it’s a hanging failure — one that requires force closing Notepad++ and hence losing all unsaved work. I made a bad error, and I didn’t discover it in time to fix it for two entire releases. I can only apologize for that, and leave it to others to decide how to minimize the damage.

    No problem @Coises
    It was me who merged this PR so I take the whole responsibility of the regression.

    The argument is taken. The v8.7.9 will be retained and v8.8 will be release ASAP.

  • 0 Votes
    4 Posts
    86 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
    791 Views
    Robert Or Janet DiebelR

    @Alan-Kilborn Thank you Alan.

  • 0 Votes
    9 Posts
    162 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
    82 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”.