• Is there a way to disable sounds?

    Apr 21, 2024, 5:47 PM
    0 Votes
    3 Posts
    388 Views

    @PeterJones Thank you very much Peter. Yes, that did the job. I had simply neglected to explore the options available under “MISC.” Indeed that’s where the setting was. My bad. I appreciate your help Brother. Be well.

  • 0 Votes
    8 Posts
    1k Views

    In a normal scenario -with Windows scaling settings at 100%- notepad++ uses icons at 16x16 and 32x32. At high screen resolutions and depending on the monitor size, Windows applies a scaling, for example 150%. Notepad++ will then use the icons at +50% 16x16 → 24x24px and 32x32 → 48x48px. If that icon resolution exists, then they will be used, but if they don’t, they will be rescaled and look blurry.

    For me, a suggestion for the notepad++ author would be that the user could choose from a combobox the resolution to use for the icons (16x16, 24x24, 32x32, 48x48…).

    On the other hand, I have several sets of icons for the toolbar and I would like to make them public but I’m still thinking about the best way to publish them: a different post in the forum for each icon set, a free website, by Telegram, maybe if donho enabled a section on the web… I don’t know what would be the best way.
    In the meantime you can try the following pack (my favorite) with different resolutions for test → https://community.notepad-plus-plus.org/topic/25706/toolbar-color-icons-for-notepad

  • 0 Votes
    8 Posts
    1k Views

    Oops, our replies crossed. Thanks again for your help.

  • 0 Votes
    9 Posts
    1k Views

    @mkupper said in Font size on PopUp window, Please!:

    the in-selection box is not coded to resize itself vertically as the buttons got larger.

    Probably this is because the window isn’t resizable vertically.

  • 0 Votes
    8 Posts
    793 Views

    @PeterJones I see, that’s too complicated, not worth it. The reason is simple: I often paste stuff so I want to be able to paste (or sometimes type) text into a file without the need to first click on the last line and then pressing Enter. In MS Word you can double-click on any blank space below and start typing or pasting, so here I want something like that.

  • 1 Votes
    2 Posts
    378 Views

    @C-Bacca said in Place cursor in center of displayed text when Goto line number.:

    Is there a way to put the cursor about 5 lines from the top of the NPP window when doing a Goto Line?

    Not natively.

    If you are going to a line near the top of the file, you could do Ctrl+Home then Goto Line. Or if you’re going to a line near the bottom, Ctrl+End before Goto Line. For one in the middle, you could Goto Line then use the mouse scrollwheel or Ctrl+Arrow to quickly scroll that line to the middle. (Settings > Preferences > Editing 1 > ☑ Enable scrolling beyond last line will help if you want to be able to center it with scrollwheel, even if you go to the last line.)

    If that’s not sufficient, it could be coded up in the PythonScript Plugin or similar scripting plugin, and then assign that script a keyboard shortcut to use – and you could then run that script instead of Goto Line. It’s not that difficult to do a “goto” then try to center it in PythonScript syntax; if you need help to do such a script, let us know (though we aren’t a code-writing service, so you’ll be expected to take an active role).

  • 0 Votes
    4 Posts
    579 Views

    @Ivan-Lewis-Coker,

    The other respondants are helping with your actual issue, but I thought I’d reply to:

    I didn’t see a Search option to look

    The toolbar of the forum has a magnifying glass, which indicates “search”, just like magnifying glasses do in many other tools (including Notepad++)

    1bafccac-2b9e-4c20-9aba-ee207b30a577-image.png

    Click on the search icon, then type your search text. It’s not the world’s best search, but it will work.

    And I am also assuming you actually know about Google’s advanced search syntax (which you can enter in a normal Google search bar, not just from their advanced search page). This syntax allows you to search by site, so site:community.notepad-plus-plus.org search terms here will restrict your google search to our Community.

  • 0 Votes
    17 Posts
    998 Views

    @PeterJones ,
    Thanks for helping me find this out. This is strange, because when we put filepath/filename in the code, we do surround them with quotes for the reasons you point out.

    Why the IDE would not pass a filepath/filename parameter without quotes around it is strange, unless the way the IDE is designed, it does it internally, as witnessed by those two different ways it displays depending on if there is spaces in it. In other words, the IDE interpreter sees the spaces, and then puts quotes around it for itself. This makes sense, but making it more difficult for us to use external editors without passing it that way is definitely perplexing. Just as an FYI, the dBASE Plus editor is based on the SciTE editor that they changed to in the dBASE Plus 9 version, so it does share at least a little bit of familial genes with NPP, namely the Scintilla library. :-)

  • 0 Votes
    4 Posts
    3k Views

    @Kjell-Rilbe From a casual observation.

    Important to note: The Save As dialog has a checkbox named Append extension.

    If Append extension checkbox is checked, then the filter combobox named Save as type will auto-select the filetype to match the existing file type or language. So if Save as type is Normal text file (*.txt), then it is known for Notepad++ to append .txt to the File name in edit control on save.

    If Append extension checkbox is unchecked, then the filter combobox named Save as type will auto-select All types (*.*) as the state of appending a file extension is undetermined so that the user needs to type into the whole file name including file extension to save as a file type.

    Perhaps for the 10+ years mentioned the checkbox Append extension has been unchecked for your Notepad++ configuration. One day it changed and the usual routine afterwards was disrupted.

    Just viewed config.xml with changing the checkbox state and closing Notepad++. The state is remembered for the next Notepad++ instance:

    <GUIConfig name="MISC" ... saveDlgExtFilterToAllTypes="yes" ... />

    The value can toggle with value yes and no. There should be no need to change this value manually if a Gui method is available … ( Append extension ).

    The Preferences dialog shows no mention that I could see to influence the state of the Save as type combobox and so I consider the Append extension is the main point of change.

    The suggested fix for you is to uncheck Append extension on the next Save As event.

  • 0 Votes
    2 Posts
    1k Views

    @Лі-Лантер ,

    How do I convert(?) the text on notepad to chrome?

    This forum is about Notepad++. Calling it “notepad” makes it look like you’re talking about the microsoft windows built-in editor “notepad”. If you are really talking about Notepad++, please do not forget the ++, as it is part of the name. Using the right name helps us make sure you’re actually talking about Notepad++ and are asking in the right place.

    I need to convert the stuff I wrote in notepad to a chrome version.

    Notepad++ is a text editor. Chrome is a web viewer. If you wrote HTML using Notepad++, you do not need to “convert” anything. You open the file with Chrome to render and view the page.

    (The video I watched has a different version of notepad)

    We have no clue what video you watched, or what “version of Notepad++” either you or “the video” is using.

    When I press the “run” button(I’m not working on an english ver of notepad, not sure if I’m calling everything correctly), I press start and get a small window that says “enter the program launch options” with an empty typing window.

    In Notepad++'s default English translation, there is a Run menu with a Run… action,
    7c81f913-6864-4d91-b89a-772f1bd079a3-image.png
    which opens a dialog box that looks like:
    355275dd-66ae-4fe9-8d73-f23e61eccd40-image.png

    I type in “chrome” and it just takes me to the main chrome page.

    Of course it does. The Run… dialog is very similar to typing a command from cmd.exe or a powershell window, or from the windows Win+R run-a-command dialog
    ec4563ab-e144-4f3e-a824-2cc46940f872-image.png

    If you don’t give the chrome command any command-line argument to tell it what file to launch, it will just open the Chrome application without directing it to open a specific file.

    But based on everything you told me, my guesses are:

    The video you watched was using a really old version of Notepad++ (older than v7.6.3 from 2019) The video you watched showed using Run > Launch In Chrome, which does not exist in your newer copy of Notepad++ Those commands have been replaced by View > View Current File in > Chrome and similar:
    694306bd-c3ca-4a00-abb5-98f72614618e-image.png

    So if you are editing an HTML file, and want to see that HTML file rendered in the Chrome browser, you use View > View Current File in > Chrome

  • Session.xml keeps getting deleted

    Mar 25, 2024, 1:15 PM
    0 Votes
    21 Posts
    3k Views

    @mkupper said in Session.xml keeps getting deleted:

    @donho may be feeling lonely and so should be happy to get a kudo for implementing the session.xml.inCaseOfCorruption.bak file thing.

    LOL!
    I love kudo, but all kudos should go to @xomx - thanks to his code review, the workaround of Dell Support Assist’s bug has been implemented in v8.6.5:
    https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14858#issuecomment-1999912317

  • Custom file manager

    Apr 14, 2024, 10:43 PM
    0 Votes
    5 Posts
    555 Views

    is there any particular reason it isn’t possible to set a custom file manager?

    It IS possible, you just have to follow Peter’s suggestions.
    Of course, you probably mean some nice UI way of doing it…so, yes, that would involve a feature request and a hope that it gets implemented.

  • 1 Votes
    3 Posts
    275 Views

    Okey, thank you!

  • strange style glitches after crash

    Apr 15, 2024, 5:15 AM
    0 Votes
    1 Posts
    151 Views
    No one has replied
  • 0 Votes
    3 Posts
    444 Views

    @PeterJones
    You are an absolute life (and time) saver, thank you so much for the help.
    I edited langs.xml and that did it.

  • 0 Votes
    13 Posts
    807 Views

    @Alan-Kilborn ,
    Well, just so we can be clear, I’ve never really been an early adopter of OS’s as I prefer not to do their QA work. :-) And there have been many hiccups even between common NPP behavior and Win11 changes to warrant such a warning as a possible reason for problems. That’s all.

    When something changes, in this case the OS, that’s usually the first place to look for a change after the application has been cleared. That’s all.

  • 0 Votes
    6 Posts
    525 Views

    @Nicholas-Piazza said in Notepad++ Keeps Losing Track of my Recent Files:

    But lately (last few weeks (since January 2024),

    @Mauricio-The-Souza said in Notepad++ Keeps Losing Track of my Recent Files:

    but recently, this is not happing any more, the App usually opens totally blank

    Do you by any chance have also the Dell SupportAssist SW installed on your computers?

    (check if you have the C:\Program Files\Dell\SupportAssistAgent\SRE\SRE.exe on your disk, there is a proof that this external program, in its latest version updated in January 2024, is deleting the Notepad++ session.xml file)

  • 0 Votes
    2 Posts
    313 Views

    @Vicky0878 ,

    Three moderator notes before moving on to your questions:

    Please reserve “Announcement” Topic replies for “regressions” – things that broke with a specific, recent release. Generic questions belong in Help Wanted, where I moved this to.

    It appeared that you had two distinct questions, so I used my understanding of those questions for naming the new Topic I (as a moderator) created to talk about your questions._

    It is best practice to create two different Topics in Help Wanted if you have two unrelated questions, which yours appear to be. But in case I’ve misunderstood, I have left them together. But you will likely find the discussion hard to follow, as some people will only reply to question 1, others only to question 2, and some to both.

    Regarding your questions

    in the batch replacement text I am limited by the edit box paste,

    The developer doesn’t believe that most search/replace need multi-line inputs. Using “Extended Mode” or “Regular Expression Mode”, you can use \r\n to indicate searching for a newline in the search sequence. If that’s not sufficient for you, there is a plugin called “MultiReplace” which you can install from the Plugins Admin: that will allow easy multi-line input for search and replace fields.

    About header display style when opening files in bulk I can’t find my files Where can you update him

    Under normal conditions, if there are too many files to view, there are little arrows at the right of the tab bar. (I have circled those in red in my screenshot):
    af270232-4da7-47e4-b3ce-2de844a04d77-image.png

    Also, Settings > Preferences > General has a section called Tab Bar, and if you checkmark ☑ Multi-Line. Ah, you probably have that set, because with 12 tabs and a narrow window, I get something like:
    34e30b50-8276-45be-a833-53953ed7abe3-image.png
    … which is similar to your right screenshot. If you don’t want your tab bar to wrap like that, turn off the option to wrap the tab bar.

    For other ways of finding the files when you have a lot open.

    In the Windows menu, if there are too many to fit, you can click on the Windows… action,
    8c9981a6-44b8-4fac-a41e-36b06b56e3dc-image.png
    … which will pop up a dialog which you can scroll and sort
    57e6808b-b731-4d4d-8901-50f5ff5f749e-image.png
    You can
    Further, View > Document List will open a Docked Panel which has an easy-to-use scrollbar for navigating between your documents.
    5105c2fb-8d2c-492b-829e-f7ab6093f517-image.png

  • 1 Votes
    5 Posts
    702 Views

    @Vladimir-Krasko, @xomx posted a link to github where I see that you had provided your Notepad++'s Debug info. I see that you are using %AppData% which is Notepad++'s default.

    Take a look at the %AppData%\Notepad++ folder.

    When was the folder itself created? When was the session.xml file created?

    If you are using Windows Explorer to look at the %AppData%\Notepad++ folder then switch to the Details view and add the Created column to get the creation dates. If you using the command prompt then use dir /tc to view file or folder creation dates instead of the usual last-modified dates.

    If the creation dates are within the last few days then you likely are in luck as that means your previous installation of Notepad++ was storing its settings somewhere else.

    If your session.xml file was created weeks, months, or years ago then it likely was corrupted and so Notepad++ generated a new/empty session.xml file. Unfortunately, that also means the version of your session.xml that listed 100+ tabs was overwritten.

    You may see a file named session.xml.inCaseOfCorruption.bak but I suspect that won’t be useful in your case as Notepad++ overwrites it every time it exits.

  • 0 Votes
    17 Posts
    8k Views

    If you can read C# code, you might look at the CSVLint CSV lexer, which may give you some insight into any differences between user-defined lexers and normal ones.