• Problem with regex

    2
    0 Votes
    2 Posts
    194 Views
    Terry RT

    @kanishknishar said in Problem with regex:

    and it works too (except the last) but when I try it on Notepad++ it finds no matches. What’s going on?

    Your regex is looking ONLY for \n whereas normally you would use \r\n which refers to carriage return AND line feed, or \R which means any type of line ending, \n, \r or \r\n .\r\n is the normal line ending in a Windows TXT file.

    However the last line will not have these so I’d change your current \n for a $ which means end of line, just before the carriage return and line feed. By not selecting the actual line endings you don’t need to return it as a replacement.

    Terry

    PS you could even use this version of your regex if all the closing brackets finish the line

  • Linked text to open other files into Notepad++

    28
    4 Votes
    28 Posts
    12k Views
    Richard J OtterR

    Just wanted to thank the Alan for his code and instructions and offer a couple of clarifications. This “add on” to NotePad++ has made my work much more productive.

    First- When configuring NotePad++ preferences, “Cloud & Link” panel, URI Customized schemes- be aware that the items are separated by a space character. The display on my machine didn’t make this clear and I fumbled around for quite a time before I added a space before the “edit:” addition I made. One might mention that once the preference change is made, the edit URIs in text will start to act like non-working links. Do that first to be sure you got the preference change right.

    Two- I am using the UriIndicatorAltClick2.py code because my main use case is opening up images pointed to in my text.
    In the startup.py file, I had to add these 2 lines-

    import UriIndicatorAltClick2 uiac2 = UriIndicatorAltClick.UIAC2()

    Three- I also use lots of non-ASCII unicode in my text, but, so far all my file names are simple ASCII, so I don’t have to worry about the py code handling unicode properly and updating to PythionScript3.x
    All of my python dev experience has been with python 3 so I was concerned about whether PythonScript2.0 using Python 2 would cause problems. As far as I can see, the Python 2 stuff is isolated to the one dll installed in the plugin folder.

    Thanks again.
    Richard Otter

  • Some types are not highlighted in C header files

    13
    0 Votes
    13 Posts
    876 Views
    Alan KilbornA

    At the very least (sorry), these keywords are missing from the C++ default keyword list, and should be added:

    int_least8_t int_least16_t int_least32_t int_least64_t

    I suppose whether you like your header (.h) files to be considered “C” or “C++” is a matter of individual choice, so I don’t think there’s anything more to do other than what @Ekopalypse has already indicated.

  • Double click a word with special character

    2
    0 Votes
    2 Posts
    645 Views
    PeterJonesP

    @lodak80 ,

    Settings > Preferences > Delimiters > ☐ Add your character as part of word is the option which influences what characters can be grabbed by the double-click action.

  • Cannot load 32bit plugin even when 64bit versions of all are installed

    13
    0 Votes
    13 Posts
    2k Views
    Alan KilbornA

    @Daryl-Titcomb

    The misleading error message was resolved, see HERE; however the improvement request for more specific error messages remains incomplete as of now.

  • Topic dummy

    5
    -1 Votes
    5 Posts
    409 Views
    Avinash KumarA

    @Avinash-Kumar reply 3

  • Find in Files filter, include AND exclude combined

    3
    0 Votes
    3 Posts
    690 Views
    Terry RT

    @Jason-Carlton said in Find in Files filter, include AND exclude combined:

    I thought this would work, but it doesn’t:

    Did you read the online manual about the specific requirements of this tab? Try looking at this section of the manual. Ver 8.2 and better will allow what you need, but you must define it correctly.

    Terry

  • please add a toolbar button "go to end of file"

    4
    0 Votes
    4 Posts
    267 Views
    PeterJonesP

    @Udo-Sander said in please add a toolbar button "go to end of file":

    Dear developers team,

    As is made abundantly clear if you read the “please read this before posting” before posting, the Community Forum is not the developers team.

  • Unwanted Language for tab extension

    5
    0 Votes
    5 Posts
    388 Views
    Alan KilbornA

    edit %AppData%\Notepad++\langs.xml

    Specifically, change this line:

    <Language name="nncrontab" ext="tab spf" commentLine="\" commentStart="" commentEnd="">

    to this:

    <Language name="nncrontab" ext="spf" commentLine="\" commentStart="" commentEnd="">

    Removing tab from the list of extensions for nncrontab files.

  • Ghost Typing

    3
    1 Votes
    3 Posts
    506 Views
    Fruchtzwerg94F

    Yes it is: E.g. commit 0aafe91be9f49fdb3dedae2b0ba5b4317480b9f5 clearly mentiones an easteregg:
    Fixed Typos in quote eastereggs

  • Clone file to multiple views

    6
    0 Votes
    6 Posts
    598 Views
    Alan KilbornA

    @Kapil-Patel

    To echo Peter, in case you didn’t hear him respond to the other poster:

    @PeterJones said:

    nothing … would prevent you from putting in an official feature request. See our FAQ section, which links to where feature requests go.

  • Increase width of the Run macro multiple times dropdown?

    12
    1 Votes
    12 Posts
    881 Views
    loomes77L

    @PeterJones Right, I should look better at what I’m copying and pasting… ;)

  • Default font for UTF-8

    8
    0 Votes
    8 Posts
    3k Views
    Alan KilbornA

    @datatraveller1 @PeterJones

    If we’re switching over to font recommendation, I like Fira Code Retina. :-)

  • Odd behavior of the Compare Plugin

    3
    0 Votes
    3 Posts
    597 Views
    Grace Brethren HelpdeskG

    @pnedev ,
    Thanks !!! Wow, what a difference. I had no idea there was a ComparePlus. It works great. I teach a coding class, and it makes grading and correcting students assignments a whole lot easier. Notepad ++ is an awesome product.
    Thanks again,
    Mark

  • Notepad++ freezes on network files and even crashes

    1
    0 Votes
    1 Posts
    310 Views
    No one has replied
  • Find in File search multiple folders

    2
    2 Votes
    2 Posts
    2k Views
    PeterJonesP

    @do-kim ,

    Thank you for considering this request.

    You have made what appears to be a feature request. Please see our Feature Request FAQ

    As a fellow user of Notepad++, I would say: I have never had a need for such a complicated search. But if you were to submit an official feature request and it were implemented, it would be fine with me.

  • C Language vs Rust

    13
    0 Votes
    13 Posts
    1k Views
    Jaguar AsadJ

    Truly agree rust is really a far better language

  • "Edit with Notepad++" under Windows 11

    Locked
    12
    2 Votes
    12 Posts
    31k Views
    PeterJonesP

    We do not need a list of additional tools which hack the registry in some form or another (especially when those link to tools that were designed in the WinXP era, so will not work on Windows 11 for the same reason that the Notepad++ registry settings does not work on Windows 11).

    The correct solutions for Windows 11 are

    Shift+RightClick in Windows Explorer does not work in all versions of Win 11 Shift+F10 in Windows Explorer The registry edits recommended in this discussion and in the Notepad++ Online User Manual at https://npp-user-manual.org/docs/other-resources/#windows-11-right-click-workarounds

    To avoid this discussion becoming a spammy list of links, it is being locked.

  • File Switcher not responding

    7
    0 Votes
    7 Posts
    561 Views
    cooper millsC

    Thank you for sharing this informative trick[.]Hope next time we are not going to face this problem again.

  • Rust language support

    3
    0 Votes
    3 Posts
    831 Views
    Murray Sobol 1M

    @datatraveller1 Thanks, I forgot to look in that obvious place!!