• 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
  • How to set "zoom" level of menu, toolbar and footbar ?

    2
    0 Votes
    2 Posts
    66 Views
    PeterJonesP

    @Bernard-Schleich-0 ,

    As far as I know, there isn’t currently a way to change the zoom (or the font size) of the menu, toolbar, and statusbar. In general, the font size of those menu elements is controlled by the OS.

    Notepad++ Developers and volunteers are working on improving the HiDPI behavior, but the general idea is that on high density displays, the OS should be set to 150% or 200% or similar, and I don’t know that the HiDPI fixes will allow the size of those textual elements to be modified by Notepad++ settings.

    for toolbar, it is possible to use bigger icon but proposed icons are too big and their sizes are not customable. Why not use SVG to allow fine zoom ?

    Notepad++ supports 16x16 or 32x32. other sizes is not as simple as “why not use SVG”. You can literally make .ico files have any dimensions you want – and actually have the same .ico contain copies of the image in multiple sizes, so you could set up a .ico file to have 8x8 and 16x16 and 24x24 and 32x32 and 256x256 if you wanted. But making use of those inside the Notepad++ code is another matter, and might be difficult to implement. (However, I would guess that making use of different .ico icon sizes would be signficantly less work than trying to rewrite the entire toolbar system to use SVG – I highly doubt that the built-in Win32 API calls have any way to directly use SVG data on a graphical element like a toolbar, so the NPP code would have to essentially do wrappers to convert the SVG to something that could be used by a normal toolbar control, which is a lot more work, and really not worth it, since .ico already have multiple sizes available.)

    BTW: there are multiple existing feature requests for such things, such as this request for dialog and menu font size setting or this request for HiDPI toolbar icon choice, so the developer is aware that people want such things.

  • 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
    113 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
    147k 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
    638 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
    248 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
    444 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
    286 Views
    CoisesC

    There is an issue about this:

    Search function impracticality #10438

  • [bug] Space not inserted for tabs

    4
    0 Votes
    4 Posts
    314 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”.

  • Import AutoHotKey.XML into NotePad++

    3
    0 Votes
    3 Posts
    277 Views
    PeterJonesP

    I see that a GitHub user @paulm31 is submitting a AutoHotKey_V2.udl.xml to the User Defined Languages Collection in PR #324 – I have to assume that’s related to this post, even if it’s not you, given the timing.

    That PR is merged, and CollectionInterface shows the AutoHotKey_V2.udl entry for me.

  • 9 Votes
    37 Posts
    10k Views
    Lycan ThropeL

    @Coises said in Config Files Need Updating, Too:

    For what it’s worth, as the author of Controlled Auto-indent, I can guarantee it was the culprit. It could crash under other circumstances, too, having nothing to do with ConfigUpdater; I just hadn’t hit one of them, and if anyone else did before you, they didn’t report it.

    I appreciate that, and I’ll go ahead and download it and test it against the old and new versions of ConfigUpdater. I’ve already downloaded, but not installed the new version of CU yet.

    Update: It works fine under the old CU and the new CU. I tried it with CAI enabled and not enabled, and the CU ran through everything, so the crash condition from CAI appears to be gone. Glad I could help find that edge case, unknowingly. :-)

  • Advertising on the official download page?

    7
  • About the N++ v8.8.1 release...

    2
    2 Votes
    2 Posts
    418 Views
    L

    @guy038 Excellent! Thanks for the lists…

    By the way, after months of trying all sorts of tricks to successfully encode the ÿ character to Hex in a UTF-8 encoded page, I realized that I had to initiate a Windows-1252 page first. And then it successfully converted the PNG to Hex. lol.
    The NUL bytes (\x00) were problematic as well because unless they get loaded into a raw binary state, they usually get converted to spaces (20) . So I get it now. ITS A TEXT EDITOR! … but at least Windows-1252 gives me a work-around for bytes 0x00–0xFF
    And then of course there’s Base64 to save the day!

    Lastly, I copy and paste a lot of binary content , so thanks for IDM_EDIT_COPY_BINARY 42048

    Cheers
    Lance

  • verbesserungsvorschlag

    2
    0 Votes
    2 Posts
    253 Views
    PeterJonesP

    @Alexander-Huckel ,

    Sorry, I am not sure about the automatic translation of your question: do you mean auto-correction, where it fixes spelling? Or auto-completion, where it helps you type programming keywords or other terms already found in your document?

    The latter is native to the app, described https://npp-user-manual.org/docs/auto-completion/ in the manual , and controlled by the settings described https://npp-user-manual.org/docs/preferences/#auto-completion

    Spelling correction is not implemented natively in Notepad++, but the DSpellCheck plugin is highly recommended for doing spell check and suggesting corrections.

  • How to disable the suggestions

    4
    0 Votes
    4 Posts
    499 Views
    Lycan ThropeL

    @Sergio-Bonfiglio ,
    Sorry, don’t have the time to research and provide an answer that is obvious after reading the documentation.

  • Insert sequential numbers at start of lines

    32
    0 Votes
    32 Posts
    14k Views
    deleeleeD

    @Alan-Kilborn said in Insert sequential numbers at start of lines:

    editor.replaceLine(line_nbr, '{n}) {c}'.format(n=chr(96+running_line_nbr), c=line_content))

    Thank you! I had tried editing that line myself but I didn’t quite get it right. It’s all good now thanks to you 😁