• sorting data atoz

    2
    0 Votes
    2 Posts
    242 Views
    Alan KilbornA

    @matthew-carpenter

    Well, it really isn’t a reasonable expectation for a text editor to do such a thing.
    A better way is to have a keycombo run a command or a macro to perform the action on demand (as opposed to automatically).
    If this is agreeable to you, you can certainly find appropriate commands for sorting on the Edit > Line Operations submenu.

  • Code folding help

    5
    0 Votes
    5 Posts
    465 Views
    PeterJonesP

    @vindicit ,

    If it works for you, that’s the important thing. I always keep the pairs in the same order, so I would have said OPEN = "begin object" "attributes beg" macro and CLOSE = "end object" "attributes end" end so that the object-pair were the first tokens in each, the attributes-pair were the second tokens in each, and the macro-pair were the third tokens in each. But that doesn’t seem to be required.

  • Not able to install XML plugin

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @nup-bakshi ,

    Reposting the v7.9.5 announcement/change-log doesn’t help us understand the problem that you are having. If you need help, you need to use your own words to describe your problem.

    If you are saying that you have v7.9.5 and XML Tools plugin will not install, you will have to explain the sequence that you are using to install it, because “1) Open Notepad++ v7.9.5; 2) click Plugins > Plugins Admin; 3) checkbox XML Tools and click Install; 4) wait for Notepad++ to restart” is the only sequence you need to get XML Tools correctly installed in v7.9.5.

  • Notepad++ 8.4 Crashes opening XML files

    8
    0 Votes
    8 Posts
    2k Views
    brianb1510B

    @rdipardo I have found the problem plugin.
    It was version 1.4.3.1 of ColumnTools.
    I updated to version 1.4.4.1 from

    https://github.com/vinsworldcom/nppColumnTools/releases

    and the XML files open with all the rest of my plugins loaded,
    including XMLTools.

  • XMLTools: Access Violation

    3
    0 Votes
    3 Posts
    3k Views
    Mats KøberM

    Issue is solved in the newest version: 3.1.1.13

  • partial file saved with large file modification

    2
    0 Votes
    2 Posts
    247 Views
    Alan KilbornA

    @ydzdfci

    Perhaps best to try the operation sequence again with NO plugins at all?

  • Recent file history

    23
    0 Votes
    23 Posts
    16k Views
    Alan KilbornA

    @peterjones

    I’m not a big user of it, but for the times where I do want to run multiple “instances”, I have a completely separate “portable” version set up, and I get to it via a couple of Run menu entries from my main “instance”:

    8a0e7162-8f10-487b-ade7-2e8d41822d76-image.png

    This doesn’t have any of the typical multi-instance problems you cite, but it has the disadvantage of some overhead (a separate copy of Notepad++, creation of Run menu entries, …)

  • Outcome window

    2
    0 Votes
    2 Posts
    231 Views
    PeterJonesP

    @eva-forsgren ,

    The answer to that previous question hasn’t changed since November 2020 – and it never will, because Notepad++ is a text editor. There are possible preview plugins (Preview HTML for HTML/web preview; Markdown++ for Markdown preview; and a plethora of ways to compile-and-run programming languages so that their results show up in a panel inside Notepad++). But if all you do is link to another question, and don’t even bother expanding with the details that were requested of the original poster two years ago, we cannot say any more than we did the last time.

  • Shortcut not working as expected

    6
    0 Votes
    6 Posts
    2k Views
    raicheaR

    @peterjones Thank you!

    Appreciate the effort you’ve put in. I tried the portable version and found the key combo still didn’t work so, as you said, that points to an external hijack.

    I was planning to start the process of elimination following that failure but, the first time (and only the first) I tried Ctrl-Alt-C in the portable NPP, I noticed a very brief disturbance somewhere else on my display and I recognised the source of it. I use a program called MyPhoneExplorer to manage data on my phone and it looked like a progress dialog from that - lasting well less than a second, I would say. When I checked all the settings for that program, I found it has allocated Ctrl-Alt-C for copying selected text to the phone’s clipboard - I wasn’t even aware of that feature.

    Once again, many thanks for helping me find the culprit!

  • Session backups not working

    7
    0 Votes
    7 Posts
    3k Views
    PeterJonesP

    @mr-brunes said in Session backups not working:

    and the intended use case documenting.

    How is the FAQ in this forum, plus the huge number of notes in the backup section of the user manual describing exactly what the “session snapshot and periodic backup”, not sufficient “use case documenting”?

  • PHP to HTML

    2
    0 Votes
    2 Posts
    246 Views
    PeterJonesP

    @david-smith-1 ,

    You can edit the source code of your PHP file, and remove any PHP commands you want, and type in the HTML. So yes.

    But I doubt that’s what you’re really asking. There is no magic command in Notepad++ to “search for all PHP and translate it to static HTML”.

    You can do search-and-replace for specific pieces of PHP and replace with the equivalent static HTML. But Notepad++ cannot tell you what those are. Sorry, that level of cutting edge AI hasn’t made its way into our favorite text editor.

  • Go back to previous version of Find window

    8
    0 Votes
    8 Posts
    499 Views
    Alan KilbornA

    @Gor-Abgaryan

    can I change the text following the step you mentioned?

    Yes, but it won’t solve your original problem:

    where Search backwords button is the same size as Search afterwords button?

    because, as Peter said:

    although you can change the text, the localization files do not change the width of the buttons

  • How to use keyboard to get text from autoscript

    3
    0 Votes
    3 Posts
    236 Views
    Florent PagèsF

    @michael-vincent Thanks a lot

  • Finding and replacing characters

    7
    0 Votes
    7 Posts
    865 Views
    2 mins Summary2

    @peterjones Thank you very much

  • Download link that doesn't change with new versions ( For app deployment)

    6
    0 Votes
    6 Posts
    723 Views
    PeterJonesP

    @andreas-b-jensen said in Download link that doesn't change with new versions ( For app deployment):

    what is most important, outdated software with possible security holes or short disruption to employees?

    That is really up to the organization, not an outsider like me.

    But in my experience, with Notepad++, there has only been one group of changes that were security related – that was the EU-FOSSA batch in v7.6.3. Notepad++ is not primarily an internet-facing or internet-interfacing application, so most “security” issues don’t affect Notepad++. So, for Notepad++ updates, if I were in charge of distributing to a group of users, I would prioritize doing a quick check to make sure that the end-user experience wouldn’t be disrupted, over getting the newest update to the end-user ASAP.

    But it sounds like you have good ideas for how to implement things within your system; that’s great! Good luck.

  • Open .mlg extension?

    6
    0 Votes
    6 Posts
    1k Views
    J.M. VannJ

    Thanks everyone. That’s a very helpful explanation. Looks like I’ll need to find another way to try and access the files.

  • Wine only opens Notepad++ as [Administrator]

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @myfirstnameispaul ,

    somehow Notepad++ has reverted to essentially a brand-new install, so no settings, sessions, nothing.

    It may be that you just have to start reconfiguring from there.

    But you can try to share your ?-menu’s Debug Info, and we can see if we can point you in the right direction.

    But we are not experts on Wine here, so we won’t necessarily know how to map concepts from Windows to Wine: For example, is /home/username/.wine/drive_c/users/username/Application Data/ the Wine equivalent of c:\ProgramData\ ? Or of c:\users\username\AppData\ ? Or of c:\users\username\AppData\Roaming\ ? Or of c:\users\username\AppData\Local\ ? Because which of those it’s the equivalent of will determine whether your config files are in the right place. Under supported Windows OSes, the Notepad++ configuration goes under %AppData%\Notepad++, which is usually c:\users\username\AppData\Roaming, not the c:\users\username\AppData\ that most people misinterpret the %AppData% as meaning. So if /home/username/.wine/drive_c/users/username/Application Data/ is exactly equivalent to c:\users\username\AppData\ , then your Notepad++ is not in the right directory, and it should be c:\users\username\AppData\Roaming\Notepad++\ … But that’s a big IF, that we cannot answer.

    And maybe run Settings > Edit Popup ContextMenu, and see what the path is of the contextMenu.xml that it loads – because that should be the location where all your other config files go as well.

  • processing urls

    3
    0 Votes
    3 Posts
    268 Views
    Alan KilbornA

    355b349e-5ee8-4b26-a2fc-8ad7cf9b5cfb-image.png

  • Search word with a large number

    5
    0 Votes
    5 Posts
    238 Views
    V

    @alan-kilborn Ah okay, yes its very simple, sorry haha. Thank you so much :)

  • Change from uppercase/lowercase using

    13
    0 Votes
    13 Posts
    13k Views
    Hiker GuyH

    @alan-kilborn

    Thanks for that link. Learned something new today :)