• Lost my R style settings with 8.6.7 update.

    6
    0 Votes
    6 Posts
    657 Views
    PeterJonesP

    @Mark-Johnson said in Lost my R style settings with 8.6.7 update.:

    Select Theme: DarkModeDefault

    Then saving stylers.xml will not be enough for you. As I said, each theme stores its style-configurator settings separately. If you want to save customizations to DarkModeDefault, then you would have to backup %AppData%\Notepad++\themes\DarkModeDefault.xml (or, for other users who aren’t using AppData, in the appropriate Config File Location, as linked above)

  • Use of Mathematical equations between two highlighted amounts.

    3
    0 Votes
    3 Posts
    221 Views
    Alan KilbornA

    As a few lines of PythonScript, it could be a simple as:

    num1 = int(editor.getTextRange(editor.getSelectionNStart(0), editor.getSelectionNEnd(0)).strip()) num2 = int(editor.getTextRange(editor.getSelectionNStart(1), editor.getSelectionNEnd(1)).strip()) print(num1 - num2)

    But of course there are always concerns about error checking (what if there aren’t two selections…what if selected text isn’t numeric…etc) and then also is integer math sufficient, or is floating point wanted…

  • Absolute text editor newbie with a question

    3
    0 Votes
    3 Posts
    445 Views
    Kevin KorotevK

    @Coises
    I can’t Thank-You enough for that “hold my hand” response. It kind of worked the first time. I made an alteration based on your descriptions and it worked perfectly the second time.
    Now I fine tune!
    Wow, I opened a can of worms with this project!
    Thanks so much,
    Kevin Korotev

  • Unable to change font size in dark mode

    2
    0 Votes
    2 Posts
    221 Views
    PeterJonesP

    @Arthur-Schwarez ,

    Settings > Style Configurator > Language: Global Styles > Style: Default Style > Font Style > Font Size does change the font size:

    before after 5315cda3-ac6e-43ab-9d32-868069c62d85-image.png 2977b621-28aa-455c-9876-9dc19f5952a6-image.png

    Since your breadcrumb trail was missing the Style: column entry, I have to assume you were trying to change the Style: Global override without having the checkbox marked; but don’t ever change Global Override (<jediMindTrick>This is not the setting you are looking for</jediMindTrick>). As I showed, it’s the Style: Default Style that you want to change in order to get it to be properly inherited throughout your theme.

    See the User Manual’s Global Styles section for more on the difference between Style: Global override and Style: Default Style

  • See if notepad++ meets some of my needs

    7
    0 Votes
    7 Posts
    581 Views
    wonkawillyW

    @Alan-Kilborn said in See if notepad++ meets some of my needs:

    @wonkawilly
    probably not worth discussing further…

    I also agree

  • Unnecessary Pop-Up after manual file reload.

    8
    0 Votes
    8 Posts
    644 Views
    Alan KilbornA

    @mkupper

    Sure…but that’s why I said “reasonably”.
    It’s certainly easy to just talk about it and not try to implement it.

  • How can I migrate/backup my Notepad++ in its entirety?

    3
    0 Votes
    3 Posts
    2k Views
    R

    @mkupper
    Thank you. The solution I found for me was basically installing identical ver. of Notepad++ on Computer 1 and Computer 2.
    Then regularly uploading all my .txt files that are opened in Notepad++ to a cloud FTP.
    And also uploading session.xml from %appdata%/Notepad++.
    Before using Notepad++ on my Computer 2, I would just use a simple .bat file to download all those .txt files and .xml

  • Template creation

    3
    0 Votes
    3 Posts
    380 Views
    Alan KilbornA

    Let’s see what OP says about it, but I’d assume that a “template” means: When you create a new document (e.g., Ctrl+n), it doesn’t appear as an empty document, but with some boilerplate text of your choosing.

  • Mach 3 not opening the notepad corectly

    3
    0 Votes
    3 Posts
    338 Views
    mkupperM

    @sal_gomez91 - It looks like you are not providing the full path to the file when you try to open it.

    In your first photo the path looks like 0.0.1.214\cnc$\PROGRAMS - MASTER\Mintech 4 - Engraver\01 - In Process\CHAIN - HOTCH POTCH_203600 - Engraving Fixture_Setup_1.nc The very left edge is cut off in the photo and so I don’t know what it’s supposed to start with.

    In the second photo it looks you entered the path in the second photo as MASTER\MASTER\Mintech. As you did not have the ...0.0.1.214\cnc$\PROGRAMS - prefix Notepad++ took a guess that the file was in C:\Program Files\Notepad++ and showed you the not-found error.

  • How to make cursor larger ?

    9
    0 Votes
    9 Posts
    4k Views
    PeterJonesP

    @julianop said in How to make cursor larger ?:

    @Victorel-Petrovich: I, for one, would very much like the option of a more “significant” cursor
    … : my eyes aren’t what they used to be, and even with a three pixel vertical line and a fast flash it sometimes takes a moment or two to find the cursor.

    Settings > Preferences > Editing 1 > Caret Settings allows up to 3 pixels wide for the “vertical line” version… if that’s not enough on its own, then Settings > Style Configurator > Language: Global Styles > Style: Caret colour and … > Style: Multi-edit carets color allows you to change the color for the caret (for normal or multi-edit mode) to make it even more obvious to your eyes. And if that’s still not enough, the Caret Settings allow Block or Block after options, which make it a full character wide, rather than being limited to 3 pixels.

    I don’t know why it’s called a “caret” in NP++: that’s the name given to the little top hat accessed by shift-6 on the US keyboard

    81bccd47-b0a6-4fd7-817c-43cf44180e06-image.png

    Notepad++ uses this alternate term “caret” to indicate the text insertion point, to disambiguate it from the “cursor” which almost always refers to the “mouse cursor” in modern GUIs when used without a disambiguation prefix. Calling it “caret” is easier than saying “text cursor” throughout the GUI and User Manual, and follows computing terminology that’s been around for decades.

  • Show only lines that contain a given search argument

    9
    0 Votes
    9 Posts
    719 Views
    Petra HandwergP

    @Alan-Kilborn said in Show only lines that contain a given search argument:

    And more of what you maybe didn’t know: If you right-click in the Search results window, the popup menu will have a Copy choice and a Copy Lines choice – Copy will get the “Line nn:” info with the line data, whereas Copy Lines will get ONLY the line data.

    Oh, great tip, thank you! I wasn’t aware that the result section has its own context menu.

    Good to know!

  • Run .bat from Notepad++

    10
    0 Votes
    10 Posts
    7k Views
    Alan KilbornA

    Can I use any of the menus in Notepad++ like Run … just to execute the .bat file. If you ask me to open Run command, then I can just go the back to the desktop to run the file which is more easy.

    If you create a Run menu item for this and then pick a keycombo that will execute this item, how much more easy can it get than to press the chosen keycombo when you want to run it? Certainly this is much easier than mousing over to the desktop and double-clicking something.

  • Notepad++ for Android

    Locked
    18
    0 Votes
    18 Posts
    126k Views
    PeterJonesP

    @Alan-Kilborn ,

    Indeed. This discussion played out all pertinent information years ago. I am locking it, as it seems to be attracting AI-generated recommendations for other software, or attracting posts by people who write essentially the same stuff.

  • Add option to "switch"

    3
    5 Votes
    3 Posts
    233 Views
    Alan KilbornA

    If Rotate to right and Rotate to left were made into commands in the N++ menu system (instead of just things on a popup menu for the view splitter control), then it would already be possible to make a macro that would execute one of them twice, thus providing the requested functionality.

    So maybe an equally good new feature request would be for such new menu command items.

  • Closing an unsaved tab and losing (valuable) data

    4
    2 Votes
    4 Posts
    390 Views
    Alan KilbornA

    @Alan-Kilborn said in Closing an unsaved tab and losing (valuable) data:

    What exactly IS the question?

    Apparently there was no question, just someone seeking an upvote so they could spam…
    Find something to do, losers, maybe go outside and enjoy nature…anything is better.

  • Setting right column limit

    5
    0 Votes
    5 Posts
    6k Views
    mildlymoronicM

    @PeterJones been manually making documents 128 characters wide for the longest time, thank you for explaining how notepad++ can do it for you

  • quick toggle multi-line tab on/off.

    5
    0 Votes
    5 Posts
    657 Views
    Alan KilbornA

    @Teasy said in quick toggle multi-line tab on/off.:

    it’s possible to toggle the tab bar with a single shortcut key

    Well, what you linked to isn’t exactly what @Jergen-Ross-Estaco wants.
    What you linked to will toggle between having the tabs visible in their current state (either single line or multi-line) and the tabs invisible.

    That’s different from wanting to toggle between single-line tabs and multi-line tabs.

  • 1 Votes
    2 Posts
    186 Views
    CoisesC

    For what it’s worth, here’s my best try (until I think of another wrinkle) as to how it should work:

    These points apply when the clipboard contains more than one line and the current selection is a rectangular or thin selection. Other cases are not affected.

    Pasting into a rectangular selections always treats each line of the clipboard as corresponding to a new line in the selection. It doesn’t matter whether the original was an ordinary stream selection, a multiple selection or a rectangular selection.

    The paste affects the lesser of the number of lines in the clipboard and the number of lines in the selection. If there are more lines in the clipboard than in the selection, they are ignored; if there are more lines in the selection than in the clipboard, the excess lines are left alone (not deleted, as they are now).

    If the rectangular selection is zero-width (or is a thin selection), each line of the clipboard is pasted as-is into the corresponding line of the selection.

    If the rectangular selection is not zero-width, the clipboard lines are blank-padded to match the length of the longest line in the clipboard, except that if the selection in a line ends at or after (i.e., in virtual space) the end of a line, the replacement text is not padded; and if the selection in a line ends with a tab character, the replacement text is not padded, and the final tab character is retained unless the replacement text also ends with a tab character.

    If the rectangular selection was zero-width, the same selection remains after the paste.

    If the rectangular selection was not zero-width, after the paste create a zero-width rectangular selection at the right boundary of the pasted content. (This will included retained tabs or virtual space as needed.)

    But even I think that’s too complicated, and bound to have unforeseen problems. I might implement it as an option in my plugin, but I think it’s unrealistic as a part of the main program.

  • Changing icons in Notepad++

    10
    3 Votes
    10 Posts
    8k Views
    PeterJonesP

    @ClearView said in Changing icons in Notepad++:

    This is the first time I looked for the Notepad plus plus discussions and was a bit unsure where posts are actively monitored - here or at Github

    It depends on what you mean by “monitored”: if you just mean, “someone will read and maybe respond”, then both are monitored; if you mean, “someone with the authority to decide whether to implement a change will read and track the request”, then it’s only at GitHub. Here, we are just a bunch of Notepad++ users, trying to help each other. There, it is the official feature-request and bug/issue tracker where the Developer gets to make decisions on what to implement/fix and what not to.

    In general: discussions and questions go here, in the Community Forum; official feature requests and bug reports must go in the GitHub issues tracker.

    (I put in the cross-links between the two, not to discourage you, but so that someone who was only reading here would know there was also an issue that might potentially be implemented over there; and so that if someone was reading it only on GitHub, they could come see the context of any discussion that came here.)

  • I have a problem.

    4
    1 Votes
    4 Posts
    1k Views
    G

    As for 15.05.2024 most recent update there is no sex.
    “The best things in life is free. NotePad++ is free so Notepad++ is the best.”
    Is what writen right now. I just surprised that it got changed.