• Outcome window

    2
    0 Votes
    2 Posts
    210 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
    223 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
    463 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
    217 Views
    Florent PagèsF

    @michael-vincent Thanks a lot

  • Finding and replacing characters

    7
    0 Votes
    7 Posts
    820 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
    659 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
    249 Views
    Alan KilbornA

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

  • Search word with a large number

    5
    0 Votes
    5 Posts
    210 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
    11k Views
    Hiker GuyH

    @alan-kilborn

    Thanks for that link. Learned something new today :)

  • Analyse Plugin with v8.3.3

    3
    0 Votes
    3 Posts
    1k Views
    Shelley JacksonS

    @peterjones Thanks for the info. Apologies, I should I have checked the plugin first. I’ll keep an eye out for the changes.

    Thanks again for your help.

  • Highlight hit words (search)

    6
    0 Votes
    6 Posts
    2k Views
    Kard NailsK

    @peterjones
    Thank you! That was indeed the case.

  • Search ignoring whitespace

    3
    0 Votes
    3 Posts
    969 Views
    Alan KilbornA

    @jdx-john said in Search ignoring whitespace:

    love if there was a simple “Ignore whitespace” checkbox alongside “Match case” and “Match whole word only”.

    So it would be?:

    ignore whitespace in the Find what expression ignore whitespace in the text that is searched both

    I don’t suppose this might be considered a feature request

    Feature requests are not made here (well, if you want them to be seen by the developers). See HERE for how to make a proper one.

  • Forgot to Save - Lost critical Data after Windows Laptop Restart

    4
    0 Votes
    4 Posts
    573 Views
    Jim OehmkeJ

    If you tried to default the recovery function from the proxmox? If you are searching for good backup options, you can try to download the CCleaner first, clean the registry, and set the backup point.

  • How to disable plugin on startup

    7
    0 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @abhinav-kganan said in How to disable plugin on startup:

    Your suggestion worked actually

    Which one?
    We probably could have given you better suggestions quicker if you’d have elaborated more on what you wanted/needed to do.
    Sure, if all it was was “disable plugins”, then I guess we got you there. :-)

  • How to add an incremenetal number increase but not on every line

    4
    0 Votes
    4 Posts
    331 Views
    Neil SchipperN

    @reddit-mod

    Instructions and sample usage (for a slightly different problem) here.

    If the data you’ve shown is truly the data you’re working with, you can achieve what you want with much simpler techniques. You could start with an empty file, insert a column with ascending numbers, then, either using a macro or a regex F&R, add in the rest of the (multiline) fixed text at the end of each line.

  • Delete Partially Duplicate Lines

    4
    0 Votes
    4 Posts
    590 Views
    Terry RT

    @e-l said in Delete Partially Duplicate Lines:

    .17763.[123456789][0123456789] : deletes within asterix, dot after 17763 is literal, square brackets each pair indicates 1 acceptable character

    There are some issues with the description of your regex. The first wrong belief is that the DOT following the string 17763 is a literal DOT, instead it represents a single character position, whatever that character is. Given you say “do not check . matches newline” then the DOT will not equal end of line characters.
    Second inaccuracy is thinking you need to identify every number within each of your 2 [ ] groups. You can represent these as [1-9] and [0-9] as they are comprised of consecutive characters in each group. If; for example; you wanted to identify [01236789] you would write this as [0-36-9].
    Also be careful with the .* as this is greedy. If your line contains multiple 17763 strings then the greedy modifier will consider the last 17763 string to be the important one. Probably not really a problem here but in other tests you may find incorrect results.

    I think you need to start with basics in learning regex. If you look in our FAQ section you will find posts that will steer you in the right direction. I feel you may need to undo some of your beliefs. Be aware that there are several forms of regex. By reading from our FAQ you will see the one used within Notepad++.

    In the end I suppose what I say may well fall on deaf ears. You have something that (in your mind) achieves the desired result. So good on you for trying it yourself.

    Terry