• Is there an option to unlock a forum thread?

    9
    1 Votes
    9 Posts
    1k Views
    guy038G

    Hi, @peterjones,

    OK, I just updated the link !

    BR

    guy038

  • Find Replace .. what happened .. is it being sabotaged ?

    8
    0 Votes
    8 Posts
    606 Views
    Alan KilbornA

    @PeterJones said in Find Replace .. what happened .. is it being sabotaged ?:

    that’s something that could be clarified a bit more in the docs.

    The grouping box has always been very obvious to me, but if it is not to everyone (and apparently it isn’t) then I agree it is a documentation-worthy thing.

  • How to change timestamp to hh:mm:ss.mss format

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    For further info, see my boilerplate below.

    For specifics of this, I’ll give a brief description:

    The T and Z are literals, in both the search and replace expressions. The (...) makes a group#1 which contains whatever matches inside. \d matches any digit (0-9, and some other unicode “digit” characters from other languages). \d\d thus matches two consecutive digits; \d{1,2} matches 1 or 2 digits. : matches the literal :. Thus, T(\d\d:\d\d:\d\d)Z matches the hh:mm:ss in between a T and a Z, and stores it in group#1. For the replace, ${1} is the contents of group#1, and everything else is a literal so, “replace it with a T, followed by the contents of group#1 from the find-match, followed by .000 and finally a Z”.

    -----

    Please Read And Understand This

    FYI: I often add this to my response in regex threads, unless I am sure the original poster has seen it before. Here is some helpful information for finding out more about regular expressions, and for formatting posts in this forum (especially quoting data) so that we can fully understand what you’re trying to ask:

    If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study the official Notepad++ searching using regular-expressions docs, as well as this forum’s FAQ and the documentation it points to. Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you. If you need help formatting, see the paragraph above.

    Please note that for all regex and related queries, it is best if you are explicit about what needs to match, and what shouldn’t match, and have multiple examples of both in your example dataset. Often, what shouldn’t match helps define the regular expression as much or more than what should match.

  • Disable fullscreen key

    4
    0 Votes
    4 Posts
    701 Views
    PeterJonesP

    @Hansli-Müller said in Disable fullscreen key:

    p.s.: Why my full name will be displayed, how to change that??

    Because you filled in your full name (or it was inherited from whatever service you use to sign in).

    Click your “H” avatar in the upper-left corner; click Edit Profile in the pulldown; click on Change Username on the left. That will change what name gets displayed to us. You can also Change Picture to change your avatar.

  • Notepad++ and wine?

    3
    0 Votes
    3 Posts
    617 Views
    pnedevP

    @Hans-Müller ,

    As an alternative you can try https://snapcraft.io/notepad-plus-plus.

    BR

  • Notepad++ was not picking up document changes

    4
    0 Votes
    4 Posts
    357 Views
    pnedevP

    @John-Bowles ,

    As @Alan-Kilborn said, check your preferences - go to Settings->Preferences->MISC and on the right check File Status Auto-Detection state.

  • Blue dot on the left border

    3
    1 Votes
    3 Posts
    2k Views
    SinghRajenMS

    What is that?

    This is a feature named “Bookmark”. There are many operation supported around bookmark. Refer all operation under menu “Search->Bookmark”. Hope, this helps.

  • sort file by date hour like 2019-07-30 15:06:33

    4
    0 Votes
    4 Posts
    2k Views
    guy038G

    Hello @pcouas and All,

    Could you show us a small part of your log file, with the indication of the date/time fields to be sorted ?

    I’m pretty sure that, using a regex S/R, we could be able to insert a temporary re-organized date/hour field, at beginning of each line, which should be easy to sort, alphabetically ;-))

    See you later,

    Best Regards,

    guy038

  • RSS preview shows cookie notice

    1
    0 Votes
    1 Posts
    179 Views
    No one has replied
  • 0 Votes
    1 Posts
    238 Views
    No one has replied
  • 0 Votes
    2 Posts
    266 Views
    PeterJonesP

    The icons for .ini and .cfg files can be changed by the operating system, just like every other file type. They are just using the default textfile icon supplied by Notepad++ because all text files (and by default, Windows considers ini and cfg as text files) have been associated with Notepad++ on your computer. This is not a decision made by Notepad++.

    Google for “windows 10 how to change icon for extension”, or similar, will probably result in helpful links

  • 0 Votes
    2 Posts
    246 Views
    PeterJonesP

    This FAQ explains the process for making feature requests.

  • Notepad++ 7.8, having issues with the save dialog

    3
    0 Votes
    3 Posts
    589 Views
    PeterJonesP

    You have brought up two very different issues.

    The first is regard keyboard accelerators: I can confirm that in 7.7.1, when you try to close new 3, you used to be able to hit Y or N to respond, and it would listen. In 7.8, it did not listen to me. (And @Alan-Kilborn’s citing of the issue#6223 shows it’s not just us.)

    The second is regarding Yes to all and No to all. My experiments show it is working correctly. If you have three edited unsaved files open, and you try to close just one (for example, new 3), then there is no “all”, there is just the “one”, so it doesn’t give you the options of Yes to all and No to all. If you use File > Close All or equivalent (including exiting Notepad++ with periodic backup disabled), it will enable the Yes to all and No to all, because there is more than one file to respond to.

    (Yes, I see this is mostly a detailed duplicate of @Alan-Kilborn’s post at this point. It wasn’t when I started, because he hadn’t posted yet.)

  • 2 spaces or more in the text filename ?

    3
    0 Votes
    3 Posts
    232 Views
    ?

    Thank you, gurikbal singh
    It seems to do the trick :)

  • Notepad++ in SCCM Managed Environment

    6
    0 Votes
    6 Posts
    3k Views
    fralbertF

    @Richard-C : of course we have the line
    <GUIConfig name=“noUpdate”>yes</GUIConfig>
    in C:\Program Files (x86)\Notepad++\config.model.xml

    and we also replace the update url in C:\Program Files (x86)\Notepad++\updater\gup.xml :
    <InfoUrl>https://localhost.php</InfoUrl>
    to avoid NP++ manual updates.

    (x86) if you have the 32bits version…

  • please add user defined skin `Zenburn` in this community settings

    2
    0 Votes
    2 Posts
    324 Views
    Alan KilbornA

    @gurikbal-singh

    What does that even mean? : “in this community settings”

  • Scrpit for automating multiple "search in Files"

    3
    0 Votes
    3 Posts
    385 Views
    Arhack BifrostA

    @Alan-Kilborn Thanks for your answer yes you are right there is such commands i guess, that what i noticied by looking at Scintilla documention, but i still wonder how NotePad interpret this messages

  • NPPFTP setup with two factor authentication

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @kiranunix said in NPPFTP setup with two factor authentication:

    I followed these steps . It works. i am able to connect with Two factor authentication .

    Great news.

    Are there any settings to do sudo login to another user ?

    That’s not an option I’ve heard of for any ftp client (though I am not an expert). Sorry.

  • How to automatically make lot of Notepad or .txt (plz help)

    2
    0 Votes
    2 Posts
    391 Views
    dinkumoilD

    @Rotua-Frans-Manalu

    Though the solution for this task is a very simple Batch script I won’t post it here for two reasons:

    This is a Notepad++ user forum, i.e. it’s intended purpose is to help fellow users having problems with Notepad++ and its features and with tasks that can be solved with Notepad++ itself or with a little help by one of its plugins. The solution of this problem is so easy that you have to put only little effort in it to solve it by yourself. Moreover you will learn something useful. Hint: google for batch for loop, the for /l variant is your friend.
  • Preferences option to show only one line in search results

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @Hans-Schulze said in Preferences option to show only one line in search results:

    Which use case needs all the search hits explicitly listed as a separate result?

    Often people are short-sighted when they complain.

    Here is the answer: When a line in the Find-result window is double-clicked, the editor window is adjusted to find the match. If multiple matches per line occur, the logic needs to know which match should be highlighted and the caret placed at.

    To produce just one line in the Find-result window for a line in the editor window that has multiple matches, use this type of regular expression find-all: ABC(?-s).*? This will find the first matching ABC on a line and will include the rest of the line in that match. Thus, even if the remainder of the line contains more ABC, there is only one match for the line. Disclaimer: I’m not near Notepad++ right now where I can test the above, so I can only say I think it will work. It may need some tweaking.

    Should be easy to implement.

    This is a great statement, most often cited by people that have no clue about software development. Perhaps the OP will respond and say they are a long-time software developer; to which I would then say “Shame on you for making such a statement, then”. :)