• Feature Request Link Pop-Up Window

    4
    0 Votes
    4 Posts
    400 Views
    Alan KilbornA

    And another (new) one, which shouldn’t have been opened because the petitioner is the same: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15570 and has no excuse for opening a duplicate issue (clearly they knew of an already existing issue for it).

  • 0 Votes
    8 Posts
    1k Views
    PeterJonesP

    @mkupper said in Using EOL Windows Mode, pressing enter at end of line only puts a CR with no LF:

    @Chris-Zimmer What’s on the right side of your Notepad++ status line? Is it Windows (CR LF) or something else?

    You might want to check the dates. The user you @-mentioned asked the question in January 2020. Either Alan’s reply was helpful, or they’ve moved on to something else in the 4.5 years since asking about it. :-)

    Further, the title they assigned, “Using EOL Windows Mode, pressing enter at end of line only puts a CR with no LF” seems pretty explicit that the status bar would indicate Windows (CR LF).

    Both the original poster and the recent re-vivifier appear to have been dealing with a known (but often forgotten) “feature” of Notepad++, that if you remove the Enter shortcut from SCI_NEWLINE, that the ENTER key just inserts the CR, regardless of the newline settings (because it’s SCI_NEWLINE, not the ENTER key itself, that handles the per-setting newline insertion).

  • Looking for Title Case

    3
    0 Votes
    3 Posts
    503 Views
    guy038G

    Hello, @daniel-combs, @mark-olson and All,

    @daniel-combs, have also a look to this old post, below :

    https://notepad-plus-plus.org/community/topic/130/convert-case-to/4

    Best Regards,

    guy038

  • Repeated capturing groups

    7
    1 Votes
    7 Posts
    1k Views
    guy038G

    Hi, @joe-mccay, @coises, @mark-olson, @mkupper and All,

    Ah… yes, the @mkupper’s formulation of the search regex is very clever and quite clear, thanks to the free-spacing mode !

    I particularly like :

    The (?:,((?1)))? syntax, where you join the optional states of, both, the (?1) form and the comma

    The use of the leading i modifier to simplify the group 1 syntax

    Bravo !!

    BR

    guy038

  • How to disable cursor jumping to line start?

    4
    0 Votes
    4 Posts
    1k Views
    mkupperM

    @Valurian said in How to disable cursor jumping to line start?:

    When I click anywhere in a line the cursor is not currently in, and the beginning of the line is not currently visible, the window auto navigates to the start of the newly clicked line while also highlighting all the text between where I clicked and where the mouse pointer is hovering when this happens.

    I think I understand what you described. Let’s say we have:

    1 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua 3 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat 4 Duis aute irure dolor in dolore eu fugiat nulla pariatur 5 Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

    I made line 4 shorter than the usual lorem ipsum text. and added added a blank line at line 2. Copy/paste that into Notepad++ and resize the Notepad++ application so that is is narrow. Use the slider on the bottom of the Notepad++ window to scroll the window so that line 4, the short one, is no longer visible.

    Click in the white area that is line 4. Notepad++ will position the text cursor or caret at the end of line 4 and will jump the window so that one pixel of the character at the end of line 4 along with the caret or text cursor are is visible. The text cursor or caret will be at the very left edge of the visible window, but it’s not at the start of the line.

    Now click in the white area that is line 2, the empty one. Notepad++ will position the text cursor or caret at the end of line 2 and will jump the window so that the text cursor or caret is visible. As line 2 is empty we effectively jumped to the start of the lines.

    @Michael-Mazur suggested Enable virtual space in the preferences which is a good way to prevent Notepad++ from placing the text cursor or caret at the end of a line when you click in the area past the end of a line. This also means the Notepad++ window will not be jumped so that the text cursor or caret becomes visible. Virtual space mode may cause some surprises if you start typing in the empty space past the end of a line as Notepad++ will then silently add tabs and or spaces to pad the lines o that the text you added past the end of the line is at the column you clicked. If the line is empty Notepad++ pads with tabs and then spaces if needed. If the line already has text then Notepad++ pads with spaces.

    That all does not explain “while also highlighting all the text between where I clicked and where the mouse pointer is hovering when this happens” unless you have the shift key held down when you are clicking.

  • Create macros

    12
    0 Votes
    12 Posts
    1k Views
    PeterJonesP

    @victor said in Create macros:

    I need your help again, because there are new situations

    What about my previous solution doesn’t work for this one? What have you tried, what did it do, and what about the results didn’t match your desires? It’s not “help” if I just do all the work for you.

    ----

    Please note: This Community Forum is not a data transformation service; you should not expect to be able to always say “I have data like X and want it to look like Y” and have us do all the work for you. If you are new to the Forum, and new to regular expressions, we will often give help on the first one or two data-transformation questions, especially if they are well-asked and you show a willingness to learn; and we will point you to the documentation where you can learn how to do the data transformations for yourself in the future. But if you repeatedly ask us to do your work for you, you will find that the patience of usually-helpful Community members wears thin. The best way to learn regular expressions is by experimenting with them yourself, and getting a feel for how they work; having us spoon-feed you the answers without you putting in the effort doesn’t help you in the long term and is uninteresting and annoying for us.

  • How to I paste external text into Wordpad++ Vertically ?

    9
    0 Votes
    9 Posts
    716 Views
    CoisesC

    @L-Winters said in How to I paste external text into Wordpad++ Vertically ?:

    @Coises I’m not very computer savvy unfortunately so are you and @rdipardo suggesting that there is a way that I can add the command to my Notepad++?

    No. That little side discussion had to do with the programming behind Notepad++. It’s irrelevant to end users.

  • Is it possible to edit several columns at one time?

    3
    1 Votes
    3 Posts
    243 Views
    P

    I understand.
    Thank you for your answer.

  • Replace selected string with string enclosed in double quotes

    4
    0 Votes
    4 Posts
    498 Views
    CoisesC

    @ConjugateGrad said in Replace selected string with string enclosed in double quotes:

    The In Selection option apparently does nothing in this context.

    In selection only applies to Replace All, not Find Next or Replace. If you look closely at the dialog, you can see the box drawn around In selection and Replace All to indicate that.

  • How to search only the columns of first row in <table>

    5
    -1 Votes
    5 Posts
    579 Views
    CoisesC

    @Paramesh-Paramesh said in How to search only the columns of first row in <table>:

    But, I have 1576 xml files in all files this changes has to be applied. Is this can be done??

    The second method I suggested, using Columns++, only works one file at a time.

    The first method, explained in the FAQ I linked, can be used for multiple files by using Search | Find in FIles (or, equivalently, by switching to the Find in Files tab in the Replace dialog).

    I strongly suggest that you make a copy of the folder containing these files and work on the copy first, as you won’t be able to use undo on multiple files if something goes wrong. Try to follow the FAQ, look at the relevant sections of the online manual, and see what you can work out.

    You might need more help, and it’s OK to ask… after you try your best on your own first and can show us what you’re trying and what isn’t working.

  • Toolbar icons are missing

    10
    0 Votes
    10 Posts
    3k Views
    PeterJonesP

    @palur76 ,

    If that helped, then you were using CustomizeToolbar plugin. Why did you say you weren’t?

  • 0 Votes
    4 Posts
    985 Views
    EkopalypseE

    @mabangde0

    see here for a solution to your problem

  • Newest update to NP++ and all my action icons are gone

    3
    0 Votes
    3 Posts
    336 Views
    Frank Clarke 0F

    I have that button marked in Toolbars. Apparently I’m at 4.2 for Customize_Toolbar.

    My debug info:
    Notepad++ v8.6.9 (32-bit)
    Build time : Jul 12 2024 - 05:08:26
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    Periodic Backup : ON
    OS Name : Windows 10 Home (64-bit)
    OS Version : 22H2
    OS Build : 19045.4780
    Current ANSI codepage : 1252
    Plugins :
    DSpellCheck (1.4.16)
    mimeTools (3.1)
    NppCalc (1.5)
    NppConverter (4.6)
    NppExport (0.4)
    NppFTP (0.29.6)
    NppTextFX (0.2.6)
    PreviewHTML (1.3.2)
    SpellChecker (1.3.3)
    Tidy2 (0.2)
    _CustomizeToolbar (4.2)

  • I can't record macros.

    3
    0 Votes
    3 Posts
    295 Views
    Luis Piña IIIL

    For some reason today it works. I have restarted many times yesterday. Here is my debug info:

    Notepad++ v8.6.8 (32-bit) Build time : Jun 4 2024 - 00:29:00 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF Periodic Backup : ON OS Name : Windows 11 Home (64-bit) OS Version : 23H2 OS Build : 22631.4037 Current ANSI codepage : 1252 Plugins : FoldingLineHider (1.1) PythonScript (2)
  • Can i copy individual lines to clipboard

    3
    0 Votes
    3 Posts
    178 Views
    __

    @PeterJones Oke very thanks, have a good day.

  • 1 Votes
    3 Posts
    188 Views
    Billy GatesB

    Hi @Alan-Kilborn

    yes that works!
    Thank you very much!

  • large selection behavior changed?

    5
    0 Votes
    5 Posts
    333 Views
    mkupperM

    @TBugReporter It may also be an issue that is happening this week. The second Tuesday of a month is Microsoft’s “Update Tuesday”. Microsoft’s update process will lock the c: file system, do a bunch of stuff, and then unlock for a moment.

    My desktop is getting clobbered and it’s particularly noticeable when dealing with large files in Notepad++. For example, today Notepad++ performance is sluggish but usable for normal size files. I opened a 175 mb (3 million line) file in Notepad++. Ctrl+End to get to the bottom of the file hung Notepad++ for about a minute. Now when I switch to another tab for a normal file it snaps over to the new tab. I switch back to the large file and it hangs for eight or nine seconds before it shows me the tab.

    It does seem like Notepad++ and/or Scintilla does an unusual amount of something to figure out what needs to get painted when the view window is at the bottom of a large file. I ran a profiler but there’s next to zero disk I/O from Notepad++ when switching tabs. It checks the files on-disk size and time stamps as part of switching but that operation took 13 microseconds. Without a bunch of time consuming digging, I have no idea why Notepad++ is stalling for eight or nine seconds.

    I did verify that it’s the scroll window being at the bottom of the file and not the caret position. I also saw that Notepad++ hangs with seemingly zero system calls and then after eight or nine seconds there is that 13 microsecond burst of activity.

    I suspect the machine will get back to its normal speedy self once the Windows updates plus Microsoft Defender stuff is done.

  • Define File type

    2
    0 Votes
    2 Posts
    434 Views
    Mark OlsonM

    @Morvyn-Finch

    Yes, you can restrict the files you want using the Filters field, as described in this documentation.

    That said, you are most likely going to be very disappointed if you try to search PDFs or Word documents with Notepad++, because Notepad++ is a text editor, not a word processor.

    If you want to search all kinds of documents (not just text documents), I recommend dnGrep, a free and open-source file searching tool. That said, further discussion of dnGrep would be off-topic for this forum.

  • Text file search and replace using lookup table

    3
    0 Votes
    3 Posts
    516 Views
    nazooks99N

    @Alan-Kilborn
    I see, sorry about that, I had searched around but didn’t find what I was looking for, probably didn’t search for the right keywords. This works perfectly, you’re a life saver! Thanks so much!!!

  • HTML code not running properly

    3
    0 Votes
    3 Posts
    206 Views
    Amir CA

    @Coises
    Oh I see went back and fixed those errors and it’s working now appreciate it