• Find and delete

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    Terry RT

    @Dwaine-Maggart

    Glad it was easily solved. You are starting to see the power of ‘regex’, over a ‘normal’ search mode. Normal will only allow for static information, whereas the ‘regular expression’ mode is essentially a formula created in such a way as to seek out those character patterns (even if changing). In ‘normal’ mode the \ is just a backslash and R is just a capital R. BUT, when you combine them under ‘regular expression’ they become a metacharacter, basically a ‘bit of code’ to mean something special to the regex engine. Under ‘regular expression’ mode we’d need to have \\R if we just wanted a backslash followed by a capital R. The first \ identifies what follows as being special (only certain characters can be special), however in this case because the second \ is already special it allows for it to become normal again.

    Good luck and be sure to ‘seek’ out some of those supporting websites (and books) to learn more about “The Power of Regex” if you want to get better at it.

    I was where you are now about 8 months ago, I’m still learning. There are many helpful ‘citizens’ on this forum who will also help. All we ask for is that you (the OP) give us enough information to help us to help you, and also we hope it will lead you onto learning more.

    Terry

  • regex working on net page is not working in npp

    Locked
    10
    0 Votes
    10 Posts
    3k Views
    V S RawatV

    yes, it could find the correct part.

    /\K[^/]*(?=/[^/]*$)

    Thanks a gig, dear sir. :-)

  • 1 Votes
    4 Posts
    2k Views
    PeterJonesP

    Ah, right. I misunderstood the old thread: I thought that as of v6.8.8, it wasn’t supposed to be blocking the rest of Notepad++… but now that I re-read that, the original complaint there was that it was always-in-front, even if you tried to pull a different application in front to use.

    I agree, it does seem to be designed such that a find-in-files blocks all other Notepad++ actions, and so it wouldn’t be a bug, it would be a feature request. Though, as you say, github issues don’t inherently distinguish between the two, except by tags.

    I hadn’t looked to see if there were already open issues on the topic; I just thought if the OP wanted to make an issue of it, that previous issues should be checked to avoid duplicates.

  • 2 Votes
    8 Posts
    3k Views
    Meta ChuhM

    @luedi

    i’m glad you got notepad++ running again. 👍
    thanks for reporting back.

  • Add Micrisoft Edge to launch new *.html productions

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Meta ChuhM

    welcome to the notepad++ community, @Leo-de-Vetten

    you will need a little guide, because microsoft edge is a bit tricky.
    it can not be launched directly by running microsoftedge.exe "path_to\yourfile.html" as it is done using internet explorer, firefox and chrome.
    instead we will have to make shell api calls.
    but that’s not difficult, once you’ve read this guide.

    step by step guide - how to add “launch in edge” to notepad++:

    open the folder %AppData%\Notepad++\ in explorer

    find the file shortcuts.xml and open it in notepad++ for editing.

    copy the following line and paste (insert) it anywhere inside the <UserDefinedCommands>section

    <Command name="Launch in Edge" Ctrl="yes" Alt="yes" Shift="yes" Key="69"> shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge $(FULL_CURRENT_PATH)</Command> now your shortcuts.xml should look like the screenshot below (plus your ie and other user defined commands):

    Imgur

    save shortcuts.xml and restart notepad++
    (exit and reopen notepad++ to activate your shortcut changes to the run menu)

    if you now run “launch in edge” on any file, edge will open and display it, as seen at the screenshot below:

    Imgur

    note: you can also use the keyboard shortcut ctrl+alt+shift+eto launch edge with your file

    good luck and happy html coding 😉👍

  • Notepad++ is gone from the Windows Alt+Tab list

    Locked
    3
    0 Votes
    3 Posts
    885 Views
    V S RawatV

    It is appearing in my w8.1-64 with npp 7.6.2 though I have replaced windows alt tab with vista switcher.

    vista switcher screen shot

    Thanks.

  • file associations (file types to open with npp)

    41
    2 Votes
    41 Posts
    9k Views
    patrickdrdP

    well, thank you very much, you found the problem!

    which was in deleting the whole

    ...\FileExts\.txt\

    I was able to maintain my machine code too,
    here is the new version (final I hope) with my associations,
    anyone can adjust it to his needs of course of replace HKLM to HKCU if he wants:

    https://textuploader.com/1awwn/raw
  • Find/Replace then delete spaces

    Locked
    8
    0 Votes
    8 Posts
    1k Views
    PeterJonesP

    I started that boilerplate because if you just link to the FAQ’s, people tend to ignore the links, but if it’s got some context, you might convince a couple people to actually follow through and read the FAQ(s). But I got tired of rephrasing the same thing every time, so made up my boilerplate to paste in. Feel free to use it – it’s basically a pastable FAQ.

  • Keep line endings on paste (no LF to CRLF or CRLF to LF)?

    Locked
    6
    1 Votes
    6 Posts
    11k Views
    Meta ChuhM

    and thanks for the thanks from teacher to alumnus 😃👍

    side note:
    it feels nice to get a thanks from a teacher (peter) to a student (me)
    hope the who is who didn’t get mixed up in it’s context above.

  • bug in encoding (greek) in 7.6.3

    Locked
    9
    0 Votes
    9 Posts
    2k Views
    patrickdrdP

    thanks for the suggestions,
    I’m having similar problems on android with an app I use to log my sms messages,
    some text is unicode and some is not I guess,
    because if I select unicode some part is recognized, but not all of it,
    the same if I reverse it, I contacted the app developer and he said that it’s not one of his priorities (to fix it) now, so there is an issue in general

    as for the xml file, the problem started from the fact that I couldn’t send the file as an email from my work’s desktop to my mobile (it was rejected by exchange server - only mail I have access to - I’ve still haven’t figured out why… anyway…), so I opened it, I copied the content, I pasted it on github and then I opened my mobile browser and I got the text from github, somewhere on the whole process greek characters broke

    I opened the file from the disk now and it is utf-8-bom, but it didn’t matter I guess

  • Windows Installer

    Locked
    1
    0 Votes
    1 Posts
    455 Views
    No one has replied
  • periodic backup gets disabled with multiple instances - why?

    Locked
    9
    1 Votes
    9 Posts
    2k Views
    Eko palypseE

    @Mark-Wevers

    Let’s consider the following scenario.
    You create a file A.txt and save it.
    Your backup solution, whatsoever it is, needs to know that it needs
    to backup that file. Normally this is done by using either a command
    to back it up or by using some kind of scheduler which executes such
    a command in a cycle.

    What happens if the backup tries to save the file.
    It opens the original file, reads it, closes it (hopefully)
    opens the backup file and tries to write what has been read before.

    Now what if the pc gets shutdown in between the step of opening
    the backup file and trying to write it - file gets corrupted.

  • How to change/convert the format of a timestamp?

    Locked
    38
    1 Votes
    38 Posts
    11k Views
    PeterJonesP

    Thank you, @guy038. I had been trying the notation similar to (?(1)00:01) in the replace, rather than (?{1}00:01), which is why I wasn’t able to get the conditional to work right.

  • 0 Votes
    7 Posts
    892 Views
    Alan KilbornA

    @V-S-Rawat

    OMG, I thought you were talking about something within Notepad++! Like a file-reload prompt or something!!

  • Open dialog with Wild-Card, can it be disabled?

    Locked
    3
    0 Votes
    3 Posts
    583 Views
    Matthew Reed105M

    Dude! That works - that completely works!

    Thanks you SO MUCH!

  • .r file association messed up

    7
    0 Votes
    7 Posts
    8k Views
    Meta ChuhM

    @Alan-Kilborn

    hehehehe 😂😂😂 nice … second made my day of the day 👍👍👍
    such a good day, that i barely think about why metations or alanations don’t sound as profitable 🤪

  • NppFTP Files won't refresh

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    Meta ChuhM

    @PeterJones said:

    funny-looking text

    made my day 😂👍😂 best description ever.
    i confirm that you can always (*) open a jpg as binary text representation in notepad++ and upload it via nppftp. nppftp will analyse the content and change to 8 bit binary type i automatically.
    ( * disclaimer: my always means: at least every time i did this, it worked ;-) )

  • User defined language files

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Eko palypseE

    @Bart-Tecter said:

    did you check one of those files?

  • Mono Instance) mode does not use launching user

    Locked
    2
    2 Votes
    2 Posts
    495 Views
    PeterJonesP

    That is a reasonable suggestion.

    If you want to increase the chances of the developer noticing this suggestion and possibly implementing it in a future release, you can follow the instructions in this FAQ to add a feature request in the official issues-page.

  • Move forward to x64

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @Arash-m ,

    “bold” isn’t quote the word I would use, because all the text is identical size/boldness for the 32bit and 64bit.

    But yes, the 32bit is listed first (that could arguably be caused by “alphanumeric sort”) and 32bit has the big download icon, whereas the 64bit just has the textual links – so it does seem to emphasize / encourage 32bit download over the 64bit download.

    If you want to improve the chances that the developer will notice your suggestion, follow the instructions in the FAQ for adding an issue to the issues page.