• Closing multiple tabs, confirmation dialog position

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Scott SumnerS
    @Mykhailo-Konvisar I see what you mean about the buttons moving around, via the dialog box changing size as the file pathname greatly changes in length from file to file. I haven’t looked at the source code, but it is probably done with a standard Windows YES-NO-CANCEL MessageBox call, in which case I totally understand this behavior. I’m not sure how much you prefer mouse versus keyboard, but as a workaround, how about just pressing the N (or Y, in case you need that…) key when that dialog box appears? (Alt+N or Alt+Y also work, but that just seems like unnecessary extra effort.) I totally understand if you know about the keyboard possibility and are just making a feature request. However, the right people either won’t see it here, and/or aren’t going to track it here. Your best option is to make a feature request or a change-in-functionality request here. Please spend a little time searching to see if your specific request already exists (in which case you can “up-vote” that request, and/or add any new information you think relevant). If this (or ANY other posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).
  • 0 Votes
    3 Posts
    3k Views
    Alex Levente AndrejszkiA
    Hi Scott, Your solution dosen’t work on my PC unfortunately. But the version of Notepad++ doesn’t matter. How I want to select Notepad++ 5.6.8 can carry out. Thanks for you answer :) Alex
  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC
    @D-F has been already addressed here. Cheers Claudia
  • Does it possible to make UDL code folding without closing keyword?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    Marco FabbriM
    Just as a reference… The quickest workaround I found is to use a cygwin shell with “pcre” package installed… $ pcregrep -M “BGP neighbor is.\r\n.\r\n.\r\n.\r\n.*\r\n.*state.*Established.*3w” file.txt (the above example look for a 6 lines string block such as: BGP neighbor is xxxx Remote AS xx, local AS xx, internal link Description: xxxx Remote router ID xxxx Cluster ID xxxx BGP **state **= Established, up for 3w5d hope this helps.
  • Caffe prototxt file edition using notepad++

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    9 Posts
    5k Views
    Grace BenG
    Informative blog with good useful information.
  • Help removing folder margin style lines.

    Locked indent margins border indentation
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC
    @Saksham-Gupta I’m not aware of any plugin which supports c++ script execution. So you either have to write your own little plugin which executes SCI_SETFOLDFLAGS(0) when it receives the NPP_READY notification or you install one of the mentioned plugins and call the respective function. Cheers Claudia
  • Plugin / Regex in Meniu Bar / My Favorite - Add new keep

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS
    @Vasile-Caraus You don’t say if you are wanting to do searches or searches+replaces, but either way you could record and save a macro (and then it would appear in the “Macro” menu). The downside to this is that then the regular expressions used become very “hardcoded” – there is no existing easy way to create a situation where, for example, a regular expression(s) linked to a named menu entry could pull up the Find dialog, populate the find-what and/or replace-with boxes, and then let you edit them slightly before running the search. At least this doesn’t exist as far as I’m aware…perhaps a plugin? “RegRexPlace” (not updated since 2009) seems to be a start on this idea, but it is very basic and the author even says it needs improvement. My favorite editor of old, MultiEdit, allowed creating and saving regular expression search data under custom names, and even had a prompting feature such that, when run, it would ask the user for some input data, and then produce a very specific search field. Something like (not remembering exact syntax very well): <prompt “Enter a number”=my_number>this regex looks for the number `my_number` So then when that named search is run, a prompt box pops up asking “Enter a number” and the user enters data (for example, 123); then the search will be run looking for the exact data this regex looks for the number 123 Okay, so that example doesn’t show the power of the feature, but the basic idea is there I guess. :-) This probably goes above and beyond what the OP is asking about, but I just thought I would throw it out there…
  • help replacing places

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC
    @Eris-Leci from your given example you can use regular expression, build 3 matching groups and rearrange it like this find what:(\d+)(:)(.+@.+\.com) replace with:$3$2$1 Means it is search for any number of digits (\d+), at least one followed by a colon (:) followed by any char followed by @ followed by any char followed by .com If you want to learn more about regular expression see this link and the last post by guy038 https://notepad-plus-plus.org/community/topic/14208/is-regex-condition-possible-in-replace-string/5 Cheers Claudia
  • .txt not added to text files

    5
    2 Votes
    5 Posts
    4k Views
    Claudia FrankC
    @Bret-Leduc Maybe the setting Settings->Preferences->Default Directory->Use new style save dialog… was activated? Cheers Claudia
  • Auto-doubling brackets feature

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    NorteXN
    OMG THANKS SO MUCH IT WAS THAT EASY. XD THANKS ANYWAYS WORKED AS I WANTED IT TO.
  • 0 Votes
    2 Posts
    2k Views
    Zacocom ZaccomZ
    Another one: ñ Will error: xF1
  • Cursor positioning behavior

    Locked carets
    7
    1 Votes
    7 Posts
    6k Views
    appar1tionA
    @go2to i don’t have need for ascii drawings. and as for macros, i fill out any additional macros that i need with autohotkey. the combination of np++ and ahk make my personal workflow a breeze.
  • Undo & Redo: Strange Behavior in NPP

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    dailD
    @go2to You can always take it upon yourself to become the Good Samaratin and write one. ;)
  • Notepad++ just hanging on start - Windows 10

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Claudia FrankC
    @John-Griswold142 could it be that npp, on startup, has to load a file which is on a server? Than the 30 seconds could indicate an network timeout. Cheers Claudia
  • Notepad to notepad++ importation .txt

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC
    @Alain-Marin allo, make sure that notepad++ uses the same font as MS notepad does [image: 6h9GxcW.png] make sure that notepad++ uses spaces/tabs as MS notepad does [image: 7wsAAhA.png] Cheers Claudia
  • Does NotePad++6.9.2 has Hex plg-in?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Daniel FuchsD
    You can download it from the plugin manager. Notepad++ never came with the plugin pre-installed, as far as I remember.
  • is regex condition possible in replace-string

    Locked
    5
    0 Votes
    5 Posts
    8k Views
    guy038G
    Hi, @jos-maas, Oh yes ! You’re perfectly right. Even, in the example, described in my previous post, we don’t need any alternative ! But, in that case, when a line does not match ( NO group jos ), this line stays unchanged, and we do not need, either, the ELSE part of the conditional replacement ! So, the previous regex S/R, becomes : SEARCH (?-s)(?<jos>^\d+$) REPLACE ?{jos}Rewrite $+{jos}, as Group 'jos' exists And, with the original text : 123 This is a test 4567890 We would get, this time, the text : Rewrite 123, as Group 'jos' exists This is a test Rewrite 4567890, as Group 'jos' exists Note that, in replacement, the outer parentheses are removed, without any problem ! Jos, for further information, about regular expressions concept and syntax, begin with that article, in N++ Wiki : http://docs.notepad-plus-plus.org/index.php/Regular_Expressions In addition, you’ll find good documentation, about the Boost C++ Regex library, v1.55.0 ( similar to the PERL Regular Common Expressions, v1.48.0 ), used by Notepad++, since its 6.0 version, at the TWO addresses below : http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html The FIRST link explains the syntax, of regular expressions, in the SEARCH part The SECOND link explains the syntax, of regular expressions, in the REPLACEMENT part You may, also, look for valuable informations, on the sites, below : http://www.regular-expressions.info ( The reference !! ) http://www.rexegg.com http://perldoc.perl.org/perlre.html Be aware that, as any documentation, it may contain some errors ! Anyway, if you detected one, that’s good news : you’re improving ;-) Cheers, guy038
  • UDL 2.0 in Notepad 7 release

    20
    0 Votes
    20 Posts
    12k Views
    Kerem İspirliK
    ADA is not the only reason for UDL3. Generally UDL’s generally don’t work well with different themes and UDL3 is said to help with that, too: https://sourceforge.net/p/notepad-plus/discussion/331754/thread/bd2bc405/#757b