• Bug in contextMenu.xml

    Locked
    4
    0 Votes
    4 Posts
    683 Views
    Meta ChuhM

    @bege10

    If that procedure leaves an unchanged old contextMenu.xml the installation is not correct at this point.

    yes, you are correct.
    the reason is, that the notepad++ installer/updater will not replace your existing contextMenu.xml.

    this is by design and works correctly, as it would otherwise remove any customised context menu settings, every time a user makes an update.

    note: you will always find two different copies of contextMenu.xml on an installed version of notepad++.
    one at %AppData%\Notepad++\contextMenu.xml which contains user customisations, and one template at %ProgramFiles%\Notepad++\contextMenu.xml which contains all new changes of the latest update/install, allowing you to compare it to your personal contextMenu.xml.

  • New to Notepad++

    Locked
    4
    0 Votes
    4 Posts
    658 Views
    Meta ChuhM

    @triplel55569

    if @Alan-Kilborn is correct, then you will have to edit your shortcuts.xml file:

    on installed versions of notepad++ (not portable versions) the correct location of your shortcuts.xml is: %AppData%\Notepad++\shortcuts.xml
    (this alias will lead you to C:\Users\YourUserName\AppData\Roaming\Notepad++\shortcuts.xml)

    choose file > open at the notepad++ menu.

    paste %AppData%\Notepad++\shortcuts.xml into the file name input field and hit open to open your shortcuts xml.

    paste/insert one or more of the following lines in the black area, anywhere into your <UserDefinedCommands> area:

    <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox "$(FULL_CURRENT_PATH)"</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore "$(FULL_CURRENT_PATH)"</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command> save shortcuts.xml and restart notepad++

    now your run menu and your shortcuts.xml should look similar or equal to this screenshot:

    Imgur

    please report back if it works for you.

  • Refresh search in files result

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    Alan KilbornA

    But it would be nice, IMO, to have a couple of choices:

    “Quick refresh” - run the exact search again only on files that were originally hit “Full refresh” - run the exact search again on all files currently meeting the filter criteria
  • Backup Not Work - 3:04:45 PM, Sunday, January 13, 2019

    5
  • Theme setting required similar as in Homepage

    Locked
    2
    0 Votes
    2 Posts
    447 Views
    Meta ChuhM

    @Pardeep-Malik

    the style you see at https://notepad-plus-plus.org (see picture below) is the default style of notepad++.
    the green border is a windows setting and has to be set at your windows preferences.

  • 0 Votes
    12 Posts
    2k Views
    Przemysław RykP

    Well - whil having only one panel displayed I choose View -> Zoom - > Restore default zoom. Text is displayed at the same scale factor, but after cloning to second panel it finally isn’t zoomed up. :D

    Thank you guys once again. :D

  • Connection with Google Cloud Computer Engine + NppFTP

    4
    0 Votes
    4 Posts
    722 Views
    PeterJonesP

    What error does NppFTP show? If you aren’t seeing errors, go to the far-right icon of the NppFTP window and show messages window.

    If it’s the kex error, you might want to see this old post which gave more details about it, and another for the workaround that I often use, having FileZilla drive the file transfers, and just telling FileZilla to use Notepad++ as the editor.

  • Notepad++ as a literal scratch pad

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Eko palypseE

    But this is normal and expected behavior.
    If you open a file, which gets still written by other applications and
    YOU change something in the internal npp buffer, how should
    npp know which part is the correct one?? Your changes?
    The changes from the other application?
    Did I miss something?

  • Notepad++ 7.6.3 hates everybody!

    4
    1 Votes
    4 Posts
    935 Views
    Meta ChuhM

    you’re very welcome, @Max-RedHoodWolf-White

    i’m glad you’ve got all of the plugins back.

  • Remove blank (empty) lines

    12
    0 Votes
    12 Posts
    83k Views
    Andrew Bruce-Chwatt144A

    Thanks all for your help - a couple of no so very obvious tips for dopes like me.

    Don’t be surprised if the Notepad++ 32bit x86 that you installed to get TextFX working automagically transforms itself to Notepad++ 64bit x64 and nice new TextFX disappears. Most peculiar - may have something to do with an update? Never seen that sort of behaviour before and no, I have not been eating magic mushrooms and I know where my apps and stuff live.

    Download the 64bit version of NppTextFX.dll as above, but WAIT!
    First of all you’ll have to create a nice new little folder called NppTextFX for NppTextFX.dll to live in. Now you can put the 64bit version of NppTextFX.dll in its own little folder and all will be happy. Just plonking it in the Plugins folder don’t work.

    Thanks everyone!

    abc

  • how to put parentheses in the first three numbers?

    Locked
    4
    0 Votes
    4 Posts
    869 Views
    Terry RT

    @PeterJones said:

    With data like

    Thanks Peter, I was trying to cover as many variations as possible, forgot the ‘very first’ character one. It got me to thinking if perhaps I might have over complicated it a bit.

    A couple of minutes work with your ‘data like’ example I got all the required numbers using:
    Find What:(\d{3})(\d+)*
    Replace With:\(\1\)\2

    (432)1 trevor(345)6 never website (345)678 (123)4 trevor(345)6 never always (782)6242 (123)

    It seems I don’t need to force the regex to check for a ‘word boundary’ (change between digit and ‘other character’) as it does it itself with the remainder of the regex. So just discarding the first option does not appear to change the outcome.

    Cheers
    Terry

  • MS Notepad type goodies - Mimic .LOG and F5 for time stamps?

    3
    0 Votes
    3 Posts
    691 Views
    Career ScarceC

    Thanks, some good leads there and I don’t think I would’ve found them otherwise.

  • Tabs with html documents scroll when switching

    5
    0 Votes
    5 Posts
    1k Views
    Wolfgang DuehrkopW

    Hello Meta,
    thank you for your detailed information!

    The workaround works as indicated, but becomes confusing when dealing with multiple documents. I have now looked at GitHub, the topic has been raised several times. If I read that correctly, the bug should have been fixed in the previous version, but I do not really see through the mess. So first of all I leave everything in the old and wait.

    A nice upcoming weekend

    Wolfgang

  • 0 Votes
    3 Posts
    2k Views
    Stefan KarlssonS

    Thanks!

  • Not changing "|" to tabs when importing .txt

    Locked
    5
    0 Votes
    5 Posts
    748 Views
    João CairesJ

    It just worked… I think I was importing the wrong file xD

    Thanks for the help guys!!

  • SVG syntax highlighting

    7
    2 Votes
    7 Posts
    4k Views
    Adriano ElleroA

    cool thanks for the effort

  • 0 Votes
    10 Posts
    3k Views
    Terry RT

    @Giambattista-Benacchio said:

    Saluti e molte grazie per la collaborazione

    I thank you, and also commend you for finding an improvement on my solution. I might have to borrow that idea for any future requests.

    In step#1 you say the occurrence MUST be at the beginning of the line. Not necessary if you know how to search for text within a line. In normal search mode just type the occurence to search for, it can be anywhere in the line. In regular expression mode the same can be true, however you can also be more selective using other search patterns to exclude some possibilities if required.

    There are possibly some improvements to your step#4. Instead of \d\d\d\dX you can write this as \d{4}X. This means 4 of a single digit. If however this number could be larger than 4 digits, also consider \d+X which means as MANY digits as possible followed by a X (so 5X, 01X, 2304X, 1234567890123456789X etc). This is the ability available in the regular expression.

    Terry

  • Markdown: Link to open a local File

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    It appears that the author(s) of MarkdownViewer++ didn’t choose to implement local/relative links inside the MarkdownViewer++ pane. (Note that external URLs in the MarkdownViewer++ pane go to your default browser, and are not rendered in the MarkdownViewer++ pane, so it already decided against following and rendering external links in the embedded pane.)

    The intention of the plugin is stated as “to view a Markdown file rendered on-the-fly” (quoted from MV++ homepage), rather than to be a fully-featured on-the-fly Markdown browser. It makes sense to me, in this design, that it wouldn’t change what’s in the viewer-pane, because the MarkdownViewer++ pane is a live rendering of the active markdown file in the active Notepad++ editor pane – and by rendering a different page there in the viewer pane than is active in the Notepad++ editor pane, it would confuse me as a user.

    However, if you want to look through the open issues for MarkdownViewer++, you can see if someone has already asked for that feature; if not, you may submit your own request there. No guarantees that it will be implemented if asked for (if I had a vote, I would vote against it), but maybe the developer will agree with you rather than me, so it might be worth a try.

  • XML Manifest error for IRS ACA - HELP!

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    Meta ChuhM

    @Alan-Kilborn

    might be to you, but i guess it’s due to linguistic differences.
    to me, inappropriate has the meaning of obscene, rather than misplaced.

  • fixed width font for special txt files

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Terry RT

    @cavelamb

    There are some past postings which border on the area you refer to. i don’t personally use UDL (user defined language) or alter the fonts at all but hopefully these posts can enlighten you a bit.
    @PeterJones :
    https://notepad-plus-plus.org/community/topic/15988/language-not-being-saved-with-file
    and
    https://notepad-plus-plus.org/community/topic/16889/changing-font-size

    @guy038 :
    https://notepad-plus-plus.org/community/topic/12104/need-help-to-find-different-font-in-same-text-file-through-notepad/2
    and
    https://notepad-plus-plus.org/community/topic/16474/please-tell-me-how-to-display-ipa-characters-properly-with-a-monospace-font/2

    Have a read there and maybe there might be some good info to help you.

    Terry