• Version issue

    4
    0 Votes
    4 Posts
    156 Views
    Jeff MathenyJ

    @Terry-R, @PeterJones - It was pretty strange. I ended up having to uninstall 8.7.4. Once it was uninstalled, there was a ghost from 8.6.2 listed in Add/Remove Programs. Redownloaded 8.6.2 and installed it, then uninstalled it. That seems to have wiped the residual traces of the original install away. 8.7.4 is installed again, and working as it should.

  • remove characters

    9
    0 Votes
    9 Posts
    402 Views
    PeterJonesP

    @sir-twosheds ,

    I told you the FIND and REPLACE and the MODE.

    Looking at the Replace dialog (Find > Replace), we can then see where each piece of the answer goes:
    a46e0933-2c4d-4d2c-a307-c9830e31c207-image.png

    What I called FIND and @guy038 called SEARCH goes in the Find what field in the dialog. What I and @guy038 each called REPLACE goes in the Replace with field in the dialog. What I called the MODE is the Search Mode set of radio buttons, and that needs to be set to Regular expression (as shown in my screenshot). Then to do the replacement, you hit the Replace All button. This is shown below:

    6022c38f-7bb6-4a22-9c5d-769493f7c298-image.png

    Even if you choose to not try to understand the syntax (despite the fact that @guy038 and I both went to lengths to explain every part of the syntax we shared, and I provided you with links where to learn more), I gave you the exact fill-in-the-blanks to do it without any learning on your point, so you can use either of the answers we gave.

    To claim that our answers are not helpful because “I am a normal computer user… so I have no idea what you are talking about” is not reasonable. Our answers provided the FIND and REPLACE fields that you needed, without requiring any understanding of the syntax we told you to use, and only requiring you to be able to figure out that FIND or SEARCH maps to Find what and REPLACE maps to Replace with which is not a difficult ask for a “normal computer user”. It is also lying to yourself about your own abilities – you can figure out how to implement the solutions that @guy038 and I described, as can anyone who can follow reasonable directions. If you choose to lie to yourself and tell yourself that you cannot learn the specifics of the syntax, that is your choice (though a bad one): if you choose to believe that lie, then you can just take the solution we gave you and use it, without learning what it means, meaning that you will not be able to replicate similar results for slight changes in your desires in the future, but it will solve your immediate problem.

  • 0 Votes
    21 Posts
    679 Views
    guy038G

    Hello, @dr-ramaanand and All,

    See also the last part of this post which exposed a simple solution when you just want to insert a multi-lines text, even in multiple locations, of the curent file, only :

    https://community.notepad-plus-plus.org/post/98543

    Best Regards

    guy038

  • new lines in replace?

    3
    0 Votes
    3 Posts
    1k Views
    guy038G

    Hello, @kracovwolf, @alan-kilborn and All,

    The solution, provided by @alan-kilborn which uses the Extended search mode is really valuable !

    In fact, except in very rare cases, the syntaxes of the replacement part : Line1\r\nLine 2\r\nLine3\r\nLine4\r\n... will preserved the syntax of each line !

    BTW, if you’re usually deal with UNIX files ( see on the right part of the status bar ), you’ll have to change the REPLACE part as below :

    Line1\nLine 2\nLine3\nLine4\n...

    For example, from this INPUT text :

    ab$cD^E\Fg-h()iIJ[]K:L

    Open the Replace dialog ( Ctrl + H )

    Unckeck all box options

    SEARCH ab$cD^E\Fg-h()iIJ[]K:L

    REPLACE ab$c\r\nD^E\F\r\ng-h()i\r\nJ[]K:L

    Check the Wrap around option

    Select the Extended ( \n, \r, \t, \0, \x... search mode

    Click on the Replace All button

    => You get the expected OUTPUT text :

    ab$c D^E\F g-h()i J[]K:L

    In these others posts, below, I imagined a way to insert a multi-lines text, using the Regular expression search mode :

    https://community.notepad-plus-plus.org/post/97866

    https://community.notepad-plus-plus.org/post/97904

    However, now I see that the Extended search mode or, even better, the Normal mode could drastically simplify the method when applied to a single file !

    So, when you want to insert a multi-lines text, even in several locations, of the current file, just follow this method :

    Let’s suppose that this INPUT text, below, is the text to be inserted : ------------- Inserted Multi-lines Text -------------

    First, paste the text to be inserted in a new tab

    Select this multi-lines text without its last line-break ( so the line-break after the series of dashes )

    Open the Replace dialog ( Ctrl + H )

    => The multi-lines text should be copied in the Find what: zone

    Now, let’s switch to this text, in an other tab, which is the main text : bla blah ¤ bla blah <test>¤</test> blah bla Begin ¤ blah bla blah ¤ end

    Note that I use the ¤ symbol as an insertion symbol !

    Click on the symbol, of the replace dialog, in order to swap the Find what and Replace with zones

    => The multi-lines text has moved into the Replace with : zone

    Insert a single ¤ symbol in the Find what : zone

    Unchek all the box options

    Check the Wrap around option

    Select the Normal search mode ( No need to choose the Extended mode )

    Click on the Replace All button

    => The ¤ should have been replaced by the multi-lines text in four locations and you get the following OUTPUT text :

    bla blah ------------- Inserted Multi-lines Text ------------- bla blah <test>------------- Inserted Multi-lines Text -------------</test> blah bla Begin ------------- Inserted Multi-lines Text ------------- blah bla blah ------------- Inserted Multi-lines Text ------------- end

    Best Regards,

    guy038

  • How to roll back to the previous verson

    4
    0 Votes
    4 Posts
    177 Views
    Alan KilbornA

    We can only guess: Someone else moaning about the Show close button on tabs not showing the button on inactive tabs? When I use a version now that DOESN’T feature that, all those red buttons make me feel overwhelmed.

  • UDL operator not recognized

    4
    0 Votes
    4 Posts
    160 Views
    EkopalypseE

    @IstvanZachar

    Is there a way to define additional style specification,

    No, not yet. There is an attempt to achieve this, but I have not yet succeeded.

  • find in files LIST instead of SHFT-F4

    2
    0 Votes
    2 Posts
    108 Views
    Alan KilbornA

    @havkicker

    Are you trying to say that the Search results panel doesn’t display for you?
    If so, you probably want to check the FAQ.

    this is driving me to distraction

    I guess this has been a distracting problem for you since Aug 2023 at least?

  • -1 Votes
    19 Posts
    708 Views
    dr ramaanandD

    @guy038 Oui, merci beaucoup!

  • Change Font for this Document Only

    4
    0 Votes
    4 Posts
    212 Views
    mpheathM

    @NotSoBitWise Seems like a familar issue with printing that someone else had. Have a look at this doPrint function that I rediscovered by using the PythonScript plugin.

  • config.xml reset debugging

    5
    0 Votes
    5 Posts
    198 Views
    Alan KilbornA

    I learned my lesson a long time ago, and I have a batch file that starts Notepad++. Before it starts it, it zips up a snapshot (into a zip file with a name derived from system date/time) of relevant config files. The batch file also removes older snapshots so this mechanism doesn’t use up too much disk space.

    It’s a shame we have to take defensive action against our favorite software. :-(

  • No text on selected line

    16
    0 Votes
    16 Posts
    3k Views
    M

    The solution on my side plugin called CSV Lint
    I do this steps
    Notpad++ > Plugins > CSV Lint > Settings > Colors > Normal Mode or Dark mode (foreground colors) > Yes > OK > manual restart notepad++

    this should fix your issue and that happen when you try to change the theme and than back to default, and thanks @ibrummel for the hint of CSV Lint plugin

  • notepad ++ adjust indentation

    7
    0 Votes
    7 Posts
    2k Views
    Terry RT

    @Bob-Smith said in notepad ++ adjust indentation:

    Where is this hiding? Not seeing it. Have the settings been moved around?

    Which version of Notepad++ are you running. The preference option is certainly there in the recent versions. You might need to show us your debug info. From the ? menu, select debug info, copy and paste that info here.

    As well as the previous post another idea is I think the “Column Editor”. If you want all the lines in your file to have the same prefix, position the cursor at the very start, use column editor and enter the text to be the prefix on EVERY line.

    If you just want a group of lines to have a prefix, position the cursor on the first line of the group, use Ctrl + Alt + mouse control to move down the left margin for the group of lines. Then use the column editor to insert a prefix for that group. You could also just type the character(s).

    Terry

  • 1200 second time limit

    2
    0 Votes
    2 Posts
    106 Views
    PeterJonesP

    @Bob-Smith ,

    The way you avoid that 1200 second time limit is to get enough upvotes that the system doesn’t consider you a threat.

    That rule assumes that anyone who has been here long has posted enough good quality posts to have earned a few upvotes.

    Given our additional anti-spam that’s been implemented since that limit was originally enacted, I think I’m willing to shrink the delay. But there will still be limitations on you until people have upvoted you enough.

  • How to multiselect with double click without ignoring whitespace?

    2
    0 Votes
    2 Posts
    100 Views
    PeterJonesP

    I’m not 100% sure whether I’ve understood your problem.

    I was going to ask for a screenshot of your Preferences > Delimiter page, wondering if maybe you had something added to your list of characters… but then I was reminded of the Delimiter selection settings (Ctrl + Mouse double click), which I forget about under most circumstances.

    So with the example text

    one two three four five six blah(seven eight nine)

    if I Ctrl+DoubleClick on one then five then eight, I get one and five and seven eight nine selected. Based on being reminded of the existing of the special meaning for inside-delimiter Ctrl+DoubleClick, that is now my expectation. But I’m wondering if you were hoping for just one and five and eight in that situation. If so, you would have to “defeat” the Delimiter selection settings, by changing the open and close delimiters to something else (or to nothing).

    Examples:

    Default:
    24ae143e-ce00-4581-80a2-fb80a695b2c7-image.png

    With no selection-delimiters:
    5ce5d936-0a72-485f-a6ca-090f85935023-image.png

  • notepad ++ dark background in NppFTP show message window

    2
    1 Votes
    2 Posts
    120 Views
    PeterJonesP

    @Bob-Smith ,

    A few years ago, it was requested in the NppFTP repository’s issue tracker, but the maintainer didn’t have time (at least then) to take on the effort of adding all the DarkMode hooks.

    I’ve pinged the issue, and updated with the current state (because in the original issue, even the Profiles and Progress panel was still white, not just the Output and dialog boxes) – but the maintainer asked for help 3 years ago, and no one volunteered, so it’s not likely to happen any time soon, unless someone new volunteers. (@chcg is highly involved in a variety of plugins, plus contributes to the main app, so doesn’t often find time for requests like this; hence the 2021 request for help, which was unfortunately ignored.)

  • Update Failure

    6
    0 Votes
    6 Posts
    281 Views
    PeterJonesP

    @mkupper ,

    the OP’s question seemed clear enough to me. While they did not show their debug info …

    Maybe you didn’t notice which FAQ @Alan-Kilborn directed the OP to, because “it’s ambiguous” wasn’t meant to say that “the OP question was ambiguous” – “It’s Ambiguous” is one of the headers in the FAQ that was linked to.

    b33b6177-5cf3-472f-9d0c-ddd0247abe99-image.png

    I am thinking that when Alan said, “It’s Ambiguous” and directed the OP to a FAQ that you thought he was linking to the “request for more information, especially debug info” FAQ. But he actually linked to the FAQ: Why Can’t I Just Say “Most Recent Version”, which explains in detail about why the Update Notepad++ doesn’t find v8.7.4 right now, using much the same language that you used in your reply.

    update 1: Yes, I admit that “Most Recent Version” FAQ also asks for Debug Info, but the “It’s Ambiguous” section can double as the answer to the FAQ “why does Notepad++ say there’s no newer version, when the downloads page clearly shows a newer version”.
    I guess I could make the FAQ more explicit in that regard.

    update 2: I have now tried to make the FAQ more clear that it’s answering two questions that both have the same root description, even though they seem, on the surface, unrelated.

  • 0 Votes
    13 Posts
    322 Views
    dr ramaanandD

    On using the above RegEx, in 80 files out of 300 files in a folder, the whole text of the file was selected, instead of just a word stuck to a simple, round bracket/parenthesis to its right. Is it because no such words were found in the file (only 2 such words were found in two different files)?

  • HTML – USER TAGSx & USER ATTRIBUTESx

    4
    0 Votes
    4 Posts
    206 Views
    DomOBUD

    @PeterJones

    Thank you for these figures.

    However, I can confirm that it was impossible to enter data in the USER TAGSx fields on my laptop at the time I wrote my message.
    After restarting my laptop, it was possible to enter data again.
    The reason for the sudden freezing of data entry is a mystery.

  • Run an external program

    3
    0 Votes
    3 Posts
    298 Views
    Thomas HoppeT

    @PeterJones Thank you very much, all works fine;=)

    Thomas

  • Change in the way end of line characters act in regex?

    11
    0 Votes
    11 Posts
    384 Views
    Daniel BrandonD

    @Daniel-Brandon It also appears that some (but not all!) of the files are indeed reaching me with \r Carriage Return characters instead of \n Line feed characters baked in, which should not be happening, and never happened before, but there you go. Thanks to everyone who suggested looking for them. Between that and matches newline, I’m really hoping I’ve got it sorted now.