• Find replace with itiration

    13
    0 Votes
    13 Posts
    467 Views
    NAGARAJGOUDA PATILN

    @neil-schipper
    thanks for your help

  • Find dialog font size

    2
    0 Votes
    2 Posts
    282 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
    185 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
    452 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
    531 Views
    Alexey IvanovA

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

  • regex in balise html

    5
    0 Votes
    5 Posts
    576 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
    217 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
    4k 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
    11k 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
    255 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
    359 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
    244 Views
    Wieraj GanpatW

    @peterjones Thank you very much! It work ;)

  • Character position

    11
    0 Votes
    11 Posts
    55k 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
    195 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
    345 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)
  • Copy Paste from NPP to Verse loses new lines between paragraphs

    4
    0 Votes
    4 Posts
    1k Views
    Mojo RisingM

    Macro works a treat. Champion.

    If anyone googles this then you need to record a macro that does a search and replace using the Regular Expression

    Search
    \r\n\r\n

    Replace
    \r\n\r\n\r\n

    Type your email and then save it.

    Then run your macro and copy and paste your modified text.

    Then close without saving so you get the unmodified version in your saved text file.

  • NPP keep instance in memory

    4
    0 Votes
    4 Posts
    438 Views
    PeterJonesP

    @florent-blanchon ,

    Unfortunately, I cannot replicate your problem. If I run v7.7.1, with ComparePlugin added, and put my settings at “Open session in a new instance of NPP” to match yours, and load a few sessions, it opens Notepad++ in the same number of sessions. When I look at Task Manager, I see multiple instances. (So far, this matches yours, and matches expectations.)

    But when I exit one of the Notepad++ instances (using Windows X in the upper right or File > Exit), it fully exits that instance, and the number of instances of Notepad++ in Task Manager properly goes down by one. If I have three instances open, and close one, Task Manager shows it drop from 3 to 2; as I close the next two sequentially, Task Manager shows it drop to 1 then to 0.

    I cannot replicate your problem discription. I am sorry. Maybe someone else will have an idea of how to help.

  • How to replace / delete in bulk

    4
    0 Votes
    4 Posts
    853 Views
    Pablo UP

    @alan-kilborn said in How to replace / delete in bulk:

    @pablo-u

    Find: ^Line \d+:
    Replace: nothing
    Search mode: Regular expression

    @alan-kilborn Thank you very much, worked like a charm!!!

  • Mark all text who have word searched

    7
    0 Votes
    7 Posts
    920 Views
    ElBriak BadrE

    Very wonderful ,
    Thanks a lot @guy038 ,
    that make me love notepad++ more !!

    I am grateful for your support.