• Need help defining my own language

    Locked
    10
    2 Votes
    10 Posts
    3k 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
    2k Views
    Claudia FrankC
    @Rocky-Marquiss yes - that’s what I assumed as well. Cheers Claudia
  • how to copy specific words containing specific character.

    words lines copy specific
    3
    0 Votes
    3 Posts
    2k Views
    dance musicD
    [list item](link url)
  • search and replace / regEx

    Locked
    8
    0 Votes
    8 Posts
    3k 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
    717 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
    1k 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
    1k 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
  • 0 Votes
    4 Posts
    1k Views
    Brent BlumensteinB
    Something happened and this issue disappeared. I am sorry to report that I cannot identify what I did to cause reversion to expected behavior. Ah well.
  • .htaccess Backup Failed

    5
    0 Votes
    5 Posts
    3k Views
    Laurie StearnL
    Got this error as well, even when sharing the folder with EveryOne and allowing changes. The Backup folder is marked read-only, and there is also a problem removing that property. But no issue at all when running N++ as Admin - must be because my username (owner of folder) has admin credentials.
  • Working with XML in Notepad ++ (selecting/moving)

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC
    @Chad-Briggs is there an easy way to select an entire tag if your at the start of a long one? So if I have a <name> tag in the XML doc, can i select that first name tag/bracket and use a shortcut to highlight down to the closing bracket? Plugin HTML Tag has such a functionality which works with xml as well. If a tag is collapsed, is there a way to select all of the tags contents while it’s collapsed for copy/pasting? put cursor in front of the tag, press shift, hold it and press down arrow key and maybe while still holding shift key press home(pos1) key. If i have a xml document collapsed in the view, is there an easy way for me to drag and drop rearrange? Once selected liked described before you could use the mouse and move it around but to be honest, I find this a little bit cumbersome. Cheers Claudia
  • Find all in current document don't provide father object

    7
    0 Votes
    7 Posts
    3k Views
    Gogo NeatzaG
    @Massimo Araldi The information about the father object is available using Notepad++ and XPatherizerNpp plugin: all you have to do is search the XPath and watch the results window.
  • I need help trying to run Python in Notepad++

    Locked
    5
    0 Votes
    5 Posts
    13k Views
    David TinocoD
    Hey Claudia, Thank you so much, it works now :). I feel like a complete hackerman now haha :). Have a lovely day. Regards, David
  • 0 Votes
    3 Posts
    3k Views
    Rufus SmithR
    @Rodney-Ramsay The licensing refers to the program itself, and has nothing to do with what you create using the program. You only need to worry if you write a program to sell (or give away) that uses part of the Notepad++ source code.
  • 0 Votes
    2 Posts
    1k Views
    Claudia FrankC
    @SalviaSage 1 +2 give it a try and see. A session is basically a shortcut for opening a lot of files in one go. The “eye” is just another way of monitoring, it tries to simulate the unix tail command. If you have API files (the once you see under plugins\APIs) notepad can offer assistance in showing you a list of possible words you want to add Cheers Claudia
  • My number are symbols ?

    Locked
    2
    0 Votes
    2 Posts
    921 Views
    Claudia FrankC
    @Zach-Schultz might be an issue that your font is broken/corrupt. What if you choose a different one? Settings->Style Configurator->Global Styles->Global override check enable global font and try one of the fonts in the font style dropdown list. In addition, some notebooks offer additional function keys, might it be that you activated this accidentally? Cheers Claudia
  • [Help] Do not find File type : 'all types' when file open (Ctrl + o)

    Locked
    2
    0 Votes
    2 Posts
    969 Views
    Claudia FrankC
    @이동건 not 100% sure I understand your issue but maybe it is related to the new style settings. Settings->Preferences->Default Directory and then the setting Use new style dialog … Cheers Claudia
  • How to start notepad++ in Linux command line?

    Locked
    2
    0 Votes
    2 Posts
    13k Views
    Claudia FrankC
    @Sun-Yuan depending where you installed it you need to modify the call, basically you start wine and provide notepad.exe as the parameter to be executed by wine. So something like this /usr/bin/wine /disc2/home/chalet/.wine/drive_c/programs/x64/newest/notepad++.exe Cheers Claudia