• Replace string

    14
    0 評價
    14 貼文
    892 瀏覽
    astrosofistaA

    @Paolo-Serpi, @Alan-Kilborn

    I see. Let’s make sure that the Python plugin is correctly installed. I suppose you installed it with the Plugins > Plugins Admin... menu.

    Now we are going to see if it is working properly. Please click Plugins > Python Script > Show Console. On the bottom of the console there is a text box, please type in the following code

    notepad.new()

    and press Run. A new document should be opened. Got it?

    If it worked, check again Preferences > Editing > Multi-Editing Settings > Enable (Ctrl+Mouse click/selection).

    Try once more time to run the Python script, as described in previous posts.

    Other than these ones, I am running out of ideas.

  • Error!!! Conversão de formato NÃO é salva (PT-br)

    2
    0 評價
    2 貼文
    711 瀏覽
    EkopalypseE

    Se eu definir o OEM850 como a codificação padrão, após a reinicialização 850, será mostrado, então isso está funcionando para mim.
    Qual versão do Npp você está usando?
    Pode ser encontrado em? menu - é chamado de informações de depuração.

    If I set OEM850 as the default encoding then after restart 850 is shown, so this is working for me.
    Which Npp version are you using?
    Can be found from ? menu - it is called debug-info.

  • Multi-cursor editing

    53
    0 評價
    53 貼文
    13k 瀏覽
    dailD

    @Michael-Vincent

    Personally I haven’t used DoxyIt in years. I wouldnt say it’s not supported, just my interest is quite lacking.

    In light of recent circumstances I find myself with copious amounts of free time currently, so I will make it a point to take a look at your PR soon.

  • aligning tabs on the screen

    17
    0 評價
    17 貼文
    22k 瀏覽
    Mubashir 2018M

    Hiii
    is there anyone to help me
    i have some notepad datas, i need to arrange this data into excel with the help of notepad++
    i attached the source file and final files of screenshots,
    please help me, i lost couple of months for doing this manually.

    please help me…

    [EDIT]
    Screenshots deleted because they contained private data of a bunch of individuals.
    @Mubashir-2018 Please anonymize your sample data.
    [/EDIT]

  • regular expression - why don't the last words change their order?

    14
    0 評價
    14 貼文
    714 瀏覽
    EkopalypseE

    @Robin-Cruise

    View->Show Symbol->Show All Characters

    But as @Terry-R wrote, it seems that you are changing your requirements and this is something that does not work well with regexes.

    If there is a language barrier here, try using an online translator and posting in your native language and the translated English version.

    What I have written here was translated with DeepL.com

  • How to copy strings?

    8
    0 評價
    8 貼文
    1k 瀏覽
    astrosofistaA

    @Alan-Kilborn said in How to copy strings?:

    I suppose my posted script has “extensibility” going for it, as opposed to the macro solution, that to me seems difficult to extend to even single quotes.

    Yes, though my regex solves OP’s problem, lack of extensibility is one of its drawbacks - Regarding this issue, for the moment I run out of ideas, but don’t give up.

    Also, compared with your PS, my regex has another drawback, as it couldn’t preserve the original position of the caret. What a shame! ha ha

    Have fun!

  • Question about notepad++ double click behavior between certain characters

    9
    0 評價
    9 貼文
    4k 瀏覽
    guy038G

    Hello, @carverof-canyons and All,

    Thank you so much for your appreciation. No, I’m not a paid staff member, at all ! Just a volunteer, who loves N++ and be happy to help people when I guess a possible solution ;-))

    And, anyway, I am confined at home, in France, like everywhere else, in the world. So, presently, I have plenty of time to think about some problems !

    Cheers,

    guy038

  • Duplicate lines that included same strings after / film /

    7
    0 評價
    7 貼文
    341 瀏覽
    guy038G

    Hi, @kaveh-202 @alan-kilborn and All,

    Let suppose, to begin with, to focus on the first 10 chars, after the string /film/

    Then, from your example :

    http://dl3/film/Daylights.End.3******************* http://dl4/film/The.Phenom.2016******************* http://dl45/film/The.Wild.Life.720*************** http://dl58/film/Pele.Birth.Of.A******************* http://dl4/film/Sultan.2016.720******************* http://dl3pw/film/The.Guvnor.2016******************* http://dl3.pw/film/The.Wild.Life.2******************* http://dl3.f/film/An.Almost.Perfe******************* http://dl3.ftk.pw/film/Scooby.Doo.And.******************* http://d2/film/A.Conspiracy.Of******************* http://dl45/film/Daylights.End.2*******************

    With the simple regex S/R, below :

    SEARCH (?-s)^.+/film/(.{10})

    REPLACE \1\t$0

    We get the text :

    Daylights. http://dl3/film/Daylights.End.3******************* The.Phenom http://dl4/film/The.Phenom.2016******************* The.Wild.L http://dl45/film/The.Wild.Life.720*************** Pele.Birth http://dl58/film/Pele.Birth.Of.A******************* Sultan.201 http://dl4/film/Sultan.2016.720******************* The.Guvnor http://dl3pw/film/The.Guvnor.2016******************* The.Wild.L http://dl3.pw/film/The.Wild.Life.2******************* An.Almost. http://dl3.f/film/An.Almost.Perfe******************* Scooby.Doo http://dl3.ftk.pw/film/Scooby.Doo.And.******************* A.Conspira http://d2/film/A.Conspiracy.Of******************* Daylights. http://dl45/film/Daylights.End.2*******************

    Then, it’s obvious that the first and last line are duplicates ( Daylights. ) , as well as lines 3 and 5 ( The.Wild.L )

    Now, what do you want to do regarding lines 1 and 11 and lines 3 and 5 ?

    Presently, it’s quite easy to build a regex which would delete all duplicates lines, keeping only the last one found !

    Two other questions :

    Do you mind if a sort process is used, which, of course, would alter the initial order of lines ?

    How many duplicates lines may have a line ? Only 1 duplicate or more ?

    BR

    guy038

  • File Search not working for files in long paths

    3
    1 評價
    3 貼文
    490 瀏覽
    Tom_Cox001T

    I suggest you Long Path Tool will let you easily

    delete, copy or rename long path files, you can try it

    for better service.

  • Open long path/ file name error since 7.5.9

    10
    0 評價
    10 貼文
    5k 瀏覽
    Tom_Cox001T

    I suggest you try Long path tool is the very good

    program for easily delete, copy & rename long path

    files, error, unlock solution.
    Try it and solve your problem.

  • Logging in to Notepadd++ Community

    8
    0 評價
    8 貼文
    2k 瀏覽
    donhoD

    Thanks Andrew Rodrigues (NodeBB support team), the login page has been reworded to “Available Logins” now:
    https://community.notepad-plus-plus.org/login

  • Odd Query Regarding Sessions & Preferences

    10
    1 評價
    10 貼文
    488 瀏覽
    Alan KilbornA

    @Miss-Chief said in Odd Query Regarding Sessions & Preferences:

    You think multiple instances would impact it?

    Yes, I think it could. Each instance shares the same settings, and the instance you close LAST will write the settings.

    So say you have 2 instances open, call them A and B. If you go into instance A’s settings and you turn off the tool bar, instance A’s tool bar will (obviously) not be shown but instance B will still have a tool bar.

    If you then quit instance A and then quit instance B and then restart Notepad++, what you get will have a tool bar.

    However, if you had quit instance B and then quit instance A and then restarted, what you get will NOT have a tool bar.

    I don’t think the automatic session management stuff works the same way as a setting like the tool bar, at least a quick test didn’t show that it did, but…

    I avoid this sort of multi-instance running myself, for these types of reasons.

    At most I ever want/need is one additional instance, so I have a secondary portable version of Notepad++ hanging around for just such a need. I have a Run menu item set up to run this secondary instance from my main instance. Since both instances have totally different settings and sessions, I don’t have any problems. Such a setup is convenient for me, but I recognize that it isn’t necessarily convenient for everyone.

  • Regex: check for a specific word/string across multiple files, then insert a string below

    10
    0 評價
    10 貼文
    576 瀏覽
    juon2ndJ

    Thank you, thank you, thank you! Terry’s last solution did the trick. Thanks for the elaborate explanations, I’ll learn more about regex later when I have the time, for now by doing this simple search I killed at least a thousand times of repetitive CTRL V and can smoothly proceed with my translation.
    Cheers

  • Drag-and-Drop Code with Connecting Operators

    1
    0 評價
    1 貼文
    252 瀏覽
    尚無回覆
  • Unable to change caret color

    3
    0 評價
    3 貼文
    389 瀏覽
    PeterJonesP

    @Emory-Colvin said in Unable to change caret color:

    came back to it later and it was fixed

    I am glad it’s working for you now.

    Apparently it can’t keep up with realtime changes to the formatting.

    Just so you know, mine changes the color of the cursor immediately; I am wondering if you have a huge file, or many large files open, or something like that.

  • Select all text on all open files?

    5
    0 評價
    5 貼文
    1k 瀏覽
    EkopalypseE

    Not quite sure I understand.
    The workflow is like this

    get number of open files (NPPM_GETNBOPENFILES) retrieve the bufferids for these files (NPPM_GETOPENFILENAMESPRIMARY/NPPM_GETOPENFILENAMESSECOND, NPPM_GETBUFFERIDFROMPOS) activate the bufferids (NPPM_ACTIVATEDOC) read the content (SCINTILLA API GetTextT)
  • Commenting a line through a keyboard short cut adds an unwanted space after the symbol

    5
    0 評價
    5 貼文
    530 瀏覽
    felad0001F

    I haven’t no. I’m not familiar with macros in Notepad++, but it surely sounds like a good idea. I’ll try to give it a try :)

    Thanks

  • 0 評價
    6 貼文
    602 瀏覽
    Alan KilbornA

    @NemoNobobyPersonne

    Are you trying to tell us that you are just getting around to following up on an issue you opened 16 months ago?

  • I want to use the 'Uncollapse Current Level' shortcut.

    2
    0 評價
    2 貼文
    918 瀏覽
    EkopalypseE

    @정태곤

    Sorry, but hard to understand what your issue is.
    Could you please explain a little bit more precisely
    what works and when not?

  • Why does "Find result" window tab icon look like it does?

    11
    0 評價
    11 貼文
    587 瀏覽
    EkopalypseE

    Too much time and nothing works as expected, results in gifs and gifs and even more gifs :-)