• 0 Votes
    2 Posts
    763 Views
    Bas de ReuverB

    Btw as far as I know ComparePlus and CSV Lint are the only plug-ins that change the transparency of the caret-line. This is because those are also the only plug-ins that use background colors for syntax styling.

    All the default language (almost) never use a background color other than white(ish), that’s why an opaque caret line color has never been an issue.

    For example, if you look at the stylers.model.xml file Perl is one of the few that uses background colors to style the strings-in-backticks.

  • Plugin to help me build an CMS Free Homepage?

    4
    0 Votes
    4 Posts
    308 Views
    PeterJonesP

    @nousername1 said in Plugin to help me build an CMS Free Homepage?:

    Can you recommend such Editor who offer an Clean Data File?

    This forum is about Notepad++, the text editor, and thus also includes the plugins for Notepad++. If you are looking for recommendations for other software beyond Notepad++ or one of its plugins, this isn’t the right place. (And I have no idea what a “Clean Data File” is in your mind.)

  • Is there a way to disable sounds?

    3
    0 Votes
    3 Posts
    351 Views
    Bill MillerB

    @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.

  • Toolbar icons with 2560x1440 display

    8
    0 Votes
    8 Posts
    1k Views
    Manu elM

    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

  • How to set location of Styles and Config

    8
    0 Votes
    8 Posts
    1k Views
    Bernard BoaseB

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

  • Font size on PopUp window, Please!

    9
    0 Votes
    9 Posts
    1k Views
    Alan KilbornA

    @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
    675 Views
    Acortez AlexA

    @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.

  • Place cursor in center of displayed text when Goto line number.

    2
    1 Votes
    2 Posts
    339 Views
    PeterJonesP

    @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
    502 Views
    PeterJonesP

    @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.

  • Problem launching NPP with file from IDE

    17
    0 Votes
    17 Posts
    926 Views
    Lycan ThropeL

    @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. :-)

  • Save as type "All types" as default?

    4
    0 Votes
    4 Posts
    3k Views
    mpheathM

    @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
    PeterJonesP

    @Лі-Лантер ,

    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

    21
    0 Votes
    21 Posts
    3k Views
    donhoD

    @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

  • Fix corrupted txt file (NULL)

    114
    2 Votes
    114 Posts
    144k Views
    donhoD

    Hi guys

    Thanks to the investigation & implementation of @xomx , we have identified a plugin which could cause this issue eventually: “SaveAsAdmin”.
    ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14990#issuecomment-2053828749

    While browsing this very long discussion of the issue, I found no Debug Info regarding files corrupted NUL characters issue.

    So for people who have encountered NUL characters content problem, could you confirm (or deny) that you have had SaveAsAdmin plugin installed?

  • Custom file manager

    5
    0 Votes
    5 Posts
    506 Views
    Alan KilbornA

    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
    244 Views
    CletosC

    Okey, thank you!

  • strange style glitches after crash

    1
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • Language association with .jbeam files at JSON5

    3
    0 Votes
    3 Posts
    384 Views
    UDGU

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

  • App locking up every few minutes (NP++ 8.6.x, Win 11)

    13
    0 Votes
    13 Posts
    684 Views
    Lycan ThropeL

    @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.

  • Notepad++ Keeps Losing Track of my Recent Files

    6
    0 Votes
    6 Posts
    498 Views
    xomxX

    @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)