• Find and Replace in Column Selection Mode

    4
    0 Votes
    4 Posts
    486 Views
    Alan KilbornA

    @alan-kilborn said in Find and Replace in Column Selection Mode:

    I will be posting a Pythonscript with this capability “soon”.
    Watch for it.

    This was finally done HERE.

  • Opened files tab vertical, but with horizontal buttons

    5
    0 Votes
    5 Posts
    1k Views
    guy038G

    Hello, @grzegorz-szyszło, @peterjones, @alan-kilborn and All,

    OMG ! I must had been very tired, yesterday, when I posted ! Of course, you’re right ! Thanks, Alan.

    BR

    guy038

    P.S. :

    So I suppose that this option, below, is quite useless !!

    8b3f3fff-5944-454f-bc9d-11ff25f9adc2-image.png

  • Language definition file has no effect... why?

    2
    0 Votes
    2 Posts
    578 Views
    PeterJonesP

    @jonathan-sachs ,

    User Defined Languages do not show up in the alphabetized Language > R or similar… they show up at the bottom of the Language menu, below the Language > User Defined Language > … submenu (for your v8.1.3; or, if you are in as old of a Notepad++ as Steen-Hultin’s UDL screenshots show, below the Language > Define Your Language…).

    e3d44579-0ec0-439b-996e-a50408847df3-image.png
    … in my screenshot, ABC, Markdown (preinstalled), Markdown (preinstalled dark mode), and TI-Basic are all UDL that I can select.

    The file UserDefineLangs.xml contains an entry for this UDL.

    If that’s true, then Language > reStructuredText should show up near the Markdown entry, and Language > Define Your Language (or in a modern Notepad++, Language > User Defined Language > Define Your Language) should have reStructuredText in the User Language pulldown – see that mine shows the same languages in that pulldown that were in my menu screenshot:
    fe9a377a-d24f-43a1-989f-e69c334017b4-image.png

    If you cannot figure it out from this, you might want to give us a screenshot of one or both of those locations to aid in debugging, along with going to the ?-menu Debug Info entry, clicking on the Copy debug info into clipboard hyperlink, and paste that into your reply as well.

  • Remove Repeated Words and Symbols

    2
    0 Votes
    2 Posts
    1k Views
    guy038G

    Hello, @kloruklass and All,

    Given your ( uniq ! ) example :

    dmg_sm0993_event (summonedtable) 0039-event [damage=hit_defend_fail_se_0039_type=slash_low] [damage_fail_type=defend_fail] {!} {r} {m} {s} {e}

    With the following regex S/R :

    SEARCH (?-s)[^\w{}\r\n]+(?:\x20*({.+?})|)

    REPLACE ?1:_

    Tick the Wrap around option

    Select the Regular expression search mode

    Click once, on the Replace All button

    You’ll get this temporary text :

    dmg_sm0993_event_summonedtable_0039_event_damage_hit_defend_fail_se_0039_type_slash_low_damage_fail_type_defend_fail

    Now, using this second regex S/R :

    SEARCH (?i-s)(([a-z0-9]+)_.*)_\2(?:(_)|\R|\z)

    REPLACE \1?3_

    Click on the Replace All button, several times, till you see the status line 0 occurrences were replaced in entire file ( IMPORTANT )

    And you’ll get the expected text :

    dmg_sm0993_event_summonedtable_0039_damage_hit_defend_fail_se_type_slash_low

    Best Regards

    guy038

  • [Meta] Forum Tweaks

    12
    1 Votes
    12 Posts
    870 Views
    guy038G

    Hello, @artie-finkelstein and All,

    Yes, your different points of view are quite sensible ! It’s just that I still used to think about a laptop as a limited storage device ( My old Win XP machine had two partitions : C: of 10 Gb and D: of 30 Gb, only ! ). So, let me a couple of weeks to fully realize that my new Win 10 laptop has 415 Gb of free space !!

    I first considered to recopy all my 30 Gb pack of photos ( already saved on two different external HDD and on a 64 Gb USB key ) on the SSD disk of my HP machine. But, you’re right ! This operation is useless : I just have to keep the USB key and the tiny 2 Tb HDD, recently purchased, in my laptop bag, for any further photo session !

    Cheers

    guy038

  • Subtractive searching.

    3
    0 Votes
    3 Posts
    400 Views
    Steve HajduS

    @peterjones

    This is great, thank you very much

  • [tip] F7 toggle search panel

    1
    1 Votes
    1 Posts
    348 Views
    No one has replied
  • Is anyone else interested in an Acrolinx plugin?

    1
    1 Votes
    1 Posts
    208 Views
    No one has replied
  • High Processor Usage

    5
    0 Votes
    5 Posts
    828 Views
    pnedevP

    @Guilherme-Gueringh ,

    Do you have your periodic session backup turned on?
    If yes, could you please try disabling it and see if the CPU usage is still high?
    Can you also check the CPU usage when you disable your network connectivity (all of it - Ethernet cable and WiFi)?

  • Latest Update 8.1.9.1 issue

    10
    0 Votes
    10 Posts
    515 Views
    PeterJonesP

    @marlon-dana ,

    As far as I know, files that begin with RIFF and then binary data are Resource Interchange File Format, which are the “container” format used for WAV music files and similar binary data.

    Like I said, it looks like the CFG file at that name has been overwritten with data that isn’t normally in a .cfg. I cannot see how opening it in Notepad++ could have caused that. And if you open it with Windows Notepad (notepad.exe, that came with your OS), I am sure you will see the RIFF and some of the other plaintext, and not be able to see the original CFG data.

  • 0 Votes
    15 Posts
    5k Views
    Alan KilbornA

    @scott-livingston

    sometimes I really have to look to find it’s secret pop-up location!

    points to the Find Dialog’s stealthy appearance

    I use 4 monitors as well most of the time, and I have no such problems. There are no secrets/stealth operations here – the Find dialog will remain where YOU last put it. There should be no need to go hunting for it, just don’t put it in a different location at different times – and if you do, remember where that was.

    if <Ctrl-F> could at least open the dialog on the same monitor

    Think of how many users that would not want that; I’m one of them. I’ll go out on a limb and say that most users of 2+ monitors have N++ full-screen on one of them, and a Find window appearing on that, right in the way of the text they are editing, would be terribly annoying as they now have to grab that Find window and move it somewhere else, to see their text behind it.

  • Double Ctrl-F no longer moves Find dialog

    3
    0 Votes
    3 Posts
    416 Views
    Scott LivingstonS

    @peterjones Thanks for your reply PeterJones, I have taken my response to that thread.

  • K-Lite Codec Pack part of NP++?

    4
    0 Votes
    4 Posts
    995 Views
    ClaBrownC

    OK guys, thanks for the info. Didn’t think NP++ was using any Codecs, but with the install dates matching and the depth of NP++ also couldn’t rule it out. Yes, I checked with the normal player I use, VLC, but they also Nope, all their codecs are built in. Thanks, time for more investigating …

  • Skip the question: "Do you want to reload the file ..."

    2
    0 Votes
    2 Posts
    185 Views
    Alan KilbornA

    @sandro-rosa

    Your control options for that are found here:

    bf9e6908-f1d9-4264-b554-a6b8e6ff0ef2-image.png

  • How to search 1000+ lines, same syntax and words in hundreds of TXT files

    8
    0 Votes
    8 Posts
    618 Views
    Alan KilbornA

    @peterjones said in How to search 1000+ lines, same syntax and words in hundreds of TXT files:

    If you are still interested in the Notepad++ with PythonScript plugin solution, let us know, the next time Alan logs in, he may be able to offer more advice on how to get that working.

    I thought some more about this, and I don’t think it is on-topic enough for Notepad++ in order to pursue it here. While a PythonScript could be written to do this, it is really unrelated to Notepad++ and is just plain Python, making it a better topic for some other forum.

  • [Feature request] Possibility to set color for the TABs

    2
    0 Votes
    2 Posts
    340 Views
    Alan KilbornA

    @recoil1992

    Feature requests are made by following the instructions HERE.

  • Stability of Notepad++

    2
    0 Votes
    2 Posts
    279 Views
    Alan KilbornA

    @fml2

    Well…bugs happen.
    I think you’re doing the right thing to avoid them.
    Use an older version and periodically upgrade to a newer (but not the newest) version that hasn’t been shown to have critical problems.

  • Minor bug in SQL language.

    3
    0 Votes
    3 Posts
    374 Views
    Alan KilbornA

    @dennis-flory

    Suggest you show an example as what Peter tried was contrived because you didn’t, and may not illustrate the problem you are seeing. Please include copyable text as well as a screenshot of the bogus lexing you see in your next posting.

    Also, providing your debug info wouldn’t hurt either. For full details see HERE but the gist of it is go to the ? menu and choose Debug Info... and click the blue link for Copy debug info into clipboard.

  • open/edit files without extension

    3
    0 Votes
    3 Posts
    1k Views
    IDizorI

    @peterjones than you for the answer.

    I agree that standard Windows associating methodology can cover a major number of usecases when working with text files. But sometimes Windows or some apps open files for you without asking what editor to use (under the hood they call default notepad in similar way like I specified above).

    It looks like the parameter -notepadStyleCmdline was created specifically for this “hack” with replacing default notepad, but there is something wrong with parameter processing in NPP.

  • Very slow loading over network

    2
    0 Votes
    2 Posts
    400 Views
    EkopalypseE

    @mh-hilpert
    I have no experience with processing such large files from a network drive with Npp.
    To find out what is going on in such a case, I would run Wireshark and Procmon to track the behavior.