• FORUM: Posting Queue

    Pinned
    9
    12 Votes
    9 Posts
    587 Views
    PeterJonesP

    @donho ,

    Makes sense.

    Since deleting posts was tedious for me, I had recently been looking into whether I could use the API that the forum offers to write a script to automate some of the cleanup (like with purging the deleted posts/topics), but that will take some time to develop.

    update: As of Nov 9, the purge automation is working, and it will run once a week. (Along with purging deleted posts/topics, it will also delete user accounts that are more than a year old where the user never posted and never logged in after the first day – nearly half of the 30000 accounts were in this category)

  • Please Read This Before Posting

    Pinned Locked
    1
    5 Votes
    1 Posts
    3k Views
    No one has replied
  • rereplace help

    1
    1 Votes
    1 Posts
    31 Views
    No one has replied
  • Two buffer-activated notifications instead of just one

    4
    3 Votes
    4 Posts
    62 Views
    CoisesC

    @Alan-Kilborn said in Two buffer-activated notifications instead of just one:

    But if the user is using e.g. a plugin that does a not-insignificant operation on buff-activated, and that operation is time-related to the size of the file, and the currently-active tab in the inactive view is absolutely huge and the above happens, the user can notice.

    I can confirm from implementing Columns++ Elastic tabstops that this is an annoying problem. (I’ve worked around most of it, but there is a specific case I cannot mitigate.)

    I think Notepad++ sends NPPN_BUFFERACTIVATED whenever it loads a Scintilla document into a view; but there are times when it does that only temporarily. It could be that the path through Notepad++ is such that it doesn’t “know” at the time it sends the message whether it will be temporary.

    The best way I have found to work around it is to try to write NPPN_BUFFERACTIVATED processing such that doing it repeatedly on a file that hasn’t changed does nothing, and does it quickly. That usually means tracking changes with SCN_MODIFIED and keeping a map that associates Scintilla document IDs, Notepad++ buffer IDs, and status information. It’s ugly.

    Edit to add: It is possible that one could wait for an SCN_UPDATEUI notification. Now that I think of it, I don’t believe I tried deferring the slow operation I can’t escape to that message; but it’s rare enough, now — and I have a progress box with a cancel button that shows up when it happens — that I don’t want to make things even more complicated than they already are.

  • [FORK] Tangential Discussion about what advice is "on topic"

    34
    1 Votes
    34 Posts
    686 Views
    donhoD

    @Alan-Kilborn

    Given his level of participation here, I’d have to guess that Don doesn’t care.

    Sorry for not being able to spend more time here, and thank you (and others) to be here for helping people. I do care the proper functioning of the forum though.

    By “non-Notepad++ solutions”, I thought it was kind of spam disguised as a solution.
    Even if someone provides a brief reply such as “Notepad++ doesn’t have the feature you want, try VS Code/Sublime Text/UltraEdit/vi/emacs/…etc”, I think it’s tolerable. The most important thing is that users come here to find a solution, and he/she has got one - be it python, batch, run menu or not run menu, whatever - even if it’s not within Notepad++.

    @guy038
    Thank you for pinging me.

    As @donho created this forum, it seems to me that Don is the only person which has authority to tell us what we should speak of or not in our forum !

    The community/forum is not about any specific individual, but about people.
    If I used my privilege to silence others by imposing my will, instead of following the rules, I would be the only one left in this place.

    Regarding the rules about this tangential discussion, I find Peter’s point to be very fair:
    https://community.notepad-plus-plus.org/topic/26783/fork-tangential-discussion-about-what-advice-is-on-topic/5?_=1745252343263

    Not trying to enlighten anyone, just sharing my 2 cents as part of community.

  • Persistencia de Styles Tokens

    Locked
    3
    0 Votes
    3 Posts
    77 Views
    PeterJonesP

    Please continue the conversation in the original. This topic is locked

  • create links to FTP files

    5
    0 Votes
    5 Posts
    98 Views
    Lhuillier SébastienL

    @PeterJones yes. thanks a lot

  • Cloned file status breaks after N++ restart

    9
    2 Votes
    9 Posts
    248 Views
    xomxX

    @Mark-Olson

    Thanks, I used that info while fixing: x64 Release binary for testing

  • N++ behavior when Windows Update does an unattended restart

    11
    2 Votes
    11 Posts
    392 Views
    Alan KilbornA

    @xomx

    I’ll leave Windows updates on (for now) and see if the N++ situation recurs.

  • Show Off Your Custom Icons in the Toolbar Buttons - STAR WAR Theme!

    7
    3 Votes
    7 Posts
    297 Views
    Lycan ThropeL

    @Amit ,
    Do keep doing your videos, though @Amit . I think it’s very helpful the way you tackle only one aspect at a time to show & tell about a subject relating to Notepad++.

  • Replace A name for 300 others in the list and save.

    11
    0 Votes
    11 Posts
    253 Views
    PeterJonesP

    In the fork, @mathlete2 informed me:

    While there may well be a ready-made solution somewhere within those search results, the post that contains the solution is not identifiable at a glance…

    Sorry, I had intended my link to make things reasonably easy, though requiring a little effort of reading some pre-existing posts. If this had been Stack Exchange, I would have been expected to just “close as duplicate”, since the question is already answered somewhere else, but I think that’s harsh; but maybe my expecting someone to search the forum is also too harsh. (I guess even SE’s close-as-duplicate link to the original; it’s apparently time for me to stop just giving people the keywords to search for and instead just finding the exact post myself.)

    is not identifiable at a glance.

    I thought that the post that the preview shows as “Let’s call the script MailMerge.py” would be easily noticed by looking through those results… but I guess not.

    9ffaa2ae-482b-4d13-9c78-6c3c8b46a508-image.png

    So here is the post I was intending for @Claudio-Raphael or anyone else to find – it presents a fully-working PythonScript solution; for those who don’t know how to make use of a solution using the PythonScript plugin, this FAQ explains the steps needed.

    Sometimes these scripts for the PythonScript plugin get multiple versions, depending on customizations that people request; I don’t remember whether MailMerge has been customized one or more times in other of the search results; so if the one I linked to is not exactly the solution desired, checking out some of the other posts in that search might find alternate versions of the script which will work better in your circumstances.

    TL;DR

    The MailMerge.py script is here – sorry for any confusion.

  • Notepad++ Using two or more desktops

    3
    0 Votes
    3 Posts
    145 Views
    PeterJonesP

    There was just a spammer who actually posted reasonable advice for a workaround:
    “A workaround is to run multiple instances using the -multiInst option. Create a shortcut with notepad++.exe -multiInst to open files in the current desktop.”

    (the original post had a random word converted into a link to some spammy website that had nothing to do with the question or Notepad++, hence the original poster – now banned for spamming – is not going to get credit for the solution.)

    It doesn’t solve the underlying problem, but -multiInst does seem a reasonable workaround for someone who finds themselves in a multi-desktop environment. But I don’t know that it would solve Explorer > Double-Click or Explorer > Open With Notepad++ – I don’t know whether, if there’s an open Notepad++ in the current desktop, whether that instance will get preference over another Desktop’s instance, or whether the OpenWithNotepad++ will just always go to the first instance, regardless of one being open on the active desktop.

    it might be something to experiment with, until such time as a solution is implemented.

  • Search Not Auto Paste?

    2
    0 Votes
    2 Posts
    40 Views
    mathlete2M

    @ca-bo I think you’re looking for the Fill Find Field with Selected Text option in the Searching section of the Preferences window:

    d23b471a-24fd-4d7b-a75c-49f48a209e5f-image.png

  • [ToolBar] Fugue Icons for Notepad++

    9
    5 Votes
    9 Posts
    4k Views
    D

    @Manu-el These icons look good, but they’re too small. Any chance of 32x32 icons instead?

  • It's time for UI update!

    Locked
    101
    17 Votes
    101 Posts
    197k Views
    PeterJonesP

    @bombitup ,

    The contents of your “That said” paragraph were nearly identical to the quoted text from 2015. And those claims haven’t been true for years, because when Notepad++ v8.0 came out in 2021, the whole GUI – not just the editor panels – were given the ability to Dark Theme

    Your post sounds like something that would be said if you posted the original 2015 post as a prompt into an older generative AI and asked it to reply to that post.

    Just so you know, posts created by generative AI are not allowed in this forum – it’s a Community of Users of Notepad++, and, by definition, generative AI are not users of Notepad++. Any further posts like this, and you will be banned.

    The Sep 2024 revival post sounded like generative drivel (and, like yours, rephrased the original 2015 complaint); your post was slightly better generative drivel (it at least wrapped it in mindless wrapper paragraphs), but it was still junk.

    Getting posts every few years that try to “reply to” or “reword” the original, outdated post add nothing to the forum. Since this Topic has become a “honeypot” for AI nonsense, and since all the original points from 2015 have been addressed over the last decade of improvements, I am locking the discussion.

    Admin update: that individual has been banned for spam posts, in addition to the AI nonsense posts. Sorry for their waste of bandwidth.

  • I cannot save Language: Global Styles Default Style font name

    7
    0 Votes
    7 Posts
    502 Views
    J

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

  • Navigation within Notepad++

    5
    0 Votes
    5 Posts
    171 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.

  • Can't change Scintilla LineUp/Down Rect Extend to require CTRL key

    9
    0 Votes
    9 Posts
    224 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.

  • RTL-alignment

    4
    0 Votes
    4 Posts
    124 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

  • search for word with a period in the beginning

    2
    0 Votes
    2 Posts
    53 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