• Highlighted line endings

    4
    0 Votes
    4 Posts
    307 Views
    Rick UdlockR

    Problem solved. In the View->Show Symbol menu the Show All Characters item was checked. Clearing it fixed it. I have been using Notepad ++ for several years, and I had never changed anything in that menu choice until today. Thanks for the help.

  • need a way to mark where the page breaks are

    2
    2 Votes
    2 Posts
    232 Views
    Alan KilbornA

    If the 64th line of a group happens to fall on a blank line with no content, the Mark operation would not show that – no text to color red.

    To solve this case, perhaps using “bookmarks” will help. Add this condition to the original Mark All operation:

    Bookmark line: ticked

    This would show like this on an affected line:

    6d95e93c-5c1d-4e36-9d28-fda41ba760c6-image.png

  • Number conversion feature or plugin

    13
    1 Votes
    13 Posts
    8k Views
    mylittleplaceholderM

    @Alan-Kilborn I think I’ll duplicate it and make “hex to decimal.py” and “decimal to hex.py” to skip the dialog. Very helpful.

  • Change color of text after the echo in batch

    13
    0 Votes
    13 Posts
    1k Views
    EkopalypseE

    @amymor @Alan-Kilborn

    I suppose that I have found the cause of the problem
    It looks like calling NPPM_GETLANGUAGENAME with a value of -1 can cause npp to crash. I assume this also applies to NPPM_GETLANGUAGEDESC, as I suspect the problem manifests itself when getLangDesc is called.

    Thread 1 received signal SIGSEGV, Segmentation fault. 0x00007ff6413bc493 in notepad++!GetNameSpace () (gdb) bt #0 0x00007ff6413bc493 in notepad++!GetNameSpace () #1 0x00007ff6413d8f2d in notepad++!GetNameSpace () #2 0x00007ff6413dab12 in notepad++!GetNameSpace () #3 0x00007ff6413d4ce1 in notepad++!GetNameSpace () #4 0x00007ffd14c0e858 in USER32!CallWindowProcW () from C:\WINDOWS\System32\user32.dll #5 0x00007ffd14c0e3dc in USER32!DispatchMessageW () from C:\WINDOWS\System32\user32.dll #6 0x00007ffd14c20bc3 in USER32!SendMessageTimeoutW () from C:\WINDOWS\System32\user32.dll #7 0x00007ffd16ed0d74 in ntdll!KiUserCallbackDispatcher () from C:\WINDOWS\SYSTEM32\ntdll.dll #8 0x00007ffd14251124 in win32u!NtUserMessageCall () from C:\WINDOWS\System32\win32u.dll #9 0x00007ffd14c0df02 in USER32!SendMessageW () from C:\WINDOWS\System32\user32.dll #10 0x00007ffd14c0d68a in USER32!SendMessageW () from C:\WINDOWS\System32\user32.dll #11 0x00007ffce3751888 in notepadpp__Npp_call (n=..., msg=2107, wparam=18446744073709551615, lparam=0)

    I add a check in EnhanceAnyLexer to prevent calling it in this case

    pub fn(n Npp) get_language_name(buffer_id usize) string { lang_type := n.call(nppm_getbufferlangtype, buffer_id, isize(0)) if lang_type == -1 { return 'UNKNOWN_ERROR' } mut buffer_size := int(n.call(nppm_getlanguagename, usize(lang_type), isize(0))) + 1 mut buffer := alloc_wide(buffer_size) n.call(nppm_getlanguagename, usize(lang_type), isize(buffer)) lang_name := unsafe { string_from_wide(buffer) } return lang_name.to_lower().replace('udf - ', '') }

    An issue has been opened.

  • comment symbol @ empty lines

    6
    0 Votes
    6 Posts
    776 Views
    qwertz_1234Q

    @PeterJones Thank you!

  • Notepad++ question

    3
    0 Votes
    3 Posts
    259 Views
    Kavita ShettyK

    Thanks Peter, it worked. :)

  • How do you color certain text after a keyword in notepad++?

    31
    0 Votes
    31 Posts
    4k Views
    PeterJonesP

    @Neil-Schipper said in How do you color certain text after a keyword in notepad++?:

    you described here

    Oh, come on, that was more than a day ago. I can’t seriously be expected to remember something from that far back! ;-)

  • Space Folding

    4
    0 Votes
    4 Posts
    398 Views
    Alan KilbornA

    @Matt-pointvicente

    If you “disagree” with that well than so be it.

    I think Peter is willing to take your complaint seriously, as long as you can provide what he asked for, specifically from above:

    If you disagree with my experiments, please show example text…

    As it is, you’ve given nothing but an additional whine.

  • Cannot see network drives anymore

    5
    0 Votes
    5 Posts
    358 Views
    Alan KilbornA

    @Nancy-Tietz

    I, like Terry, have some advice about multiple instances, but mine is much more concise: Don’t do it, the potential problems (most of which are outlined by Terry) outweigh whatever possible advantage you think you are achieving.

  • User Defined Language: highlight up until colon

    5
    0 Votes
    5 Posts
    1k Views
    sseeringS

    @PeterJones

    Thank you. I’ll try this solution as well.

  • Quickie Question -- Which do I install?

    5
    0 Votes
    5 Posts
    1k Views
    Alan KilbornA

    @Alpha-LeFactor said in Quickie Question -- Which do I install?:

    Installing software makes me nervous, these days.

    I feel your feeling.
    But with Notepad++, you’re good.
    But maybe I don’t totally believe this because I’ve never installed it – I’ve only used the portable version.
    Perhaps you didn’t know this exists?
    Nobody has ever convinced me there are benefits to the installed version.

  • Can't save on webdav

    2
    0 Votes
    2 Posts
    426 Views
  • Need to Change multiple rows to Columns

    14
    0 Votes
    14 Posts
    3k Views
    A

    @Terry-R Thank you so much for your help.

  • 0 Votes
    4 Posts
    9k Views
    Terry RT

    @Emalino-Emalero said in How to delete a stipulated number of letters at the beginning of each line?:

    Wouldn’t it be possible to implement this function in text mode in the program?

    Possible yes, probable, unlikely. Since this uses a rudimentary expression that easily covers the process.

    There is another idea that works without regular expressions, it involves the use of a box that covers all 5 characters of all the lines. So you use Ctrl+Alt+mouse button which allows creating a box around the first 5 characters (or any number). Then you’d delete.
    fb8ef8c0-5aba-446b-90b4-83b47e3f7ad8-image.png

    Terry

  • Differing character counts

    3
    0 Votes
    3 Posts
    855 Views
    Alan KilbornA

    Or, it could be a problem similar to this one, in regards to two things that seemingly look identical, are really not:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11999

  • Yet another TextFx feature help request - CSV Column Line Up

    2
    0 Votes
    2 Posts
    621 Views
    PeterJonesP

    @Nando-Piscopo ,

    When you know it’s “yet another TextFx” question, have you considered looking to see if it’s a FAQ? Because it is. And as the “LineUp” entry in that FAQ suggests, Elastic Tabstops plugin might help you line up columns (though it’s been a while since I’ve used it, and I don’t remember if it has that specific column-feature or not).

    That said, the FAQ also links you to the NppTextFX2 plugin, where someone took the original TextFX code and made it compatible with Notepad++ v8.4-and-newer (though there might still be one or two features which aren’t working … if you find missing/broken features, file a bug report with the NppTextFX2 repository)

    FYI: the plugins CSV Lint (which allows each column to be colored differently, to help visualize columns even without the LineUp feature) and CsvQuery (which makes it easy to search big CSV, if you know SQL syntax) are generally considered useful when working with CSV files as well.

  • Joining every 100000 lines into 1 line

    4
    0 Votes
    4 Posts
    433 Views
    M PM

    @Terry-R @guy038 Thank you so much! You guys saved me a lot of time. It works perfectly accurate

  • Notepad++ VERY slow to open

    15
    0 Votes
    15 Posts
    9k Views
    EkopalypseE

    @Jeff-Esposito said in Notepad++ VERY slow to open:

    What is it and why is it doing this?

    Glad to hear you figured it out, and sorry for the late reply, but I try to stay away from the computer on weekends.

    Windows provides the ability to collect statistics about running processes, and that is what procmon uses. I don’t think profiling information is particularly useful in most cases. The only scenario I can think of is if you are developing a driver that is loaded by the kernel, then you can get the information if it is working fast enough or leaking memory by comparing the collected values.

  • 0 Votes
    3 Posts
    271 Views
    Doug RobinsonD

    @Terry-R OK, so RTFM. lol Fair enough. Thanks!

  • dark mode & Compare plugin

    7
    0 Votes
    7 Posts
    9k Views
    Sserddae KaflaerS

    I forgot to mention some things in my earlier post:

    The scripted switch between light and dark mode doesn’t work while Notepad++ is open. You have to close it, run the script and open it again (should be no problem if Notepad++ remembers the current session for the next launch and regular backups are made).

    For Linux-users: setting custom colors in the Compare plugin settings windows doesn’t work (at least on my Mint box, probably because of a link to a missing Windows system color picker). You have to modify the color codes manually in the config files. If you stick to dark mode all the time, you can just set the custom colors once in ComparePlugin.ini and omit the custom light and dark config files and the switching scripts.

    @Phantom-Lord: coincidentally, I called my script to switch to light mode “Hit the lights” (Metallica in-joke).