• Auto expand in Folder as Workspace Section.

    Locked
    2
    1 Votes
    2 Posts
    949 Views
    Claudia FrankC

    @Sagor

    sorry, afaik there is no such setting available.

    Cheers
    Claudia

  • CISCO CLI

    3
    1 Votes
    3 Posts
    2k Views
    Skynet-AdminS

    @Claudia-Frank, Thank you. I will look into it tonight and see if i can find what I described badly in the OP.

    Regards,
    Sam-Skynet

  • Run macro from Windows context menu

    Locked
    5
    1 Votes
    5 Posts
    2k Views
    Yomgui33Y

    Ah, yes, forgot all about the Search/Replace on whole folders. I might be able to automate things a bit more through autohotkey.

    Thanks for the suggestions! I’ll fiddle with that until I can get where I want with Python (and come back if I manage something elegant enough to be shared).

    Have a nice week-end!

  • how can you remove blank lines from a text file?

    Locked
    3
    1 Votes
    3 Posts
    3k Views
    Tom MoulderT

    thank you. i am new and did not know that existed

  • I can't edit or delete my own posts

    Locked
    5
    1 Votes
    5 Posts
    1k Views
    SalviaSageS

    Oh, that’s a good idea. I didn’t know these gists existed. I guess I will post my code in these things instead, then link remains the same, but code changes :)

  • In the style configurator, what affects PHP function names?

    Locked
    2
    1 Votes
    2 Posts
    806 Views
    Chris MorrowC

    Never mind! It’s WORD. The problem is that section of the style area is so complicated that it took a while to load, and I was being impatient clicking one after the other (with no indicator that anything was loading as I clicked), so I assumed WORD had the same settings as the last thing I clicked.

  • Seeing the zoom level with PythonScript.

    14
    0 Votes
    14 Posts
    5k Views
    Claudia FrankC

    @SalviaSage

    the reason why it isn’t in the current python script version is that
    the pull request hasn’t be merged yet
    because there is

    a) an outstanding issue (has to do with PR #53) and
    b) I haven’t provided any unit tests yet.

    You are using 1.0.9.0 with npp x64bit aren’t you,
    because x86 (32bit) is still offering 1.0.8.0 only.

    I’m using 1.0.9.0 for quite some time now and it looks reasonable stable but I still
    consider it to be in beta state as it is the first 64bit version and I’m sure there are
    still some hidden “features” waiting to be detected :-)

    Some console lock/freezings have been already discovered and merged.

    Cheers
    Claudia

  • 0 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @Mutahar-Jy

    Pointed you to the answer in the nearly identical thread you started…

  • Using wildcards to filter files in the Open dialog

    6
    0 Votes
    6 Posts
    3k Views
    Doug KeysD

    @Claudia-Frank said:

    @Robert-van-Geel @Doug-Keys

    goto Settings->Preferences->Default Directory
    and check use new style dialog…

    Cheers
    Claudia

    Thanks, this resolved the issue. Since this setting also controls the new Unix style path issue, I assume the change to support Unix paths had something do with it. In 7.5.1, the setting is “use new style save dialog” instead of just “use new style dialog”.

  • 1 Votes
    4 Posts
    1k Views
    guy038G

    Hi, @barishamil, @scott-sumner and All,

    Yes, Scott ! Sorry , for forgetting that obvious and nice solution, which, in addition, allows you to set a user shortcut for any specific macro ;-))

    Cheers,

    guy038

  • Need help defining my own language

    Locked
    10
    2 Votes
    10 Posts
    2k Views
    Scott SumnerS

    @Gogo-Neatza said:

    Use Notepad++ with the RegEx Helper plugin

    A downside there is that the RegEx Helper has to be manually activated upon every run of Notepad++, and that regex entered into its UI again. At least that my understanding of that plugin.

    Seems like the OP would like something more “automatic”.

  • Getting unexpected results when entering a new line.

    Locked
    5
    1 Votes
    5 Posts
    1k Views
    Claudia FrankC

    @Rocky-Marquiss

    yes - that’s what I assumed as well.

    Cheers
    Claudia

  • how to copy specific words containing specific character.

    3
    0 Votes
    3 Posts
    1k Views
    dance musicD
    [list item](link url)
  • search and replace / regEx

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    guy038G

    Hello, @frank-kirschner, @claudia-frank, @scott-sumner and All,

    I thought about a third regex which, in addition, looks if :

    The END:VCALENDAR string is preceded by a line-break

    The BEGIN:VCALENDAR string is followed by a line-break

    and, in replacement, this regex S/R adds a line-break, if not initially present, in O.P.'s text

    So, assuming the four possible cases, below :

    blah blah bla bla blaEND:VCALENDAR 3F68636A-A88D-4B6D-95C7-DC5B65910335.ics ZÔúƒ4504b552cef6ac7c1141ef12fba9a94a ²VEVENT ZÚ p ZÚˆ3F68636A-A88D-4B6D-95C7-DC5B65910335€ $ (È„ P€ „ Í`õ ¢BEGIN:VCALENDARblah blah blah bla bla... blah blah bla bla blaEND:VCALENDAR 3F68636A-A88D-4B6D-95C7-DC5B65910335.ics ZÔúƒ4504b552cef6ac7c1141ef12fba9a94a ²VEVENT ZÚ p ZÚˆ3F68636A-A88D-4B6D-95C7-DC5B65910335€ $ (È„ P€ „ Í`õ ¢BEGIN:VCALENDAR blah blah blah... bla bla... blah blah bla bla bla END:VCALENDAR 3F68636A-A88D-4B6D-95C7-DC5B65910335.ics ZÔúƒ4504b552cef6ac7c1141ef12fba9a94a ²VEVENT ZÚ p ZÚˆ3F68636A-A88D-4B6D-95C7-DC5B65910335€ $ (È„ P€ „ Í`õ ¢BEGIN:VCALENDARblah blah blah bla bla... blah blah bla bla bla END:VCALENDAR 3F68636A-A88D-4B6D-95C7-DC5B65910335.ics ZÔúƒ4504b552cef6ac7c1141ef12fba9a94a ²VEVENT ZÚ p ZÚˆ3F68636A-A88D-4B6D-95C7-DC5B65910335€ $ (È„ P€ „ Í`õ ¢BEGIN:VCALENDAR blah blah blah bla bla...

    then the regex S/R :

    SEARCH (?s-i)((\R)?END:VCALENDAR).*?(BEGIN:VCALENDAR(\R)?)

    REPLACE (?2:\r\n)\1\r\n\3(?4:\r\n)

    would gives the following text ( four identical blocks of text ) :

    blah blah bla bla bla END:VCALENDAR BEGIN:VCALENDAR blah blah blah bla bla... blah blah bla bla bla END:VCALENDAR BEGIN:VCALENDAR blah blah blah... bla bla... blah blah bla bla bla END:VCALENDAR BEGIN:VCALENDAR blah blah blah bla bla... blah blah bla bla bla END:VCALENDAR BEGIN:VCALENDAR blah blah blah bla bla...

    Et voilà !

    Notes :

    You may, either, click several times on the Replace button or once, only, on the Replace All button

    In search :

    First the (?s-i) modifiers forces :

    The search to be performed in a sensitive way ( NON-insensitive ! )

    The special dot character . to be considered as any single character, even an End of Line one

    Then group 1 contains the string END:VCALENDAR, possibly preceded with a line-break

    The part (\R)? ( identical to the form (\R){0,1} ) represents an optional line-break ( group 2 )

    Now, the .*? part ( identical to .{0,}? ) stands for the smallest range of any character, between the two strings END:VCALENDAR and BEGIN:VCALENDAR

    The group 3 contains the string BEGIN:VCALENDAR, possibly followed with a line-break

    Finally, the part (\R)? ( identical to the form (\R){0,1} ) represents an optional line-break ( group 4 )

    In replacement :

    The conditional replacement feature (?2:\r\n), rewrites a line-break, only if group 2 ( \R ) does not exist, before the string END:VCALENDAR

    The block \2\r\n\3 adds the strings END:VCALENDAR and BEGIN:VCALENDAR, separated with a line-break ( \r\n )

    The conditional replacement feature (?4:\r\n), rewrites a line-break, only if group 4 ( \R ) does not exist, after the string BEGIN:VCALENDAR

    Cheers,

    guy038

  • Some simple regex questions.

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    Meta ChuhM

    @Scott-Sumner

    you are right (empty lines).
    today we just both hit submit at about the same time, otherwise i’d seen your answer and not have given an extra solution if an existing post does the requested job and no further request is given by the OP.

  • CANNOT OPEN A SELECTED FILE BUT CAN OPEN OTHERS

    Locked
    1
    0 Votes
    1 Posts
    603 Views
    No one has replied
  • How to remove languages from menu

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Peter-Brand

    Settings->Preferences->Language

    and there you can disable the lexers you don’t need.

    Cheers
    Claudia

  • Open screen looks like older version of Windows (Vista)

    Locked
    3
    1 Votes
    3 Posts
    886 Views
    Patrick ErmerP

    Thank you! That took care of it.

  • v7.5.6 Forcing me to save "new X" on exit

    4
    0 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @James-Beck

    it was the Auto Backup that ended up unchecked

    Please try your best to be accurate when you post–people will search for solutions to the same problem in the future and will discover your post, and then they will wonder “What is Auto Backup and where is its checkbox?”

    A better version of your posting would be:

    Yep, that was it. More specifically, it was the "Enable session snapshot..." option that ended up unchecked. Didn’t even realize that it was a function related to that option. Thanks!
  • Pin Files to Opened File History

    Locked
    2
    1 Votes
    2 Posts
    857 Views
    Claudia FrankC

    @ZS-Leo

    in the same way that MS Word 2016 allows?

    No,afaik not.

    is there a suggestions or request area for Notepad++

    Yes, see what @peterjones wrote here.

    Cheers
    Claudia