• put capital after a tag

    11
    0 Votes
    11 Posts
    5k Views
    Star XS

    Hi,

    follow below steps

    select all ctrl+A
    select TextFx from the top Menu
    then select TextFx Characters
    then select Proper Case and it will change all first letters of every line to Upper Case

    Cheers,

  • Help, почему черное?

    3
    0 Votes
    3 Posts
    332 Views
    dailD

    My guess is a compiled Lua file

  • Erase the Space Before a Decimal and Add a Comma

    4
    0 Votes
    4 Posts
    312 Views
    Marie PalmquistM

    @astrosofista Thanks a million!

  • TagLEET error: "access violation"

    4
    0 Votes
    4 Posts
    790 Views
    PeterJonesP

    @Michael-Vincent said in TagLEET error: "access violation":

    @PeterJones said in TagLEET error: "access violation":

    So then I went to the sourceforge repo and saw v1.3.2 was available there.

    Interesting. Sounds like the Plugin Admin links are both for the 32-bit version? Since I’ve been using a modified copy, I never noticed.

    Nope. Putting the 32bit in the 64bit plugin folder, I get explicit 32-bit error
    20bd68f0-ea25-436f-82d3-723fd4e68376-image.png

    I tried downloading the 64bit directly from here, and got the same access violation.

    I also verified nppPluginList correctly links to the 64bit zip for 1.3.1.

    Sounds like it’s working for you now?

    Yes, v1.3.2-64bit worked right off the bat, no problem.

    I don’t find it that useful in single file projects - I just use function list,

    That’s probably why it never “stuck” when I’d tried getting into ctags before.

    but for developing N++ plugins or maybe a multi-file Perl module (e.g., Win32::Mechanize::NotepadPlusPlus) it’s pretty helpful.

    That’s the personal project I’ll probably use it the most in. And my upcoming work project will involve a multi-file CPP program – I’ll mostly be in the IDE bundled with the hardware that the program will be running on, but when I’m at my desk, I’ll probably do “quick” edits in Notepad++, so ctags/TagLEET will probably help there, too.

  • trying to figure out

    3
    0 Votes
    3 Posts
    179 Views
    Michael VincentM

    @Kerry-Down

    @Alan-Kilborn beat me to it!!!

    Try adding the XML Tools from Plugins Admin (Plugins => Plugins Admin…).

    Once installed, Plugins => XML Tools has lots of options to look at including “Check XML Syntax now”, “Validate Now” …

    Cheers.

  • Tab settings not saving settings for "use default value"

    15
    0 Votes
    15 Posts
    1k Views
    Daniel FuchsD

    Removing config.xml fixed the issue on my work computer.

  • // Javascript files don't show even background in ver. 7.7 //

    12
    0 Votes
    12 Posts
    387 Views
    PeterJonesP

    @Ricardo-E-Trelles-0 ,

    If you don’t like the background, change the default background. I’ve pointed you to the setting multiple times.

  • How to remove characters () and text inside

    7
    0 Votes
    7 Posts
    3k Views
    DrewD

    @PeterJones

    Thank you so much! Yes it works.
    I chose to find: (<tag>.*)\(.*\)(</tag>)
    And replace with: \1\2 or $1$2
    Checkmark regular expressions

  • find and replace find numeric value and replace

    2
    0 Votes
    2 Posts
    198 Views
    PeterJonesP

    @Venkat-Ramani ,

    You will have to re-phrase with a complete question. You appear to want to replace something with something else, but do not do a good job with explaining the before and after. Please read the boilerplate I am attaching, as it will help you understand how to better ask the question and better format the question, plus link to documentation that will help you learn how to figure this out yourself.

    If you show a willingness to learn, and to help us help you, by replying in a way that shows you read and understood my recommendations below, you are likely to get good help. Otherwise, I wish you the best of luck.

    ----

    Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as plain text using the </> toolbar button or manual Markdown syntax; screenshots can be pasted from the clipboard to your post using Ctrl+V. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get… Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.

  • replace some text inside the quotes

    9
    0 Votes
    9 Posts
    2k Views
    guy038G

    Hello, @vivianjenylord and All,

    Some explanations on this regex S/R :

    The part \.\w+ searches a literal dot character, followed with a non-null range of word chars…

    But ONLY IF  the condition inside the look-ahead is True. That is to say if, further on, in current line, a colon followed with a second non-null range of word chars, stored as group1 as embedded in parentheses, can be found

    In replacement, we rewrite a dot, followed with the contents of group1 ( the country name )

    Cheers,

    guy038

  • Something got changed, how do I revert it

    13
    0 Votes
    13 Posts
    829 Views
    EkopalypseE

    @romanml71 said in Something got changed, how do I revert it:

    However, not all plugins are in both places. nppcalc.dll was only in C:\ProgramFiles(x86)…

    I guess this could be if some older installation was updated with a much newer version.
    My understand it is that as long as Local Conf mode : OFF is set,
    the configuration, plugins … will be read from %APPDATA% and in case
    of Local Conf mode : ON npp is looking to the directories next to its executable.

  • file open/save as menus always are full screen version

    2
    0 Votes
    2 Posts
    181 Views
    EkopalypseE

    @Douglas-Kaynor

    Normally a double click in the title bar should restore it to be able to resize it.

  • explorer.dll. The specified module could not be found.

    34
    0 Votes
    34 Posts
    3k Views
    Carlos ZhangC

    @Carlos-Zhang said in explorer.dll. The specified module could not be found.:

    Plugins > Open Plugins Folder: Nothing happened. File Manager did not open.

    I also fixed this by this page:
    https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system
    FYI.

  • I want to cut a specific range

    6
    0 Votes
    6 Posts
    3k Views
    guy038G

    Hello, @김성찬 and All,

    An other and easy solution is to use the Begin/End Select feature !

    1 Left click at the very beginning of the first line 0000 90 9F 33 .. .. .., to move the caret to this location

    2 Select the option Edit > Begin/End Select

    3 Use the Ctrl + End shortcut to get the very end of your hexadecimal dump text

    4 Press and hold down the ALT key and left click after the 16th hexadecimal byte of the last line

    5 Select, again, the option Edit > Begin/End Select

    => After a while, needed to process 400,000 lines about, as you said, you should notice this big rectangular selection !

    6 Simply, press the Delete key

    Voila :-))

    Best Regards,

    guy038

    P.S. :

    If you forget to hold down the ALT key, at step 4 of the method above, you, obviously, get a normal selection of all your text !

  • Syncing unread files between cloud synced devices

    6
    0 Votes
    6 Posts
    537 Views
    EkopalypseE

    @PeterJones

    f355847c-96d5-416f-9554-5fdb80611ff0-image.png

  • Keyword prefix constraint possible ?

    11
    0 Votes
    11 Posts
    364 Views
    EkopalypseE

    @Klasen-Eric

    So my understanding is, that you run it once, right?
    And after executing you got your main print statement in the console, correct?
    After that, you need to activate the buffer aka clicking into it or switching
    from another document into the one which should be handled and then
    it should start coloring your regex matches.
    Did you ensure that the match group is 0? Only if you used G\d+.
    If you used something like
    G0(\d+) and you are interested to get the digit colored which follow G0
    you would need to use match group 1.
    So for example this

    regexes[(0, (79, 175, 239))] = (r'G\d+', 1)'

    would be an error as no match group 1 gets created

    either use this

    regexes[(0, (79, 175, 239))] = (r'G\d+', 0)'

    or that (which really doesn’t make sense in this case but …

    regexes[(0, (79, 175, 239))] = (r'(G\d+)', 1)'
  • I want to sort text phrases by their number of words

    5
    0 Votes
    5 Posts
    375 Views
    guy038G

    Hi, @thunderdog, @peterjones and All,

    Peter, nice shot , too ! As a sort was necessary, I simply thought about a second regex S/R. But you’re right, we can perfectly use a composite regex to get all the job done ;-))

    So, the road map is :

    Perform the regex S/R, twice

    Run the alphabetic ( Unicode ) ascending sort

    Perform the same regex S/R, once again

    Note that I also slightly shorten your search regex ! Here is the final solution :

    Assuming the initial text of @PeterJones, normalized in two lines, which does end with either a dot, an exclamation mark or an question mark !

    The day was very difficult today. I hope the next few days get better. Do you hope the same? I hope you hope the same as me! Hello, world! This sentence is just ten teeny-tiny words long, silly goose! No?

    SEARCH (?-s)^#+\t(.+)#$|\w+[^\w\r\n]*(?=.*\t)|\h*(.+?[.?!])(?!#)

    REPLACE ?2\2\t\2#\r\n:?1\1:#

    After two clicks on the Replace All button, we obtain :

    ###### The day was very difficult today.# ######## I hope the next few days get better.# ##### Do you hope the same?# ######## I hope you hope the same as me!# ## Hello, world!# ########### This sentence is just ten teeny-tiny words long, silly goose!# # No?#

    Now, we click on the Edit > Line Operations > Sort Lines Lexicographically Ascending option and get :

    # No?# ## Hello, world!# ##### Do you hope the same?# ###### The day was very difficult today.# ######## I hope the next few days get better.# ######## I hope you hope the same as me!# ########### This sentence is just ten teeny-tiny words long, silly goose!#

    Let’s go back to fhe Replace dialog , again and use the same S/R

    SEARCH (?-s)^#+\t(.+)#$|\w+[^\w\r\n]*(?=.*\t)|\h*(.+?[.?!])(?!#)

    REPLACE ?2\2\t\2#\r\n:?1\1:#

    After one final click on the Replace All button, here is your expected text :

    No? Hello, world! Do you hope the same? The day was very difficult today. I hope the next few days get better. I hope you hope the same as me! This sentence is just ten teeny-tiny words long, silly goose!

    Wow… Awesome !

    And if we want to get all that text in a single paragraph, just apply this last regex S/R !

    SEARCH ^\R|(\R)

    REPLACE ?1\x20

    giving :

    No? Hello, world! Do you hope the same? The day was very difficult today. I hope the next few days get better. I hope you hope the same as me! This sentence is just ten teeny-tiny words long, silly goose!

    Best Regards,

    guy038

  • Action on current selection

    9
    1 Votes
    9 Posts
    779 Views
    Alan KilbornA

    @asvc

    Security is indeed an important concern in current and future times.
    Perhaps you should not use Notepad++ at all, unless/until all possible holes in Notepad++ and Windows are addressed.

  • How to replace intrementally?

    25
    0 Votes
    25 Posts
    2k Views
    guy038G

    Hello, @alan-kilborn,

    Of course, it’s been more than 25 years since I really practice AWK. It was on an HP-Unix server that would be laughed at, nowadays !

    I have already praised, several times, the precision and power of regexes, which, in a few words, produce great effects !

    For the same reasons, it seems that I am simply impressed by the AWK language ;-))

    Cheers,

    guy038

  • Character II

    7
    0 Votes
    7 Posts
    828 Views
    Alan KilbornA

    @dail said in Character II:

    My personal rule any more is I’ll usually put in as much effort as the person I’m replying to. :)

    That’s an extremely reasonable criterion.
    A lot of postings would go unanswered, though. :-)