• can't search backwards in regular expression mode

    7
    0 Votes
    7 Posts
    3k Views
    Alan KilbornA

    @gstavi said:

    I guess the sometimes surprising results mainly apply to the Find ALL and Replace ALL options rather than the Find.

    From my understanding it is the opposite of what you said.
    The “all” operations always move only forward through the text when doing their work, again AFAIK.
    Even “Replace All” with “backward” direction (in non regex search modes) moves forward when it does the replacement! You just don’t see how it is doing it because it does it all at once.

    Ah, when you said:

    since the user can’t tell the difference.

    you were considering this!

    There is absolutely no sense in Finding ALL with backward search.

    Seems true…

    “ALL” options should be grayed out when “backward” checkbox is selected.

    That gives the higher power to the checkbox rather than the buttons. I think the devs wanted it the other way. Just a guess.
    Good UI/UX design is really hard.

  • Notepad++ YouTube Video Tutorials

    1
    4 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    6 Posts
    295 Views
    MartijnM

    I see

    The 2nd command is replaced with \n and should be attached \ \n together (double backslash).

  • Find in all files

    16
    0 Votes
    16 Posts
    2k Views
    Mrr JackM

    @PeterJones I guess you didn’t understand me, or you don’t want to. I was unsure between these two.
    You don’t need to teach me how to use the program or talk about hammer nails @PeterJones.
    I have stated that in the old versions (even if there is a usage error) the program did not crash, it gave a warning in the anormal state . @PeterJones
    While I was bringing up the subject , i was not aware of why this situation was happening @PeterJones. Because it was closing directly without any notification. As time progressed, I resolved the situation and stated here . @PeterJones
    I hope you understand me now @PeterJones.

  • Cannot Install New Plugins

    7
    1 Votes
    7 Posts
    503 Views
    Michael TarkowskiM

    I had to move my installaion to C:\Program Files\Notepad++ and everything worked.

    Thank you for your help. All set.

  • can I have drag n drop text disabled?

    4
    0 Votes
    4 Posts
    579 Views
    Alan KilbornA

    @PeterJones said in can I have drag n drop text disabled?:

    I wouldn’t be surprised if the drag-and-drop of text is defined in the Scintilla component,

    It most certainly is.
    One can have a look at Scintilla’s Editor.cxx and search for inDragDrop to see some of the code.

    I cannot (say) that I’ve accidentally done a drag-and-drop on selected text…

    Never happened to me.

    Best advice to @Kara-Kitai : Just live with it the way it is.

  • Newbie here, a few quick questions!

    17
    0 Votes
    17 Posts
    840 Views
    EkopalypseE

    @mere-human

    From my recent discussion with Don and as Alan mentioned, Don prefers the opinions of “normal” users and to get his attention, those users need to open issues on github.
    Linking to previous discussions here in the community could
    be counter productive.

  • join 2 txt with alignment

    15
    0 Votes
    15 Posts
    718 Views
    cisco779kC

    how many useless controversies, as usual. I don’t really understand what’s suspicious about my request… I repeat it is a personal file of mine, and it is nothing so evil as it has been painted by those who have started this whole discussion. I really do not understand this totally inappropriate reaction.
    and perhaps only thing, you are right to say that here many ask for help while perhaps the real intent of this forum is to talk about the notepa++ program, but it is also true that many other users here ask how to solve their problems with reg-ex and other solutions, I am not the only one asking for help on this.
    Having said that then it is up to you to help or not, responding or not to the various posts. but having said this all the other controversies about a potentially legal file or not i find them really superfluous and useless, as already said a time ago …

  • 0 Votes
    5 Posts
    578 Views
    QQ LUOQ

    @PeterJones Got it, thanks, I configed in config.xml and it work now

  • 0 Votes
    4 Posts
    277 Views
    Alan KilbornA

    @Mrtnkbg said in The Select folder window is positioned with Ok and Cancel buttons outside the screen:

    instead of the usual(?) windows standard which resets windows/pop-ups to the default size during the next application session

    I’m not sure that is a “windows standard”.
    And that behavior would annoy me.

    Example: I have my Find window positioned on a different monitor than my maximized main N++ window. If, after a restart of N++, my Find window appeared in the default (e.g. new install) location – centered on the N++ main window – I’d be one unhappy user.

  • Move Controller

    17
    0 Votes
    17 Posts
    652 Views
    Javier RivasJ

    @Terry-R Thank you, I will look at that, and as I was posting my last comment, I found that plugin and it did what I needed, I will practice regex, and see if I can build something

    Once again thank you

  • Add command icon?

    2
    0 Votes
    2 Posts
    214 Views
    Alan KilbornA

    @Dick-Douglas You can try the Customize Toolbar plugin, but some people have found it balky.

    Ctrl+Alt+s is the default shortcut keycombo – that’s a fairly fast option.
    Also, pressing Alt+f, releasing that and then pressing “a” is pretty fast.
    And SaveAs is present on the menu that appears when you right-click a tab.
    If all that is not to your liking, it is also possible to add it to the right-click context menu (that appears when you right-click on the text you are editing), although I hardly see the advantage to that over right-clicking the tab.

    A lot of options presented here, without having to resort to using a plugin to get a toolbar icon…

  • Updating through npp occurs very late

    12
    0 Votes
    12 Posts
    723 Views
  • Line wrap in the current version

    36
    0 Votes
    36 Posts
    7k Views
    Alan KilbornA

    @Alan-Kilborn said in Line wrap in the current version:

    So I came up with an In Selection Replace All action that will do the joining of lines and reduce any leading indents down to one space

    I didn’t explicitly say it, but hopefully it was understood that I would use that on groups of lines that start out indented at the same level, NOT on a whole big set of lines that has various sections indented to differing levels. That wouldn’t work (well, it would work but wouldn’t provide a desired outcome).

  • Find Begin/End setting

    21
    0 Votes
    21 Posts
    8k Views
    Javier RivasJ

    @guy038 thank you

  • Find option

    2
    0 Votes
    2 Posts
    296 Views
    guy038G

    Hello, @mathenay-lankou and All,

    Here is a regex solution :

    Open your list of strings. For instance : France Table Street England StreetView

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?-is)^(Street)$|(.*(?1).*)|(.+)

    REPLACE $0(?1 100%)(?2 50%)(?3 0%)

    Tick the Wrap around, preferably

    Select the Regular expression search mode

    Click on the Replace All button

    => You should get the expected list, below :

    France 0% Table 0% Street 100% England 0% StreetView 50%

    If I’m on the right way, I’ll explain you the regex details, next time ;-))

    Best Regards,

    guy038

  • Find, Replace, and Count

    26
    0 Votes
    26 Posts
    1k Views
    Javier RivasJ

    @Ekopalypse good night, and thank you for all the help, it would be cool if it can just set it up automatically, I will provide when I get the chance, a timestamp we use

  • Apply sentence case while typing in markdown files

    10
    0 Votes
    10 Posts
    580 Views
    EkopalypseE

    There also seems to be free stuff here.
    https://languagetoolplus.com/http-api/#/default

  • A little help please

    6
    0 Votes
    6 Posts
    356 Views
    Alan KilbornA

    @astrosofista said in A little help please:

    To take advantage of the “copy marked text” option you need v7.9.1.

    …or later!

  • Restore right margin word wrap as in 7.8.5

    18
    2 Votes
    18 Posts
    2k Views
    dinkumoilD

    @Alan-Kilborn

    Yes, I have seen this effect, too. It seems like character spacing is slightly smaller when DirectWrite rendering is activated. I tested some minutes ago with Npp v7.9.1 and saw that with DirectWrite the Scintilla window showed 85 characters and with standard rendering it showed 83 characters. In pixels the difference was 17 px.

    Here are screen shots from my test, captured with a screen magnifier:

    ca999e07-59f7-4bbe-a633-d6f651f7dfea-grafik.png

    561a4be7-53af-4fd8-b457-1b661f0b2804-grafik.png

    Unfortunately this issue causes the Horizontal Ruler plugin to draw an inaccurate ruler - Scintilla’s edge line is drawn at the correct position (after column 80) but the plugin’s ruler shows column number 88 at this postion:

    bf029625-d4bf-46a9-ac17-0b7af81c3344-grafik.png