• Find BOMs

    Locked Mar 6, 2019, 5:09 PM
    2 Votes
    13 Posts
    7k Views

    @Alan-Kilborn

    it’s my real name.
    unfortunately our family has generations of such strange names.
    my brothers for example are called pikachuh and raichuh.

    here’s a family picture of us:

    Imgur

    😄

    seriously: i got meta as a nick name ages ago, as when i was little, i started to use anything for everything, beyond of what specific items were originally intended, or designed to be used for … and through the years, more and more of doing that actually started to work out, without anybody (including me) understanding why. 😉

  • Select lines

    Locked Mar 6, 2019, 2:27 PM
    0 Votes
    4 Posts
    834 Views

    @guy038 said:

    If you are looking for words, whose one is a subset of another, the longest word must be placed first in the list of alternatives of the search regex !

    So, the regex abc|abcd|abcde would only match the abc string, whereas the regex abcde|abcd|abc correctly matches the 3 strings abc, abcd and abcde ;-))

    I had thought of mentioning that, or coding around that. My thought would have been to include boundaries, ^.*\b(one|too)\b.*$, which would properly find

    This one should be found This should be found by none of the searches, despite o-n-e being inside "none". This too shall pass But not this Works at the end-of-line, too Or even when the end of file doesn't have a newline on this one
  • CSS not updating (Newbie)

    Locked Mar 6, 2019, 4:05 PM
    0 Votes
    8 Posts
    1k Views

    I had given my advice, posted, then saw Alan’s post, so I ninja-edited to obfuscate the off topic information. (I had already spent the time typing it up, and didn’t want to just delete it, so thought the obfuscation would be fun. Besides, it might prompt the OP to ask an on-topic question, which we can answer. :-) )

  • Turn off pop-up

    Locked Mar 6, 2019, 6:22 PM
    0 Votes
    8 Posts
    3k Views

    Thank to you all. I do not think of autocompletion as being via a pop-up. I have been through the preferences menu several times.

  • 0 Votes
    24 Posts
    6k Views

    @guy038
    Thanks so much!
    I have fixed the errors.
    The command of replacment worked fine!
    Thanks a lot for your time
    You are generous!

  • Code Folding Help.

    Locked Mar 6, 2019, 4:03 PM
    0 Votes
    2 Posts
    866 Views

    https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you

    Also, this forum is formatted using Markdown, with a help link buried on the little grey ? in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes ("") to curly “smart” quotes (“”), will change hyphens to dashes, will sometimes hide asterisks (or if your text is c:\folder\*.txt, it will show up as c:\folder*.txt, missing the backslash). If you want to clearly communicate your text data to us, you need to properly format it.

    After you have read the above links, please come back with more details, as well example data that will actually show what you mean – interleaving the data with your question text is super confusing when you haven’t marked it up to show what’s data and what’s not.

  • NppExec F6 not working

    Locked Mar 3, 2019, 10:56 PM
    0 Votes
    12 Posts
    3k Views

    @PaoloRicardo said:

    I presume I must wait for the bug to be fixed before F6 will work as designed?

    No, that’s not what we were saying there at all.

    We said that you could use the Shortcut Mapper to tell you why there was a conflict with the NppExec’s F6 and something else that was also apparently mapped to F6. We strayed a bit into a tangent about how the Shortcut Mapper displays certain items when you have a filter applied, but as my first screenshot showed, the Shortcut Mapper does tell you when there’s a conflict, and tell you where that conflict is, as long as you don’t have a filter applied.

    Since installing 7.6.3 solved your F6 problem (by resetting whatever item conflicted with NppExec’s F6), I mostly posted this clarification so that future readers of this thread won’t think that 7.5.9 breaks the F6 key; it doesn’t.

  • 0 Votes
    5 Posts
    1k Views

    Mata

    The above leads to compilation errors. I have split the Display into two separate statements and have an acceptable result i.e. syntax highlighting is back.

    I realised that I did not have the most recent version of Notepad++ (7.63). Installing this now means F6 correctly brings up the NppExec dialog.

    Thanks for your help.

    Psul

  • 1 Votes
    1 Posts
    325 Views
    No one has replied
  • Notepad++ exit

    Locked Mar 5, 2019, 3:19 PM
    0 Votes
    3 Posts
    954 Views

    @PeterJones said:

    Remember current session for next launch

    Disabling “Remember current session for next launch” and choosing “Simple backup” made it behave in a sensible way.

  • Notepad++ hangs after changing style

    Locked Mar 5, 2019, 12:20 PM
    0 Votes
    14 Posts
    3k Views

    @blackerking said:
    on Windows 10, there are conflicts with Notepad++

  • Wrong encoding?

    Locked Mar 4, 2019, 6:11 PM
    0 Votes
    3 Posts
    13k Views

    @Вениамин-Володарский
    It’s like a compiled script, and the coding has nothing to do with it.

  • 0 Votes
    1 Posts
    485 Views
    No one has replied
  • Why does ₹ appears as □ in npp

    Locked Mar 4, 2019, 6:45 AM
    0 Votes
    8 Posts
    3k Views

    Also, Arial Unicode MS’ wiki page itself says that latest version is 1.01 that was released 21 years ago in 1998, so the characters defined later are not there in it.

  • 0 Votes
    2 Posts
    517 Views

    Hello @zili-Jiang ,

    You can do something like that using Compare plugin.
    If you haven’t saved the modified file yet you can use ComparePlugin’s Diff since last Save command.

    Or you can simply Undo (it will take you to the place you last modified) and then Redo.

  • 0 Votes
    2 Posts
    1k Views

    welcome to the notepad++ community, @Gautier-Andreotti

    Too old, not working anymore?

    source cookifier 0.7.3 will also work on the newest versions of notepad++.

    if you have the installed version of notepad++ 7.6 - 32 bit (not the portable version):
    first please download and run the new version 7.6.3 - 32 bit installer from >>> here <<<, to update your existing version.

    then go to plugins > plugins admin, enter “source cookifier” in the search field, check “source cookifier 0.7.3” at the plugins list, and hit install, as seen at the screenshot below.

    Imgur

    now source cookifier will be installed, as seen at the next screenshot.

    Imgur

    important note: do not use “plugin manager” on a notepad++ version 7.6 and above, as it is not compatible with the newer versions of notepad++, and it would install all plugins to the wrong folder locations.
    only use the built in “plugins admin” on newer versions of notepad++.

    (it is recommended to remove “plugin manager” completely on newer versions of notepad++, as it currently does not work, and it is not known if it will be updated in the near future)

    side note: if you have installed other plugins on 7.6, you will have to reinstall them using “plugins admin” once you have updated to 7.6.3, due to changes of the plugins folder locations.

  • Advanced Search and Repace Question

    Locked Mar 4, 2019, 4:43 PM
    0 Votes
    4 Posts
    819 Views

    @bradsayers

    I would be embarrassed to note my attempts

    never be embarrassed, we (usually) don’t bite ;-)

    anything possibly “embarrassing” we read, will also help us to adapt all guides, like the ones you’ve read, for future and inexperienced users,
    as we (definitively including me) sometimes take knowledge for granted, if we are not constantly fed with such information, and hence tend to forget the times when we started off as freshmen.

  • 0 Votes
    7 Posts
    2k Views

    @guy038 said:

    we could generalize the process

    I REALLY like that regex, however I wonder if it would be worth it as in the OP’s situation it would be a toss up as to whether my regex or your’s is the easier to set up.

    The power (and beauty) of your regex lies with the shortness of code, and I should say it’s generalization. Even if there were say 50 numbers to be used (50-99), your regex still looks good, mine on the other hand becomes unwieldy.

    Thanks for the enlightenment
    Terry

  • 0 Votes
    35 Posts
    16k Views

    @Cary-Korn said:

    Unfortunately I have been unable to get any of the suggested solutions to work. I appreciate all the help. I didn’t think this would be so tough.

    If you still want help, you are going to have to be more specific than that.

    I tested my 2019-03-01T14:22:23.197Z post pretty thoroughly, and it worked exactly as I expected, passing chrome the full URL.

    So, things we will need to know in order to keep helping you:

    What browser do you want the URL to go to? Chrome? Firefox? Edge? IE? Something else? If it’s Chrome or Firefox or , we will need the full path to your browser: you should be able to right click on your browser shortcut (or, if it’s active on your toolbar, right click on the icon, then again on the application name) to get you to the Properties window, and copy the full path there. If it’s Edge or IE, we’ll use the Microsoft-special notation for accessing those browsers. 'coz microsoft. What is the exact version of Notepad++ you are using? Maybe your version is behaving differently than mine it would be easiest if you went to the menu ? > Debug Info > Copy debug info into clipboard, and pasted the results here. what exact sequence did you use when editing the shortcuts.xml? exactly how long is your URL? Did you try my exact circumstance from my 2019-03-01T14:22:23.197Z post, or did you make changes to the URL before saving the batch file? when I did that setup, making sure to save the setup, exit Notepad++, and then reload, it sent the really long URL to chrome properly if you did try this, with the DUMMY URL, how exactly did it fail? (saying “didn’t work” is so generic as to be useless for helping us help you) Did it not try to do anything? If so, where exactly did you save longurl.bat? Did you make the shortcuts.xml point to the real location of longurl.bat, or did you leave it pointing to my location for longurl.bat Did it not open chrome? Did it open chrome and try to go to the full dummy URL, and fail because it didn’t exist? This is what I would expect. In which case, I would say it didn’t fail, because that was the expected behavior. Or did open chrome, but truncate the URL?

    Once I made the batch file, it never truncated the URL on me.

    I just tried 2138 characters in the dummy URL, plus the %1 search string in my batch file, which got replaced by $(CURRENT_WORD) from Notepad++, which was the exact text longurl, and chrome tried to open that page with the full 2144 character URL; because that machine doesn’t exist, chrome told me this site can't be reached, but it actually tried to go there, and the full URL was in the browser bar. If I change my batch file to

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://www.google.com/search?ie=UTF-8&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&sen=012&q=%1" pause so that it’s going to a valid website (google search), a total of 2106 characters plus the search string long, plus has a pause so that a cmd.exe window stays open until you hit enter or space or something, I saw the full URL in the cmd.exe window, I saw the full URL in chrome, and chrome went to the google-search for the word (longurl) that I highlighted when I launched

    Do you see how detailed I was when trying to help you? If you are detailed when responding to our help, it will be easier for us to help you.

    Please answer all five of those questions. Also, tell me an exact path where you are willing to save longurl.bat. With those five answers (detailed), and with an exact path, I should be able to craft something that works for you. I will start with the big long dummy google search, so that you know it’s really working… but after that, depending on how much info you give, I might be able to help you convert the URL closer toward what you want in real life.

  • bold text everywhere

    Locked Mar 3, 2019, 6:00 PM
    0 Votes
    7 Posts
    17k Views

    @PeterJones

    I think I figured it out, thanks