• FORUM: Posting Queue

    Pinned
    9
    12 Votes
    9 Posts
    1k 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
    4k Views
    No one has replied
  • Revert to Windows 10 NotePad

    3
    0 Votes
    3 Posts
    63 Views
    7 COME117

    @PeterJones
    Many thanks!
    Regards,
    RPrinceton

  • Copying file itself into clipboard in Notepad++

    19
    0 Votes
    19 Posts
    2k Views
    EkopalypseE

    @PeterJones
    hmm … if it sometimes works and sometimes doesn’t, then I suspect an alignment problem. I’ll have a look later today and see if that’s the case.

    @fml2
    thx, yes, that might be helpful.

  • Notepad++ lags when text files are on FTP

    3
    0 Votes
    3 Posts
    34 Views
    CoisesC

    @Alexander-Anisimov said in Notepad++ lags when text files are on FTP:

    I’m editing text files stored on an FTP server using Notepad++.

    How are you accessing the FTP server? There is a Notepad++ plugin that does that, but you might mean that you are using some other program, like MountainDuck, to make the FTP server’s content available on your computer.

    Either way, best to click the question mark at the right end of the menu bar, select Debug Info…, then click Copy debug info to clipboard and paste the result into a reply here, so we know details like what version and plugins you are using.

    The problem is Notepad++ “pings” the server every time the window regains focus, causing momentary stutters.

    I don’t know about this, but I wonder if Settings | Preferences… | MISC. | File Status Auto Detection might affect this. Looking at the code, I wasn’t able to work out for certain how Notepad++ detects changes, but I’m thinking whatever it does might cause whatever software mirrors the server to a local cache to check the server to see if anything changed. See if changing that setting to Disabled makes any difference.

  • How to copy text file from Notepad++

    Locked
    4
    0 Votes
    4 Posts
    67 Views
    PeterJonesP

    @Alexander-Anisimov ,

    Ah, okay, I understand. Notepad++ itself doesn’t have that feature. But as you apparently don’t remember from last October when you asked the same question, there are ways using a script for the the PythonScript plugin. It seemed more than you could understand at the time, but maybe it’s important enough to you to try again.

    If you have questions about the old discussion, you can continue the conversation there, to maintain context. Since this is a duplicate of your previous discussion, it is being locked – so you can reply there, not here.

  • Using Notepad++ for Script Review in Large-Scale Automation

    3
    1 Votes
    3 Posts
    118 Views
    Thomas KnoefelT

    @NebulaPulseX
    MultiReplace covers the complexity you’re dealing with quite well. While it doesn’t support syntax checking, it handles regex, variables, and multiline edits. Bulk replacements work across all open files in Notepad++. Folder-based processing is on the roadmap.

  • 1 Votes
    6 Posts
    477 Views
    PeterJonesP

    @deleelee said in The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !:

    Perhaps I’m misunderstanding your meaning but, if the “exe” directory is the one containing notepad++.exe, the portable version does have shortcuts.xml there.

    You ignored the context of the discussion: the specific question @guy038 asked was,

    Is is normal that a default shortcuts.xml file is NOT created if absent in current folder ( for a portable version )

    Or, phrases a different way: “if you delete the shortcuts.xml and start Notepad++, why doesn’t it re-create it with default shortcuts”

    So, definitionally, if you’ve deleted the shortcuts.xml from the portable directory, there is no shortcuts.xml from which NPP can read the defaults, since NPP doesn’t have a .model for shortcuts.xml and it has no where else to look. (I was contrasting that to the normal installation, where if you delete the App data shortcuts.xml, NPP can recreate it using the shortcuts.xml in the exe directory)

  • How to remove a language from a srt file?

    3
    0 Votes
    3 Posts
    409 Views
    Md. Mobashir HasanM

    @rinku-singh it’s been long & i forgot for what exact reason I asked. Thanks, anyway.

  • How to set "zoom" level of menu, toolbar and footbar ?

    3
    0 Votes
    3 Posts
    126 Views
    mpheathM

    @Bernard-Schleich-0

    I currently use

    https://github.com/Tatsu-syo/noMeiryoUI

    in Windows > 7 removed settings to adjust fonts in Notepad++ and other programs . In Preferences, General -> Reduce may need to be unchecked for OS settings to be used.

    Size of fonts changed should be modest as larger sizes may not fit in the area allocated in the GUI.

    Microsoft appears to want users to use Scaling instead of the legacy of WindowMetrics.

  • Question(s)

    23
    0 Votes
    23 Posts
    4k Views
    CoisesC

    @mkupper said in Question(s):

    I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.

    Same here. Perhaps I was unclear.

    If I leave the zoom at default and adjust the font size for Default Style to be large enough for me to read easily on my monitor, I would set a font size of 14 or 16 points with Liberation Mono. (14 is bit smaller than I like, 16 is too big, 15 isn’t an option.) Those are too large for printing, though.

    If I set Default Style to 12 points, printing is reasonable. If I then zoom in 3 steps, I’m just about where I want to be to read easily on the screen — without affecting printing.

    The question I was answering was, “Why not just change your default font size?” Because that does affect printing (and, though I hadn’t remembered until I tried just now, also isn’t as fine-grained as zoom).

  • Note++ file location

    3
    0 Votes
    3 Posts
    146 Views
    JE RamirezJ

    @PeterJones, thanks. Of course, it’s Notepad++, a little too fast with the typing and posting of the question.

    Thanks for the paths.

  • How to highlight text?

    12
    0 Votes
    12 Posts
    148k Views
    PeterJonesP

    @Farhan-Yazid said in How to highlight text?:

    Hi, any shotcut button to assign the highlight funtion?

    By default, the Style One Token / Style All Occurrences of Token commands do not have keyboard shortcuts.

    But if you use Settings > Shortcut Mapper, set Filter = style, you can choose any of them and use Modify to set a keyboard shortcut for that token-highlight style.
    1ccdb944-484d-4a28-9bc6-c301a59b0478-image.png

    (In case it’s not clear: Style all using Nth style in that dialog corresponds to Search > Style All Occurrences of Token > Using Nth Style [or the right-click context menu equivalent]; Style one using Nth style corresponds to Search > Style One Token > Using Nth Style [or the right-click context menu equivalent]. And for further clarification: the Search > Mark All that @Alan-Kilborn mentioned 6 years ago is the same as what’s now known as Search > Style All Occurrences of Token)

  • 1 Votes
    34 Posts
    11k Views
    EkopalypseE

    @Denis-Rionnet

    This usually works quite reliably as long as the underlying file system supports it.
    Where are these files stored and which file system is used?

  • Notepad++ funciona en linux?

    5
    0 Votes
    5 Posts
    667 Views
    EkopalypseE

    @ANDRES-MARIANO-MARTINEZ-PEÑA

    Yo sólo utilizo versiones portables, es decir, versiones que no necesitan ser instaladas, sino que simplemente se copian en un directorio.
    Para instalar un paquete de instalación sin entrada, hay que pasar el parámetro /S a setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

    I only use portable versions, i.e. versions that do not need to be installed, but simply copied to a directory.
    To install an installation package without input, you have to pass the /S parameter to setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

  • TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml)

    3
    0 Votes
    3 Posts
    257 Views
    João MacJ

    @PeterJones said in TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml):

    If you look again at the reference you linked, the TranslateID attribute is defined for the contextMenu.xml; however, the <Command> tags in the shortcuts.xml do not have that attribute listed as being available.

    Thus, I do not believe what you are looking for is currently possible. Thus, I think you would have to follow the instructions in our FAQ to put in a feature request to ask the developer to add TranslateID to the shortcuts.xml <Command> tag.

    Hello, @PeterJones.

    I truly appreciate your quick response and such a clear explanation!

    Indeed, upon rereading the documentation I referenced, I realized I misunderstood the use of the TranslateID attribute. It applies to contextMenu.xml, not shortcuts.xml, as I had mistakenly assumed. That was an oversight on my part, and I appreciate you pointing it out so objectively.

    In my case, this was just curiosity based on that mistaken understanding. It’s not something essential for daily use of the application. I’m glad to have learned the actual scope of this functionality.

    Thanks again for your kindness and clarification.

  • 8.8.2 - coming soon??

    5
    0 Votes
    5 Posts
    467 Views
    pbarneyP

    @PeterJones, that’s the holy grail of the daily coding grind: no open issues and fun stuff on the roadmap!

  • 0 Votes
    4 Posts
    292 Views
    CoisesC

    There is an issue about this:

    Search function impracticality #10438

  • [bug] Space not inserted for tabs

    4
    0 Votes
    4 Posts
    321 Views
    Terry RT

    @Coises

    As I read it, it seems that the OP wants their Preference to be updated if they use the Edit, Blank Operations, TAB to Space (or Space to TAB).

    Of course, I too could be confused. The lack of detail does make the OP open to interpretation.

    I’m with @PeterJones on this.

    One is a “Preference”, the other a “one-shot function”. This function should not be making changes to a Preference. And at the moment it isn’t, which I believe to be the correct decision.

    Terry

  • Replace in Files / "Directory" field scrolls right when clicked

    23
    0 Votes
    23 Posts
    6k Views
    fml2F

    @Alan-Kilborn Hehe, “for in much wisdom is much grief”.