• Copy marked text sections

    6
    1 Votes
    6 Posts
    8k Views
    Alan KilbornA

    @nick-tsangaris said in Copy marked text sections:

    Can confirm this works without modification in May 2022. Thanks @guy038 for the easy copy and paste!

    Well, now there’s a better way to copy marked text:

    81c96675-f3c0-4f7f-a3e1-6b6f59d98ebf-image.png 2663f6a9-c4cf-4414-a4de-400d84e006d9-image.png

    The Copy Marked Text command button didn’t exist when this thread was created.

  • What did Notepad++ interpret to result in an "ESC" character?

    4
    0 Votes
    4 Posts
    8k Views
    pwgeersP

    @peterjones
    Yep, now that I understand the syntax of the Esc-sequence it was easy for me to remove them using the replace function of Notepad++. The ESC was shown as square in the Replace-dialog but worked fine.

    To me it was not important to see the formatting just the content (and I wanted to be sure that I did not remove content), luckily there were just 2 or 3 variants of Escape sequences used.

    And yeah it’s funny how that sometimes related topics become active at the same time.

  • Move selection horizontally

    7
    0 Votes
    7 Posts
    4k Views
    Asger Jørgensen 0A

    @cennoxx
    If you block select using Alt+Shift+Arrow keys, you can afterwords drag the selection using the left mouse.

  • DSpellCheck not working

    16
    0 Votes
    16 Posts
    3k Views
    nCubedN

    @carlos-zhang-0 said in DSpellCheck not working:

    @PeterJones
    Thanks. I do believe it works for you.
    I think maybe it’s environment issue. E.g. some settings in win10?

    Not sure if you’re still having issues, but I ran into the same thing today. The resolution was to go into the DSSpellCheck settings and download the dictionary (English - US, for me). After that, spell check worked again.

  • Find replace with itiration

    13
    0 Votes
    13 Posts
    524 Views
    NAGARAJGOUDA PATILN

    @neil-schipper
    thanks for your help

  • Find dialog font size

    2
    0 Votes
    2 Posts
    322 Views
    Neil SchipperN

    @orenatol The only way I’m aware of to influence the appearance of text in the Find dialog input fields is:

    0f6b4443-f9e0-4304-a83d-9849788adf23-image.png

    Windows at one size switches from one font, let’s say “MS Sans Serif”, to another, let’s say “Segoe UI”.)

    I don’t understand what you mean by this in the present context.

  • python script console hotspot style regression

    2
    0 Votes
    2 Posts
    214 Views
    cmeriauxC

    Well I figure out that an issue already exists under Npp Python script github, and it has been fixed 16 day ago. I’ve tested with Nightly build , and defect is fixed (https://github.com/bruderstein/PythonScript/issues/234) . Thank you @chcg

    Any chance to get this fix in the stable branch 2.0.0

    cheers

  • Text Gone

    4
    0 Votes
    4 Posts
    502 Views
    EkopalypseE

    @jillplaysmc

    If this programme was able to display the contents of your file, then recuva should also be able to do so.

  • Cant find plugin - textfx characters

    4
    0 Votes
    4 Posts
    580 Views
    Alexey IvanovA

    @patrickdrd Спасибо большое, на 32 плагин появился .

  • regex in balise html

    5
    0 Votes
    5 Posts
    805 Views
    Robin CruiseR

    Regex: Select text between two tags/strings: You can try also:

    FIND: (?s)(<head>).*?(</head>)
    REPLACE BY: \1\2

    OR

    FIND: (<head>)\K[^>]*(?<!/)(</head>)|\1
    REPLACE BY: </head>

    OR

    FIND: (<head>)\K[\s\S]*?(</head>)|\1
    REPLACE BY: </head>

  • Change text direction for single tab

    2
    0 Votes
    2 Posts
    238 Views
    PeterJonesP

    @vahid-ghasemi ,

    Not yet. It was asked for in the official feature request location last year, but the developer hasn’t made it a priority. You might want to go upvote that request.

  • Copy entire code group?

    11
    0 Votes
    11 Posts
    5k Views
    arel3A

    @rdipardo said in Copy entire code group?:

    @arel3,
    Have you heard about the HTML Tag plugin?

    npp_841_x64_htmltag_v123.gif

    This is the solution, thank you!

  • Notepad++ opening outside of screen

    7
    0 Votes
    7 Posts
    13k Views
    Jared SchmidtJ

    just wanna say thanks; this fixed the issue for me and I was searching for a solution for a long time, thank you so much!

  • How to hide line folding symbols.

    2
    0 Votes
    2 Posts
    285 Views
    PeterJonesP

    @c-bacca ,

    Set Settings > Preferences > Margins/Border/Edge > Folder margin style = None

  • Replace in Files doesn't work when re-using a directory

    3
    0 Votes
    3 Posts
    436 Views
    Hans PNWH

    @peterjones Thanks for taking the time to respond, Peter – I’ll check back with the user. Yes, agreed: hard to poke at the problem from across the internet.

  • Error at startup please help me out

    4
    0 Votes
    4 Posts
    292 Views
    Wieraj GanpatW

    @peterjones Thank you very much! It work ;)

  • Character position

    11
    0 Votes
    11 Posts
    58k Views
    PeterJonesP

    @steve-lawson ,

    Then thank you for the information. And maybe someone else reading this in the future will appreciate my suggestion of using the PythonScript plugin to write a script to implement it in a different manner than the GotoLineCol plugin.

    (BTW, it wasn’t my question, it was Scott’s.)

  • Double-click to highlight words not working in Dark Mode

    2
    0 Votes
    2 Posts
    245 Views
    PeterJonesP

    @brian-wheldale ,

    It works fine for me:

    The thing I would check if I were you is if your Settings > Preferences > Global Styles > Selected text colour > Background colour is compatible with Dark Mode – that is, if it contrasts with … > Current line background > Background colour and with … > Default Style > Background colour.

    19c0c64d-592a-4f53-ba24-33fe3c985d94-image.png

    For a fresh download, the DefaultDarkMode theme (which is auto-selected when you switch to Dark Mode) has DefaultStyle=(63,63,63), CurrentLine=(16,16,16), and SelectedText=(88,88,88). Some might not see enough contrast between DefaultStyle and SelectedText with those selections.

  • RegEx set number of spaces bevore captured group in replace

    5
    0 Votes
    5 Posts
    420 Views
    Neil SchipperN

    @black_cat Do you know about Edit -> Colum Editor? If your files are well behaved, it can be used to insert a rectangle (full of blanks) to left of existing text.

    Also, do you know about recording macros? You can record a macro that does, for ex.

    <Home><3 spaces><Home><Down>

    and then run it on the whole file when you want to prepend 3 spaces. You can save it as a named macro. You can make a separate macro for each width you routinely need.

  • How to use RegEx to split 5000 characters but preserving sentense?

    9
    0 Votes
    9 Posts
    1k Views
    Brent ParkerB

    @brent-parker

    For future reference, I’ll post the the full updated script for creating the documents and appending additional text to the top/bottom of each generated document here just in case any future people are interested.

    # encoding=utf-8 """in response to https://community.notepad-plus-plus.org/topic/19738/ , the 2022-May-10 add-on set nChars to be the maximum "chunk" size, replace ENTER YOUR TEXT HERE with your own text, then run this script. """ from Npp import editor, notepad import os.path nChars = 9000 regex = r'(?s).{1,' + str(nChars) + r'}(\R|\z)' counter = 0 originalFullname = notepad.getCurrentFilename() originalPath, originalFile = os.path.split( originalFullname ) originalBase, originalExt = os.path.splitext( originalFile ) def withChunk(m): global counter counter += 1 newPath = "{}\\{}_{:03d}{}".format(originalPath, originalBase, counter, originalExt) #console.write( "{}\tlength={}".format(newPath, len(m.group(0)))+"\n") notepad.new() editor.setText(m.group(0)) editor.documentStart() editor.addText('ENTER YOUR TEXT HERE\n\n') editor.appendText('ENTER YOUR TEXT HERE') notepad.saveAs(newPath) notepad.close() notepad.activateFile(originalFullname) editor.research(regex, withChunk)