Categories

  • Announcements regarding our community

    334 Topics
    5k Posts
    xomxX
    @JT-Moore Current workaround for now - the relevant config.xml setting needed (just use a post-install script for it or supply a pre-configured config.xml file to your users): networkPathWarningMethod="2" which means “networkPathAlwaysLoad”. i.e. edit this line: <GUIConfig name="MISC" fileSwitcherWithoutExtColumn="no" fileSwitcherExtWidth="50" fileSwitcherWithoutPathColumn="yes" fileSwitcherPathWidth="50" fileSwitcherNoGroups="no" backSlashIsEscapeCharacterForSql="yes" writeTechnologyEngine="3" isFolderDroppedOpenFiles="no" docPeekOnTab="no" docPeekOnMap="no" sortFunctionList="no" saveDlgExtFilterToAllTypes="no" muteSounds="no" enableFoldCmdToggable="yes" hideMenuRightShortcuts="no" networkPathWarningMethod="2" isFawSymlinkAllowed="false" /> Edit: There already seems to be such a helper script (I didn’t test it myself): https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18319#issuecomment-5508274570
  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    38 Topics
    64 Posts
    PeterJonesP
    Corrupted Session Starting in Notepad++ v8.6.5, it will store session.xml.inCaseOfCorruption.bak next to session.xml, and will automatically use that if session.xml is corrupted. However, if you ever find that you open Notepad++ (especially after an update or a system crash) and find that the files opened weren’t in the same state as when you let them, you can try this procedure: Exit Notepad++ Windows Explorer, go to %AppData%\Notepad++ (or in your appropriate config-file location if you aren’t using AppData for config) Rename session.xml to session.xml--keep Copy session.xml.inCaseOfCorruption.bak to session.xml Run Notepad++ → If it’s now showing the right copy of your files, great! If not, exit Notepad++, delete session.xml, and rename session.xml--keep back to session.xml .
  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    23k Posts
    guy038G
    Hello, @francisco, @gerdb42 and All, There are plenty of solutions ! The following one will ensure that the . matches newline option will not be used even it’s checked and that the Match case option is enabled even it’s not checked ! FIND (?-si)_.+(?=\.txt) REPLACE Leave EMPTY Best Regards, guy038
  • 10k Topics
    55k Posts
    PeterJonesP
    @behrouz1 I will be assuming you have a normal installation (using AppData for configuration files). If that’s not the case, or you are having difficulty finding the files and directories mentioned, share your ?-menu’s Debug Info share a directory listing of %AppData%\Notepad++\functionList you are looking for it to contain something like udl_markdown.xml or something similarly named. And a file called overrideMap.xml open %AppData%\Notepad++\functionList\overrideMap.xml , and scroll down near the bottom; there should be a section <!-- ==================== User Defined Languages ============================ --> , and there should be some <association .../> tags there, including one like <association id="udl_markdown.xml" userDefinedLangName="Markdown (preinstalled)"/>. If it’s not there, share the entire section from the “User Defined Languages” section down to the bottom. (Use </> button then paste the XML directly into your post in the region provided by the button) Even in a normal installation, if you did things differently (maybe your AI doesn’t know N++ as well as you think), those files may have been put into the installation directory, so in c:\program files\notepad++\functionList\ or wherever relative to your installed Notepad++. Basically, what you must have is that your overrideMap.xml must have an association where the filename is in the id attribute, and the exact name of the active UDL (in my case, I am using Markdown (preinstalled)) is in the userDefinedLangName attribute. Then that file must contain the definition for the function list to show the headers (if you can’t find those files anywhere, even after we reply to your Debug Info, then you might need to download a new definition file, like from my publically-shared one, here on my GitHub)
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC
    @guy038 said: As for the first bug, I humbly apologize for the inconvenience caused : it’s my own fault. There’s no bug at all ! Maybe, maybe not. I forgot about a Notepad++ setting. I would guess that you have Settings | Preferences… | Editing 1 | Keep selection when right-click outside of selection checked. If I check that box, behavior is consistent with what you reported. Is that a bug? Scintilla normally responds to a right-click by clearing any selection and placing the caret at the position of the right-click, unless the right-click is within an existing selection. Notepad++ specifically captures right-clicks and overrides that behavior when that box is checked, so that right-click effectively behaves just like pressing the context menu key or Shift+F10, ignoring where you right-clicked and basing the context menu on the selection or caret location. I’m inclined to think that if someone has that box checked they probably know what to expect… but then, you didn’t. I haven’t yet investigated, but I suspect it would be possible to bypass that setting by capturing the actual screen location of the right-click, converting that to a character position, and acting accordingly. The question is, should I? To end, could you verify if you can reproduce the third bug or if I forgot something obvious ? Now, if you change the search string and try again to select the default Show option, NO change occurs at all. You need to first cancel the previous Show operation by running, within the Tools dialog, the Remove marks and bookmarks from active document option Then the Show feature applied to the modified search is correctly performed ! This isn’t really a bug, but a “feature” of questionable utility. Commands with default scope apply to marked text if there is any marked text, unless Settings | Marked Text | Default commands automatically search within marked text. is not checked. So most likely you see “No matches found in marked text.” at the bottom of the dialog when you attempt your second Show. If you used Show in Whole Document it would have worked. I agree, this is probably confusing. I didn’t want different default scope commands to behave differently, but this does seem like an exceptional case. I already have a checkbox for Allow default Mark command to Mark in Marked Text; I should probably have a similar Allow default Show command to Show in Marked Text, unchecked by default. Perhaps I should redesign this whole default scope concept. I just don’t know how to keep it flexible and convenient and user-friendly all at once. (I include a reasonably clean design, as in “dialog not so cluttered with buttons and options that your eyes hurt just looking at it” as part of user-friendly. Yet so is minimizing the “User Astonishment Factor”: as in, “Wow, I never expected that to happen!”)
  • Security shouldn’t be the privilege of rich people

    74 Topics
    370 Posts
    Lycan ThropeL
    @donho Reported to both sites per your request to help keep the community safe.
  • All the issues (publications/questions) about binary translation

    76 Topics
    480 Posts
    U
    @xomx Thank you very much for the work you have done, which will lead to improvements in Notepad++ in the future. I am very grateful to you.
  • Say fuck to Notepad++ here, and only here

    95 Topics
    563 Posts
    P
    “400k severly wounded ukrainian soldiers”, sorry.
  • No support request and bug report here, only unconditional praise and worship

    3 Topics
    8 Posts
    K
    I’m used to ISPF editing, using column based information. (SPFLite is a dumbed down version) I can do most of what I need in there, but N++ fills in holes in ISPF edit. For example, N++ can add, change or delete information across several lines. RegEx is available on ISPF edit, but I’m too busy to learn it. N++ does this much easier.
  • Share personal tips and cool uses for Notepad++, and similar

    63 Topics
    243 Posts
    David Brigden52D
    Seems they decided that it they couldn’t be the heroes, rhat they would be the villains.
  • Computer/Programming Jokes are welcome here

    59 Topics
    190 Posts
    Lycan ThropeL
    @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]