• 0 Votes
    14 Posts
    2k Views

    @Karsten75 said:

    this issue does not occur with N++ 7.6

    Thanks for the extra data point. However, I would recommend against the original 7.6 (no sub-version) for a long-term solution. It had some pretty major bugs in it. v7.6.3 is the first of the 7.6.x series that was reasonably stable; I’d recommend using that one for now (assuming the bug isn’t present there). (I would normally have suggested 7.6.4, but that’s where the multiple UDL files were introduced, and I’m sure it was that feature that accidentally messed up the UDL import.)

  • 0 Votes
    12 Posts
    1k Views

    @PeterJones said:

    Meta, how do you see what the original text was?

    @Meta-Chuh YEA! How about it Meta??

  • 0 Votes
    2 Posts
    423 Views

    @Mark-Finlay

    Sorry, not reasonably possible.

  • 0 Votes
    6 Posts
    1k Views

    Hey, thanks for the upvotes, now I think I can post freely! ;)

    I’ll find out in a few seconds when I post my hilarious finding. :)

  • 0 Votes
    6 Posts
    3k Views

    @PeterJones

    Actually, I wouldn’t normally have made it a one-liner…except the “answer” here inspired the one-liner-ness. :)

    I think lambda examples with replace are in the Pythonscript docs/examples.

    And _ isn’t really a throwaway variable, technically. It’s just a one-character variable like a or b.

    See? No big mysteries. :)

  • 1 Votes
    7 Posts
    5k Views

    @Travis-Vawser said:

    Got rid of the pesky “H”, and now it works perfectly

    Glad it works for you now.

    I tried to submit a comment to the posted blog entry, but it rejected my first two attempts as spam, and claimed to accept my third, though it hasn’t shown up yet.

  • Bad Bracket Highlighter

    Sep 18, 2018, 1:57 AM
    1 Votes
    29 Posts
    11k Views

    Ignore above, there were 2 syntax errors in there for some reason,
    and I fixed it. I must have made a mistake myself.

  • 0 Votes
    3 Posts
    516 Views

    I was unknowingly using a very out of date 32bit version.
    Problem resolved by downloading and installing

    Notepad++ v7.6.6 (64-bit)
    Build time : Apr 3 2019 - 23:52:32
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

  • Multi-Line Find and Replace

    Locked May 3, 2019, 3:45 PM
    1 Votes
    8 Posts
    10k Views

    @Dick-Adams

    Follow current doc -> When ticked, when you press Shift+Ctrl+F to invoke Find in Files, it will grab the current document’s directory and shove it in the Directory box. When unticked, whatever you last had (minutes, days, weeks…ago) remains untouched in Directory.

    Transparency -> super simple, just a visual setting on the Find window

  • 0 Votes
    10 Posts
    2k Views

    I think I’ve found the reason.
    Sourceforge is BLOCKED!!!
    Not just that page, but it’s currently unreachable from everywhere in where I live.
    So, this seems like a problem for our country’s censorship or whatever, not on Notepad++'s side.
    Which means…

    I can use the github link, so it would be my (temporatory) solution for the problem. …and here comes…
    since I’ve found a (perhaps serious?) problem on accessing sourceforge within our country, I should report this (if I find somewhere appropriate).

    To sum up, it’s a problem local to our country and not about NPP.
    thanks for all the help! @Meta-Chuh @PeterJones

  • 0 Votes
    4 Posts
    3k Views

    @Meta-Chuh

    Well, I have tried all the steps outlined, and have rebooted the laptop three times. I still cannot get NPP to open a TXT file

    It is still behaving as before, where if the file has no extension, it will open that file. A file with a TXT extension will not open if it is double-clicked, not open if the file is selected from the Light Explorer menu, and will not open if you use the File/Open method

    I did a different type of test and renamed a TXT file as an INI file. NPP opened that file without an error

    I also was able to open an INI file that was generated by another program, and I was able to open a Python file (PY)

    I am thinking it has to do with the Windows context editor I was trying to use. Just not sure how to enable the TXT files again. I am thinking it is a REGISTRY issue

    Michael

  • 0 Votes
    6 Posts
    724 Views

    @Alan-Kilborn

    When doing the debug info from unofficial Notepad++, does it really admit to being unofficial? ;)

    sort of.

    if you know the default locations or location patterns of these releases, you can spot it in a fraction of a second, if you look at the path.

    it would not work out though, if a user decides to manually install an official release to C:\Program Files\WindowsApps\NightRise.NotepadWrapped_7.59.32.0_x64__bahp16nyyek9m\ … i would then “autodetect” it as a microsoft store release.
    same for C:\PortableApps\Notepad++ of a regular portableapps updater install.

  • 0 Votes
    8 Posts
    3k Views

    @PeterJones said:

    I’m not sure that “run a regex to bookmark, then run a PythonScript to edit” is any less confusing to the typical user than “run these 2-3 regex in sequence”

    A difference of philosophy. The OP already had his lines bookmarked, the script is decanted down to picking a menu item: e.g. “ReplaceAllOnBookmarkedLinesOnly”. So really it satisfies what was originally asked for, without a lot of mumbo-jumbo and smoke and mirrors with an obscure multistep regex (although those tools are good to have in one’s knowledge toolbox). :)

    Of course, there is the whole install-PS-if-you-don’t-have-it-already hurdle… ;)

  • 0 Votes
    5 Posts
    9k Views

    @Terry-R said:

    Look for option #62 called SCI_LINEEND (at least it’s #62 in my version)

    With newer Notepad++ (like v7.6.6), you can filter on something like LINEEND, and it will make it easier to find than scrolling through 62 (more or less) rows.

    That said, there are SCI_LINEEND (scintilla message id 2314) and SCI_LINEENDWRAP (2451) – by default, 2314 is unmapped, and 2451 is mapped to END key. If you don’t have line-wrap turned on, they both behave the same. If you do have line-wrap turned on, SCI_LINEEND will take you to the end of the actual line (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of the third row); whereas SCI_LINEENDWRAP will take you to the end of the current displayed “row” (so if the line wraps so it takes up 3 displayed “rows” on the screen, it will take you to the end of whichever row your cursor was on) – though if you’re already at the end of the “row”, running SCI_LINEENDWRAP again will take you to the end of the full line. There’s actually a third, SCI_LINEENDDISPLAY (2347, default mapped to Alt+END), which behaves similarly to 2451, except hitting it a second time leaves the cursor where it is.

    Any of those Scintilla messages can be mapped to whatever keyboard keys are convenient. (And scintilla messages are unique, in that you can actually map a given message to more than one shortcut.)

  • 0 Votes
    2 Posts
    500 Views

    welcome to the notepad++ community, @rmutalik

    it is best to conduct a community search to get started.
    you will find everything you need.

    example: https://notepad-plus-plus.org/community/topic/13959/building-notepad-with-visual-studio-2015-2017

    best regards.

  • remove quotation marks from a text

    Locked May 1, 2019, 11:13 PM
    0 Votes
    2 Posts
    7k Views

    @peterfrankw3 said:

    remove the quotes

    The easiest way to do this is to highlight one of the quotes, then select Search, then Replace. You will see the Find What field is already filled in with the quote you selected. I suggest have Search mode set to normal. Make sure the Replace With field is empty. Then click on Replace All button. This will remove all copies of the character.

    If by some chance the quotes you are using aren’t exactly what you have shown here you may need to repeat these steps with any other quote left behind.

    Terry

  • Cannot run in Browser

    Locked May 1, 2019, 10:01 PM
    0 Votes
    2 Posts
    1k Views

    @Toni-McDonough , Welcome to the Notepad++ forum.

    You said:

    so I am thinking this means I need to hold my conrtol, alt, and shift key down simultaneiously and them push the 82 numbers and C

    Nope. “82” is the ASCII code for the character you hit: R. So Ctrl+Alt+Shift+R is the key combo. That’s also seen if you look in the Run menu’s Launch In Chrome entry. Caveat: by default, v7.6.6 has the old run-menu-style “Launch in XXX” commented out in the XML. If it is commented out for you, it won’t show up in the Run menu, and the keyboard shortcut won’t launch the file in Chrome.

    The reason for that entry being commented out by default: Notepad++ v7.6.6 has a different location for a similar command, rather than relying on the entry in the shortcuts.xml and the Run menu, you can go to View > View Current File In… > Chrome. This will stay the same, regardless of config file.

    You can assign a keyboard shortcut from inside the Notepad++ interface, whether it’s via the old Run > Launch in Chrome or via the new View > View Current File In… > Chrome.

    Settings > Shortcut Mapper For the View version, pick the Main Menu tab filter on Chrome select Chrome For the Run menu version (this will ONLY work if it’s enabled in your shortcuts.xml and visible in your Run menu): pick the run commands tab filter on Chrome select Launch in Chrome after selecting one above, click Modify set the shortcut to whatever you want (watch for conflicts) click OK and/or Close until you’re out of the dialogs
  • 0 Votes
    2 Posts
    439 Views

    Hello, владимир-антониковn, and All,

    Assuming that your XML text uses :

    Regular Simple quote ( ' ), of Unicode value \x{0027}, and not the characters and

    Regular Double quote ( " ), of Unicode value \x{0022}, and not the characters and

    These changes of text can be easily done with regular expressions :-))

    Open the Replace dialog ( Ctrl + H )

    SEARCH ><img src="(.*?)"\x20(alt=".+?").+?\x20/(></a>)

    REPLACE \x20class="item"\x20style="background-image:\x20url\('\1'\)"\x20data-\2\x20\3

    Tick, preferably, the Wrap around option

    Select the Regular expression search mode

    Click, once on the Replace All button or several times on the Replace button

    Et voilà !

    If OK, I’ll give you some explanations on that regex S/R, next time

    Best Regards

    guy038

  • Special Character Issues

    Locked May 1, 2019, 12:40 PM
    0 Votes
    4 Posts
    3k Views

    @Meta-Chuh Thank you for the answer, Unfortunately the updating solution has proved to be ineffective. And i had already used your other reccomendations in a previous attempt to fix the issue.

  • XQuery UDL

    Locked Apr 30, 2019, 5:45 PM
    0 Votes
    14 Posts
    4k Views

    I did follow the instructions about the portable version strictly.
    I will continue the investigation myself.