• 1 Votes
    3 Posts
    469 Views
    G

    @PeterJones said in How to open documents in different windows?:

    Settings > Preferences > Multi-Instance and Date > ☑ Always in multi-instance mode – every time you use Windows Explorer to double-click on a file (or similar) to open it with Notepad++, it will go in a new instance. (This will not change the behavior of File > Open inside Notepad++, which always opens in a new tab, not a new instance.)

    Thanks for the answer.
    Everything works.
    Issue resolved.
    Notepad++ is my favorite text editor.

    Special thanks to you for the clarification about the publication of posts and for additional information on the topic of the question.

  • Networking problem

    Help wanted · · · – – – · · ·
    4
    0 Votes
    4 Posts
    504 Views
    xomxX

    @TBugReporter

    Sounds like the bug I fixed for the v8.7.5, so try to update to any N++ v8.7.5+ (ideally to the latest, as of now v8.8.5)

  • Collapse/Extend switch/case

    General Discussion
    3
    0 Votes
    3 Posts
    4k Views
    francis BaudouxF

    Hello,

    Thanks a lot for your great and swift answer

  • 0 Votes
    2 Posts
    214 Views
    Mark OlsonM

    @kilson69
    Notepad++ does not normally need internet to function, so this is probably due to a plugin or an unusual installation.

    I would recommend that you share your debug info (?->Debug Info... from the main menu) and hopefully a forum regular will be able to use that information to give you more informed guidance.

  • [New Plugin] MultiReplace

    Notepad++ & Plugin Development
    76
    3 Votes
    76 Posts
    46k Views
    Thomas KnoefelT

    A new version of MultiReplace (v4.5.0.30) is ready and will be available with the next Notepad++ release. It can be dowloaded here.

    The focus of this release is on expanding the search functionality and giving you more flexibility.

    Implemented updates:

    Find All: This is a new feature that lets you find all matches and see them in the search results window. It’s not limited to the current file – you can also search across all open documents or in entire folders.

    GroupResults: To go with “Find All,” this new INI option lets you choose how your results are displayed. You can see them all mixed together in document order (the default), or neatly grouped by each list entry, which is great for getting a clear overview of complex searches.

    lcmd: A new command for the “Use Variables” feature. It allows you to load your own custom helper functions from external files, which opens up a lot of possibilities for complex and reusable logic.

    AllFromCursor: Another new INI setting that gives you more control. You can now choose to start “Find All”, “Replace All” and “Mark” operations from your current cursor position instead of from the top of the file.

    Here is a visual take on the changes:
    MultiReplace45.png

  • 0 Votes
    2 Posts
    267 Views
    PeterJonesP

    @Steven-Young_ivanti said in Unattended install not actually executing from a PowerShell script:

    The script line I’m using is fairly straight forward:

    But opens questions, for me.

    C:\Install\npp_setup.exe

    What is this npp_setup.exe? Where did you get it? Is it a renamed copy of the official installer, or some repackaged installer?

    /S ALLUSERS=TRUE

    /S is a valid installer option on the official installer, to enable silent installation; but from anything I’ve ever heard, and searching the repo for ALLUSERS, the option ALLUSERS=TRUE is not understood by the official installer, AFAICT.

    It’s going to be hard for anyone here to help you if you’re starting from some random unknown installer or trying to use options that don’t exist. You might need to give a bit more information.

    The developer doesn’t support unofficial installers, and unless one of the regulars has happened to have heard of / used it, it’s not likely any regulars will be able to help you in the forum, either.

  • 1 Votes
    3 Posts
    192 Views
    T

    @PeterJones Thank you so much!! 💙

  • 0 Votes
    4 Posts
    5k Views
    R

    @xomx
    Note, in above, STR means “Steps To Reproduce”.

  • 0 Votes
    7 Posts
    5k Views
    PeterJonesP

    @Adam-Fradley ,

    Further, if I start from an 8.8.2 portable, with the config.xml modified per my previous explanation, it does see the new version, and says,
    190611e6-3c44-4fe7-8b3c-9dc94014baf8-image.png

    But it DOES NOT start downloading unless you tell it to.

    If you are not getting that dialog, then it’s not Notepad++'s gup.exe updater that is trying to do the download, and you need to look for your culprit elsewhere.

  • 2 Votes
    16 Posts
    10k Views
    A

    New try: Now it works, like you described it. Seems I set it up wrong!

  • 0 Votes
    2 Posts
    195 Views
    PeterJonesP

    @Laura-Pla ,

    If I have a long piece of text in Word and I try to add it to Notepad, it all comes out with strange characters. Is there a possible format that Notepad accepts, so I can format it later, or do I have to retype the entire text?

    This forum is about the application Notepad++, not Microsoft’s notepad.exe app that automatically comes with Windows. If you are asking about the Microsoft app, we cannot help you. But I will continue my response assuming you meant “Notepad++”

    If you copy text from inside MS Word and paste it in Notepad++ , it will properly paste the text. If you open the .docx Word file in Notepad++, then you will see a bunch of weird symbols like ETX and DC4 and NUL , and you cannot copy and paste that and expect that it will be “normal text” – our FAQ explains why it doesn’t work to open a .docx file in a text editor like Notepad++ (short version: because .docx is a binary format, not a text format).

    If this isn’t enough of an answer for you, you will need to provide more details, including the ?-menu’s Debug Info and the exact steps you are taking to copy from Word to Notepad++. Screenshots could also help us diagnose your problem.

  • .Net versions

    Notepad++ & Plugin Development
    6
    0 Votes
    6 Posts
    5k Views
    Guido ThelenG

    @General-Coder
    I had the same issue when I installed a new Visual Studio 2022 and forgot to install the packages for C++ development.
    Regards
    Guido

  • 0 Votes
    4 Posts
    228 Views
    M Andre Z EckenrodeM

    @Ekopalypse

    Thanks much. My bad for even bringing it up, actually, since I already had back in 2021 and was advised about the lambda workaround at that time. Forgot about that.

  • 0 Votes
    4 Posts
    220 Views
    PeterJonesP

    it was Consolas!

    Weird. I have never been able to get Consolas to give ligatures.

    but here is the weird thing - i changed Consolas to JetBrainsMono (love the IntelijIDEA font xD).
    It stopped auto-converting!

    That’s truly weird, because JetBrains Mono has ligatures. JetBrains Mono NL is the version that doesn’t have ligatures (the NL literally means no-ligatures, as far as my research uncovered)

    Now, reverting to Consolar…it no longer changes it !

    Glad you got it to a state you like it. (However, I would actually recommend that you try to get used to the ligatures: those fonts were designed to be monospace even with the ligatures, so it helps your brain parse what you’re reading much easier, even more than just syntax highlighting alone. At first, I was opposed to the ligatures, but I forced myself to try the experiment for a week, and found when I tried to go back that I missed the ligatures. So now Fira Code is my go-to monospace font.)

  • Next generation macro system

    General Discussion
    3
    0 Votes
    3 Posts
    4k Views
    Alan KilbornA

    @Abhay-Miller said:

    just another overhyped promise

    Note in case it isn’t clear, that there were never any promises made, by anyone, for a “next gen” macro system.

    @Victorel-Petrovich seems to be on a one-man crusade to make people think so, however. Not to fault him, of course, because, it’s clear that he wants such a macro system, and to quote an overused phrase, “it’s good to want things”.

    IMO, there’s no need for a better macro system, because scripting plugins have existed for a long time, and are very robust, and eliminate the need for macros of any kind.

  • 0 Votes
    4 Posts
    267 Views
    David FoxD

    @PeterJones said

    mybrowser.exe file:///E:/dwgs/Json/OSM_tag_history/index.html?$(CURRENT_WORD)

    This was the solution. upvote.

  • 0 Votes
    17 Posts
    1k Views
  • TAB like typewriter time

    General Discussion
    4
    0 Votes
    4 Posts
    5k Views
    CoisesC

    @Valtécio said in TAB like typewriter time:

    I will continue trying to find a setting to make this plugin work properly

    At the risk of this sounding like bad-mouthing and self-promotion:

    In my opinion, the current ElasticTabstops plugin is worthless. Three years ago, its creator wanted to take over the name of the existing ElasticTabstops plugin for his new version. The author of the older version conceded that he didn’t have time to maintain it and gave his blessing to the change. The new author then put up one version and promptly abandoned it. Issues are ignored and there is no evidence of any intention to correct its problems.

    In April of 2023 I released a plugin named Columns++. Among other functions, it includes an implementation of Elastic tabstops.

    If you want to try an Elastic Tabstops implementation as a possible improvement to your workflow, I recommend the one in Columns++. You can install it from Plugins Admin. I strongly recommend uninstalling the other one first.

  • AutoComplete XML Problem

    Help wanted · · · – – – · · ·
    3
    1 Votes
    3 Posts
    264 Views
    S

    @PeterJones said in AutoComplete XML Problem:

    Thus, it does not see the # at the beginning as being part of a “word” when trying to auto-complete.

    I thought something like that might be the case but there was always a possibility of user error!

    You’d have to do #PB instead of #P before it would pop up
    Use Settings > Preferences > Delimiter’s

    By default the PureBasic IDE doesn’t show autocomplete before 3 characters anyway so I can’t see an issue there personally, but there’s a workaround for anyone who just can’t live with that.

    I am updating the wording of the user manual:

    Thank you for your amazing response! That’s just what I’m looking for.

  • 0 Votes
    7 Posts
    6k Views
    ?

    @PeterJones said in How dynamic-ID menu commands are executed and relation to macros:

    There is no “universally constant value” necessary for Notepad++ to store for it to be working the way it is.

    And creating a new identifier rather than using menuCmdID is not likely to happen (nor should it, IMO)

    That scheme (even if hypothetical) seems to work very well as long as it’s not a problem that the IDs change when you remove menu entries.
    But we do know that it is in fact a problem for recording macros.
    Here are 2 approaches I can think of (besides the “shut up and hack the XML files” one :) ) :

    A. Constant IDs version

    Still have a linked list to represent the structure of the (dynamic) menus, but whose contents are just the IDs of those commands. Can still be in same range as current IDs, if needed.
    Add a dictionary (hashmap) to map from those IDs to the respective actual commands, or in case of macros - list of actions , as you describe in your post above.
    Npp getting command 20001 for ex, involves looking up in the dictionary - most often a constant time operation.

    Deleting an menu entry involves deleting the respective entry in the linked list and also the ID-value pair in the dictionary.

    In addition to that, to ensure that generated IDs stay within a given range: Several schemes are possible, one of the simplest can be just generate a key in range and test that it is not present in the dictionary.

    B. Dynamic IDs, but synchronized in every saved macro

    Basically, keep the scheme as it is at present, but add a way to update, for each macro, every stored referenced menu command ID in an Action record:
    at every removal of a menu entry, compute how the rest of entries’ IDs would change (if located After those removed, the ID would decrease by one) and traverse the linked list of all macros and update that ID in every action that refers to a menu-command in the range of the dynamic-IDs types (Run, Plugin and Macro commands).
    Thus on Npp closing, the macros written in XML will also contain updated IDs.

    But don’t pretend the niche [for a more powerful macro system ] doesn’t already have a plethora of entries.

    I think there is plenty of room for a macro system to grow in power and STILL be much easier to do a lot of common tasks, than the same tasks in any scripting language.
    Because with macros you don’t have to learn and remember syntax.