• 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
    738 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
    212 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.

  • Unable to install Compare Plugin

    12
    0 Votes
    12 Posts
    88k Views
    pnedevP

    @BlaBlaCai ,
    Yes, ComparePlus can fully replace the older Compare plugin (it is Compare plugin’s clone with lots of improvements and additions).
    Using Compare plugin is a matter of user preference (if you don’t need the new functionality and you like more the synchronization between the views in compare mode - Compare plugin inserts empty lines to synchronize the documents which disables the undo possibility and ComparePlus uses another method to synchronize documents that appear to the user a bit “jumpy” but the undo is kept functional).
    I am no longer supporting Compare plugin, IDK if it is still supported by other people.

  • HTML & User-defined keywords

    13
    0 Votes
    13 Posts
    1k Views
    DomOBUD

    @PeterJones
    @mpheath

    Thanks for the solution, which will be implemented in v8.6.7.

  • Move to Other View moves the wrong file

    21
    0 Votes
    21 Posts
    5k Views
    mkupperM

    I’m thinking that it’s a design choice that the primary/secondary names of the views is not displayed. You can move files from one view to the “other” view. You can rotate the views. If you rotate twice then you have swapped them. When you close the last file in view then it vanishes and the remaining view runs in full screen mode.

    The default is the primary view on the left and secondary view on the right. When both views have files and thus are visible you can:

    Switch the focus between the views using F8. Snap a view to “full” screen using the little arrows at the top and bottom of the view divider. This is a bit confusing as you can’t snap back to the divided 2-view mode but instead need to drag the divider. The confusion increases after snapping when you see the little arrows pointing towards the outside edge of Notepad++ but they don’t do anything when clicked. The F8 switch between views does “nothing.” The first time you use the F8 toggle it shoves the divider over a few pixels but not enough to make the other view usable. Right click the divider bar and rotate the views. You can rotate right (which means clockwise) or left (which means counter-clockwise). If you rotate in the same direction twice you have reversed the positions of the views. A confusing aspect is when you have a view snapped to be visible and then do rotate twice then it snaps to the other view.

    One more detail that can be confusing is the handling of empty new # tabs. If an empty new # tab is the only thing in a view and then you move either a normal file or another new # (empty not) then the empty new # tab vanishes, if, and only if, it also does not have an undo buffer. Normally you can Ctrl+W close an empty new # and it’s silently destroyed, even if it has an undo buffer and is thus dirty. Notepad++ has an exception where it won’t auto-destroy a dirty new # tab if it’s the only thing in a destination view.

    When you close or move-out all of the tabs in the primary view then the secondary view snaps to full screen without a divider bar. The OP that started this thread was confused when then then did a “move to other view” which made the primary view visible. The OP does not mention rotating and so I assume that means the primary view was restored to the left side of the divider. The OP either had forgotten the view that had been looking at was the secondary view or had made the assumption that if only one view is visible that it must be the primary. The OP was confused that the “other” view popped up on the left when they had expected it to be on the right.

    Thus, while the view system has its quirks I don’t see a compelling case to make any changes to it. It may help to know why @Tim-Jarrett, the OP, or others are using the view system.

  • Replace all words that start with the letter F

    2
  • Auto-Insert Unicode characters does not work

    4
    0 Votes
    4 Posts
    864 Views
  • Need help for CNC code.

    6
    0 Votes
    6 Posts
    873 Views
    Terry RT

    @Radomir-Stojanović said in Need help for CNC code.:

    I have a recurring issue with the beginning and end of my code. I always have to replace the generic text with ‘%’ and manually add an ‘E’ at the end of the program whenever I rewrite it. Is there a way to automate this process?
    Whenever I get a new program, I have to correct F400. F200. (or any Fxxx. not to have a period at the end of Fxxx). Can I automate that as well?

    This can easily be done with 3 regular expressions (regex), however the 3rd one won’t be completely sorted, I will speak to that later.

    So using the Replace function we have the first one which deals with the “generic text issue”.
    Search mode must be regular expression for all 3 regex I’m showing.
    Find What:(?-s)\A(\([^)]+\)(\R))+
    Replace With:N0 %${2}
    Click on Replace All

    Now we deal with all the Fxxx. sequences.
    Find What:(F\d+)\.
    Replace With:${1}
    Again click on Replace All

    Finally the end line for the code. The primary problem here is that regex cannot count. So there isn’t an easy way for the regex to add 1 to the last line and write a new line with the incremented number and and E. So what my regex does is to write it with xx as the line number. So you would still need to change the xx for the real line number. Although I have provided this regex, I think it would be of limited value as you would still need to edit that last line.
    Find What:(?-s)(\R).+\K\z
    Replace With:${1}Nxx E

    These 2 (or 3) regex can be combined into a macro which is essentially the keystrokes recorded as you type them and once saved (with a name) can be re-run whenever you wish.

    Terry

  • Feature Request: Toggle Search Results Pane

    3
    0 Votes
    3 Posts
    467 Views
    Michael VincentM

    @Barry-Seymour said in Feature Request: Toggle Search Results Pane:

    If the search results pane has focus

    Press ESC = hide the panel

    Not a “toggle”, but a single simple keypress.

    Cheers.

  • 0 Votes
    3 Posts
    2k Views
    mr blintM

    Thank you for those tips. They are very useful.

  • How to change the Vertical Cursor (caret) color

    3
    0 Votes
    3 Posts
    782 Views
    James RichtersJ

    @PeterJones Thank you very much for the quick response and for the instructions on how to get the multi-edit carets color! Indeed I have a custom theme, and I did not realize it would not be updated automatically, or even that it was the theme that created the options in the style configurator.

    I added the line you suggested, as well as some others I noticed I was missing and it’s working GREAT now!

  • Search & F3

    4
    1 Votes
    4 Posts
    2k Views
    Alan KilbornA

    Notepad++ 8.6.6 will allow F3 and Shift+F3 to work while the Find or Replace windows have input focus.
    See point #6 here: https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate

  • F3/Shift-F3 as aliases for Find Next/Previous while find dialog is active

    3
    3 Votes
    3 Posts
    2k Views
    Alan KilbornA

    Notepad++ 8.6.6 will allow F3 and Shift+F3 to work while the Find or Replace windows have input focus.
    See point #6 here: https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate

  • Big files cannot opened in v8.6.4 (x64)

    26
    0 Votes
    26 Posts
    4k Views
    Klaus LehmannK

    @mkupper
    sorry, I’m an idiot. Of course I do use an 64bit-version.
    as I was beginning this discussion on march 23th 2024, I have used a very wrong “title” or “RE”: “Big files cannot opened in v8.6.4 (x84)”. This is wrong!
    every time I have installed and I’m using this “npp.8...Installer.x64.exe”. really.
    Does there exist an admin, who can change the titel? It would be lovely. thanks a lot. Yours Klaus

  • 0 Votes
    3 Posts
    551 Views
    PeterJonesP

    @Daniel-Essin ,

    Since you came back and created a new Topic (which I locked) about the same thing, you apparently forgot about this one. Please don’t create duplicate Topics.

    As Alan said, “it works for me”.

    However, looking at your list of plugins, there are a few there that I’ve never heard of… and when there is strange behavior in Notepad++, especially for something as core as double-clicking a word, the first place to look is in trying to disable plugins. This FAQ gives the procedure for how to check by turning off all plugins and one-at-a-time. (Yes, I know, you aren’t crashing; but the FAQ even admits that it’s useful for other situations where the plugin might be to blame.)

  • Going nuts on Windows

    Locked
    2
    0 Votes
    2 Posts
    252 Views
    PeterJonesP

    @Daniel-Essin ,

    No need to create a new Topic. You already complained about this here, and then never came back to that existing Topic.

    This topic is locked as duplicate.

  • Exporting pages from Hits?

    35
    0 Votes
    35 Posts
    5k Views
    Mark OlsonM

    @rjm5959 said in Exporting pages from Hits?:

    1S####-##C CENTRAL LOAN ADMINISTRATION YY/MM/DD
    LETTER LOG HISTORY FILE FOR NATIONSTAR MORTGAGE LLC1 PAGE ####

    I know nothing about the context in which you’re using this data, but are you sure that you’re not leaking confidential data to the internet by posting this here? Because if you are, consider anonymizing it.