• Regular Expressions slightly broken in 6.9.1?

    14
    0 Votes
    14 Posts
    8k Views
    user21760U

    @Jim-Dailey said in Regular Expressions slightly broken in 6.9.1?:

    @dail I tried

    x[^x\R]+$

    but it made no difference. But, sure enough, this does work:

    x[^x\r\n]+$

    Any idea why \R doesn’t work in this case?

    \R and \N lose their special meaning inside a bracketed character class. There, they represent the characters R and N, respectively.

    https://perldoc.perl.org/perlrecharclass#Backslash-Sequences
    https://perldoc.perl.org/perlrebackslash#All-the-sequences-and-escapes

  • FindInFiles results display

    7
    0 Votes
    7 Posts
    604 Views
    PeterJonesP

    @havkicker ,

    This FAQ was added today because this question is starting to come up frequently enough to warrant its own FAQ entry.

  • Open/Save File Dialog - Session

    7
    0 Votes
    7 Posts
    409 Views
    Alan KilbornA

    @mkupper

    Thanks for the info. I’ll probably keep linking that way, though, as it is expedient for a lot of people (using other browsers) and is also fast for me to supply.

  • JavaScript keywords in langs.model.xml

    4
    0 Votes
    4 Posts
    434 Views
    NicholasN

    @Mark-Olson Yes, that is my plan. At the moment I just want some feedback from the community on some of my suggested changes.

  • Can't connect to your web-site

    8
    1 Votes
    8 Posts
    2k Views
    PeterJonesP

    @Murray-Sobol-1 said in Can’t connect to your web-site:

    @PeterJones
    Thanks, Peter, for fixing the issue.

    I had nothing to do with the fixing of the issue. As I said before, the Notepad++ Community is the community of users of Notepad++. We do not own Notepad++ nor its domain.

    The owner of Notepad++ and the various Notepad++ domains is the one who fixed the problem.

    I just pointed you to where to report a problem, and then updated it with a link to the issue where someone else had already reported the problem, and then I posted another reply when I saw that the problem had been fixed.

    In the future, when maintenance needs to be done on this website (I suspect that this was the root cause of this problem)

    You suspect wrong. There was apparently some accidental problem that happened, which took the website down, unbeknownst to the owner of the website. When this was pointed out to him through the github issue, he then had to spend a couple hours trying to get the problem fixed.

    please post a page stating that the web site is down for maintenance.

    That’s rather hard for the owner to do when it wasn’t down for intentional maintenance, and the only way to get it working enough to be able to show a “down for maintenance” message would be to get it working enough that it could show the real website anyway.

  • "Folder as Workspace" refresh view

    4
    0 Votes
    4 Posts
    522 Views
    mkupperM

    @David-Morrison The Windows API includes a function, ReadDirectoryChangesW() that Notepad++ uses to watch for changes to files and folders.

    ReadDirectoryChangesW() is not reliable for network shares. If you Google for ReadDirectoryChangesW network drive you will find others seeing the same issue you are having. My guess is that the Raspberry Pi supports an older version of SMB protocol.

  • Silly rant.

    4
    0 Votes
    4 Posts
    452 Views
    mkupperM

    @SteveRMann I dug into this a bit and discovered the dialog box about updating Notepad++ comes from GUP.exe, not Notepad++.

    I reported this to GUP’s developer at https://github.com/gup4win/wingup/issues/46

  • How to remove these dots/lines?

    4
    0 Votes
    4 Posts
    506 Views
    ms appleM

    @PeterJones Thank you Peter.

  • [Feature request] right-to-left editing for each tab

    10
    0 Votes
    10 Posts
    802 Views
    maimonid toledanoM

    @Alan-Kilborn Thank you Alan. I will try it.

  • Offensive Installer - Please Fix

    4
    0 Votes
    4 Posts
    547 Views
    mkupperM

    @John-Coogan See if you can use a portable installation. The “installed” and “portable” versions are nearly identical. If you download and expand one of the portable .zip or .7z files you will see that the package includes a file named doLocalConf.xml. Delete that file and Notepad++ will use %AppData% for its configuration files. The standard installer copies the files to %ProgramFiles% (64-bit) or %ProgramFiles(x86)% (32-bit) which normally needs administrator rights to copy in the files.

    I think the main issue you will run into is that Notepad++ is a project and resulting application designed for individual desktop users. It still seems to be very much a work in progress in terms of setting up an installation for “all users” of a computer, installation on either locked down desktops or remote-desktop machines.

    For example, Notepad++'s Run menu allows for the user to run any other application on the machine. You likely don’t want that if you are trying to create locked down desktops for people. Notepad++'s plugin architecture is very powerful in the hands of a person who owns and controls their own desktop but also can be abused by someone trying to bypass controls you may want to impose on a desktop.

  • Confirmation Message

    3
    0 Votes
    3 Posts
    260 Views
    PeterJonesP

    @Hans-Troost said in Confirmation Message:

    which limits me a bit in using the forum

    As our FAQ says,

    … the only thing that the email confirmation enables is the various email notifications and digest emails; every other feature of the forum works just fine without the confirmation message. – FAQ: Logging in to this Forum: Notification
  • 0 Votes
    6 Posts
    705 Views
    mkupperM

    @KiWiKo said in how to find commas between numbers, exclude them, and only find the rest of them:

    @mkupper oh oh and also, how can i include punctuation at the end of sentences like here too:

    that’s 500.

    Search for ([0-9])[,.!?](\x20|$)
    Replace with \1\2

    The first group ([0-9]) matches and saves in \1 a decimal digit. The [,.!?] matches the set of punctuation characters you identified earlier. The second group (\x20|$) matches either a space or the end of the line. I used \x20 instead of a space for readability. You can use ( |$) but it’s not always obvious there is a space in there.

    If you also want to remove punctuation at the end of sentences that end with a letter then use ([A-Za-z0-9])

  • 1 Votes
    4 Posts
    430 Views
    Alan KilbornA

    Link to the issue created: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14041

    @maimonid-toledano

    Regarding Yaron10, how am I supposed to get him interested by my issue?

    Don’t worry; he’ll take an interest. :-)

  • [Feature request] Enable/disable plugin checkbox

    3
    1 Votes
    3 Posts
    493 Views
    CoisesC

    This is closely related to different plugins for different unprivileged users w/ one install?. The original poster in that thread created a feature request.

    While the situation you describe is simpler, implementing the feature request as suggested would include adding what you want. Take a look at the feature request and add a comment explaining your use case if you feel it is appropriate.

  • 0 Votes
    5 Posts
    1k Views
    dmpossaD

    @PeterJones Of course this is my opinion, otherwise it would be your opinion.

  • 3 things on column-edit and multi-edit modes

    4
    0 Votes
    4 Posts
    368 Views
    Victorel PetrovichV

    The answer to my question is probably no;
    I have found it’s easy to create a script (to which can assign the shortcut), using the following ingredients:

    SCI_ADDSELECTION SCI_GETCURRENTPOS SCI_GETANCHOR SCI_GETCOLUMN SCI_LINEFROMPOSITION SCI_FINDCOLUMN

    But it might be worth having it natively in Npp.

  • [Feature Request] Increase number of delimiters

    11
    0 Votes
    11 Posts
    856 Views
    Victorel PetrovichV

    @deleelee said in [Feature Request] Increase number of delimiters:

    The only issue I see with this is that some people may want to define ‘unmatched’ delimiters (eg: ( to open and ] to close)

    I believe that by “matching pair”, in his reply, @PeterJones meant whatever you define it to be, so it can be (] if you want so.
    His general suggestion on space-separated lists covers that, so you can include that as an alternative in your github request.

  • Save as [type] lacks an option for .py (python) file

    9
    1 Votes
    9 Posts
    3k Views
    deleeleeD

    @PeterJones said in Save as [type] lacks an option for .py (python) file:

    The natural implementation would be for Notepad++ to include the extensions listed in all loaded User Defined Languages in addition to the native language file extensions

    I agree 100% and have added my support to your request. I also think we should be able to add file extensions for languages we don’t have UDLs for, and I’ve mentioned that as well.

  • visual studio like enhancements

    3
    0 Votes
    3 Posts
    446 Views
    Mark OlsonM

    I would add that the LSP clients in Notepad++ are cool, but ultimately it is very hard for the single-digit number of developers working on them part-time to compete with the large teams of developers working on improving the LSP clients for other applications like Visual Studio and VSCode.

  • [feature request] Move tab to beginning / end

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Saiapatsu said in [feature request] Move tab to beginning / end:

    Here are LuaScript functions for this, which don’t seem too difficult to port to other scripting plugins

    Indeed; here’s a PythonScript version:

    # -*- coding: utf-8 -*- # references: # https://community.notepad-plus-plus.org/topic/24799 # for newbie info on PythonScripts, see https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript from Npp import * def get_number_of_tabs(view=None): retval = 0 if view is None: retval = len(notepad.getFiles()) else: for (pathname, buffer_id, index, v) in notepad.getFiles(): if v == view: retval += 1 return retval curr_view = notepad.getCurrentView() curr_doc_index = notepad.getCurrentDocIndex(curr_view) if 1: # move tab to end positions_to_move = get_number_of_tabs(curr_view) - curr_doc_index - 1 for __ in range(positions_to_move): notepad.menuCommand(MENUCOMMAND.VIEW_TAB_MOVEFORWARD) else: # move tab to beginning positions_to_move = curr_doc_index for __ in range(positions_to_move): notepad.menuCommand(MENUCOMMAND.VIEW_TAB_MOVEBACKWARD)