• how can I do to have two in two columns. ( 1 2 3 4 5 6 7 columns)

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @Meta-Chuh

    Well, maybe… Let’s see if at least one of the “trainees” can put forth the question in such a way as to get a satisfactory answer.

  • Unable to use any downloaded plugins.

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    rinku singhR

    @Æþelleo-Durkin
    Notepad++ v7.6 (32-bit)
    Build time : Nov 12 2018 - 23:51:42
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7 (32-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

    answer already given there:
    https://notepad-plus-plus.org/community/topic/16629/notepad-7-6-and-the-plugin-textfx/10

  • List frequency of duplicates

    12
    0 Votes
    12 Posts
    4k Views
    Scott SumnerS

    @Muhammad-Khan

    You’re an absolute f***ing retard

    Maybe…but if so it doesn’t make sense that I have far more “reputation points” on this site than anyone else. Hmmmm…

  • I install new version notepad++.

    Locked
    2
  • Ubuntu 18.04 - Notepad++ will not launch.

    5
  • while search comments how to exclude in notepadd++?? i need plugin same.

    6
    0 Votes
    6 Posts
    2k Views
    guy038G

    Hello, @indrk-toyou, @peterjones and All,

    Ah ! Peter, I needed some time to figure out the correct regex, but it should, indeed, match all occurrences of the word foo, which are, both, outside multi-lines comments /*.....*/ and before any // start of a line comments ;-))

    Note that finding a regex that matches each kind of C comments was rather easy ! However taking these two features in account, in a same regex, was really a tricky work !!

    So, if options Regular expression and Wrap around are selected, in the Find/Replace/Mark dialog, a possible solution is :

    (?-i)((?s)/\*.*?\*/((?!/\*).)*?|(?-s)(\G|^)((?!//|/\*).)*?)\Kfoo , if you want to match the word foo, with its exact case

    (?i)((?s)/\*.*?\*/((?!/\*).)*?|(?-s)(\G|^)((?!//|/\*).)*?)\Kfoo , if you want to match the word foo, whatever its case

    So, assuming the text below ( Please, no coherent C code, Just to verify that the regex does work as expected ! )

    The regex finds /marks 21 occurrences of foo !

    "foo" // First match void foo(void) foo { // Match the word foo, before //, but NOT these foo, located after FIRST // foo int bar = foo(); foo // match the TWO strings "foo" foo foo foo /* bar = recurse() + foo(); // foo INSIDE a multi-lines comment, so should be IGNORED i = foo(); // Word "foo" still IGNORED ! foo */ foo = foo * 7 // The FIRST "foo" is IGNORED, only ! /* foo A SECOND multi-lines comment, containing some foo strings foo foo*/ /* foo And a THIRD multi-lines comment ! foo*/ return( foo()); // Match "foo" BEFORE the // symbol for comment LINE foo() foo/* foo */foo // One-line comment block with foo, surrounded with two words "foo" OUTSIDE comment foo/**/foo // "foo" OUTSIDE One-line comment block foo /* foo Two consecutive TWO-lines comment blocks, containing foo, split on THREE lines */ foo /* foo */ foo } s = "foo" // LAST item (foo)

    Notes :

    Of course, you may replace the word foo by any string or, even, a complete regex !

    This regex does not handle some oddities as, for instance, */......./* or nested multi-lines comments /*..... /*.....*/....... */

    BEWARE : If you need to delete or replace all occurrences of the string foo, outside comments, with something else, you must use the Replace All button, exclusively and not the Replace button ( step-by-step replacement )

    Allow me to not explain this regex, right now ! I need to think about it, again. May be an easier solution will comes to my mind ;-))

    Probably, I just missed a very easy way ! ( In France, we have an expression : “like the tree which hides the forest” ! ) So, I’m waiting your solutions !

    Best regards,

    guy038

  • Uninstall Plugin 3P-Progress-Programers-Pal

    Locked
    1
    0 Votes
    1 Posts
    560 Views
    No one has replied
  • How ti see what is starting tag without scrolling

    Locked
    24
    0 Votes
    24 Posts
    6k Views
    PeterJonesP

    I am only posting again to correct a factual error I made (having surpassed the 3min edit timeout), because I don’t want to be the cause of misinformation in this or any discussion:

    Recently, I said

    No one has asked the developer for the feature

    Earlier, I said

    as far as I know, because he’s never been asked to add it

    I knew should have stuck with the qualified version that I used at first.

    I just searched the issues list, and found issue#302, wherein three years ago, “Noitidart” asked for that feature. “Yaron10” (presumably @Yaron, here) responded that the desired go-to-matching-tag exists in the HTMLTag Plugin – a plugin which was already recommended to (++@cipher-1024) and ridiculed by the OP, but would likely be of use to someone else seeking a solution to a similar problem. Since the developer does not share the OP’s aversion to plugins, the fact that it already existed externally was probably part of the “why” the feature was never implemented natively.

  • Work space folder and registering file data

    Locked
    3
    0 Votes
    3 Posts
    734 Views
    dinkumoilD

    @Tormod-Skaret

    Regarding your question b) - seems like the Task List plugin could satisfy your requirements, see here.

  • cant use left curly bracket {. Need some help

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    Eko palypseE

    @Peter-Gregorc

    could it be that you have more than one keyboard input language installed and
    by accident this is changed during notepad++ editing?

    Eko

  • Reload changed File

    5
    0 Votes
    5 Posts
    1k Views
    Bernhard KramlB

    @dinkumoil
    Thanks! This was my question. And I see also the Problem the old behavior had.
    i will use Update silently in the future.

    @PeterJones
    Sorry, didn’t know about this (faq-desk-request-for-help…)
    I found this info only, after sorting the oldest first.
    Maybe it is possible to position this link as default-info in "help wanted …—…

    -bernhard

  • Find a pattern in a file

    Locked
    9
    0 Votes
    9 Posts
    2k Views
    Scott SumnerS

    Damn, this Community forum is getting all HARD CORE ! (I like it)

    :-)
  • Highlight brace after caret instead of before

    Locked
    1
    0 Votes
    1 Posts
    507 Views
    No one has replied
  • EXTRACT COLUMNS WITH NOTEPAD

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    guy038G

    Hi, @sakijhon, @Terry-R and All,

    I understood why I wrongly supposed that it could be some spaces, at end of fields. Just because, analyzing the initial OP’s lines, with the TextFX option Line up multiple lines by (Clipboard Character), the plugin added some space chars to get all : separators aligned. And somehow, I probably used pieces of text containing these blank chars :-((

    So, Terry, you’re right and, probably, blank characters do not exist before or after semicolons, in the OP’s text. Thus, the search regex can be simplified as below. Note, also, that the replacement remain unchanged :-))

    SEARCH (?-s)^(.+?:){6}((.+?):){3}.+

    REPLACE \1\3

    Wow ! We just have learned a useful rule, regarding delimiter-separated format files :-))

    Let’s imagine, for instance, a file, containing, exactly, 12 fields, with the ! exclamation mark as a delimiter char.

    Now, let’s suppose that you would extract the 3rd, 5th, 6th and 11th fields, only, from that file

    So, we start with this sample text :

    3.00000!0.0009900000!S!{0}!frankgotti@me.com!frankie!Tucson!456789!student!marketing!approved!last field, line 1 3.50000!0.3010299957!C!{2}!chary@hotmail.com!charoty!!orth_Oracle!567234!notstudent!mathematics!disapproved!last field, line 2 3.75000!0.6020500913!S!{2}!tytarty@yagoo.com!tiagonne!Mission_District!126789!teacher!course_algebra!teacher!last field, line 3

    We, first do simple subtractions in order to determine all the coefficients, used as quantifiers, in the regex :

    Fld | Qtf 3 - 0 = 3 \ 5 - 3 = 2 \ 6 - 5 = 1 \ 11 - 6 = 5

    This leads to these correct regexes :

    SEARCH (?-s)^(.+?!){3}(.+?!){2}(.+?!)((.+?)!){5}.+

    REPLACE \1\2\3\5

    OR

    SEARCH (?-s)^(.+?!){3}(.+?!){2}(.+?!)(?:(.+?)!){5}.+

    REPLACE \1\2\3\4

    And… we get the expected results :

    S!frankgotti@me.com!frankie!approved C!chary@hotmail.com!charoty!disapproved S!tytarty@yagoo.com!tiagonne!teacher

    Et voilà !

    Cheers,

    guy038

    P.S. :

    In case of unwanted space characters, right before or after any separator, it is more sensible to do the preliminary S/R, below :

    SEARCH \x20+Separator\x20+

    REPLACE Separator

  • Hide/Remove the "close all" button top left in the toolbar?

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    Scott SumnerS

    @Serpens66 said:

    that was not what I asked

    Ah, I see that now. It was my misunderstanding that you were trying to press the Close toolbar button but were hitting the Close All toolbar button instead. Sorry for that, I guess I read your original posting too quickly.

    But, really, if you are going to accidentally hit a toolbar button rather than a file-buffer’s tab (something I have never accidentally done), then perhaps you should simply turn the toolbar OFF as it sounds like you are in peril of accidentally activating ANY toolbar function and not only the Close All one. Turning off the toolbar can be done in the preferences.

  • What's triggering "move to other view" cursor?

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    Terry RT

    @Scott-Robertson
    Thank you for updating the situation. Now I also know something new about NPP.

    Terry

  • Command "Edit with Notepad++" does not work in admin mode

    Locked
    2
    0 Votes
    2 Posts
    766 Views
    dinkumoilD

    This is not the right place to report a bug, you should follow this FAQ Desk entry to do that.

    What I can tell you is that there is a plugin called SaveAsAdmin which, when installed, lets you store files even at locations protected by the OS. The plugin is obtainable via Plugin Manager (Notepad++ prior to v7.6) and Plugin Admin (Notepad++ v7.6 and higher).

  • 0 Votes
    19 Posts
    3k Views
    Scott SumnerS

    @Neculai-I.-Fantanaru

    So the premise from the beginning it seems has been that the need is for some few number of pairs of files; mentioning that you had something like 500 would probably have been a good thing to do early on. :-)

    Do you have a plan for how to combine the pairs of files into one file with the line of --------- separating them? That seems key to the solution described thus far. There are some not-so-difficult ways, but specifying WHICH files and making sure there are the same number of lines in each…I don’t know, but I hope you do, as this is your problem and your data. Perhaps the regular expression can be altered to avoid the dependency on “n”, but unless you have solutions for some of the other technical difficulties, well, then…

    It seems we are getting very close to advising you that you need a programming language to do this more easily.

    And yes, people, I do realize this discussion is getting a bit outside the realm of Notepad++ discussion. :-)

  • 0 Votes
    4 Posts
    1k Views
    dinkumoilD

    Search for: ([.:=*]) +
    Replace with: \1\r\n