• FORUM: Posting Queue

    Pinned
    9
    12 Votes
    9 Posts
    402 Views
    PeterJonesP

    @donho ,

    Makes sense.

    Since deleting posts was tedious for me, I had recently been looking into whether I could use the API that the forum offers to write a script to automate some of the cleanup (like with purging the deleted posts/topics), but that will take some time to develop.

    update: As of Nov 9, the purge automation is working, and it will run once a week. (Along with purging deleted posts/topics, it will also delete user accounts that are more than a year old where the user never posted and never logged in after the first day – nearly half of the 30000 accounts were in this category)

  • Please Read This Before Posting

    Pinned Locked
    1
    5 Votes
    1 Posts
    3k Views
    No one has replied
  • remove hyperlink

    35
    0 Votes
    35 Posts
    24k Views
    nils svejgaardN

    @Lê-Thanh-Bảo said in remove hyperlink:

    2021-02-18_3-11-36.png

    Step 1: - Open Notepad++ and go to Settings.
    Step 2: - Select Preferences.
    Step 3: - After opening preferences window, Click on ‘Cloud & Link’ tab.
    Step 4: - Click under the ‘Clickable Link Settings’ section in uncheck the ‘Enable’ checkbox.

    This. just straight up saved so much frustration :D.
    Much love sir. many thanks from random person who registered ONLY to say thanks :D

  • MacroInspect which comments macros

    35
    8 Votes
    35 Posts
    641 Views
    Alan KilbornA

    Such a minor quibble it isn’t worth mentioning, but if you end up doing any more changes maybe throw in a change that would remove all & strings from the comment?, e.g.:

    <!-- &amp;Save --> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" />

    And, I know it messes with the “purity” of the algorithm, but consider changing:

    <!-- IDC_FRCOMMAND_BOOLEANS [IDF_WHICH_DIRECTION] --> <Action type="3" message="1702" wParam="0" lParam="512" sParam="" />

    to something like:

    <!-- IDC_FRCOMMAND_BOOLEANS [forward_direction] --> <Action type="3" message="1702" wParam="0" lParam="512" sParam="" />
  • Workflow: Number of open tabs

    20
    0 Votes
    20 Posts
    257 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Or in those famous lyrics:

    You can't always get what you want But if you try sometimes you just might find You get what you need

    —Writer(s): Mick Jagger, Keith Richards

    :-)

  • About attributes of the language node, in langs.xml

    4
    1 Votes
    4 Posts
    145 Views
    PeterJonesP

    @guy038, said in About attributes of the language node, in langs.xml:

    Regarding the Lua language, the first line is :
    I hope that it still works with this layout. Personally, I would expect this syntax :
    … For the two languages mssql and sql, the commentLine attribute is moved at end of current line, after the commentStart and commentEnd attributes

    Order of attributes is irrelevant to XML (even when parsed by the outdated tinyxml library used in N++)

    The embedded Javascript and SearchResult languages do not have any extension ! I suppose that it’s on purpose ?

    Since embedded Javascript is only for JavaScript embedded in HTML and similar files, it makes sense to not populate the ext attribute. And SearchResult even more so.

    More generally, for a specific attribute, is the attribute="" syntax identical to the total absence of this attribute ?

    As far as I know or can determine.

    Regarding the backspaceUnindent attribute, it doesn’t seem used, by default, even for the two languages python and yaml which use the four space indentation

    Don didn’t bother updating the XML to include the default value for all languages, because the code already assumes the default value.

    That attribute will only show up on languages that you change the state of that option – or perhaps on languages where you change any of the langs.xml-related options in the GUI (I haven’t tested that).

    Thus, the no status, for the powershell language seems useless, too !

    If you toggle it on and then back off (there might have to be an exit/reload between; again, I haven’t tested specifically), it will first populate the attribute with the yes when you toggle it on (and then save settings), then it will populate with no when you toggle it back off (and then save settings).

    Once Notepad++ has started tracking a given attribute in its XML settings, it will always write that value when it writes the associated XML on exit; the attribute-is-missing case is just to simplify handling installations that are being upgraded (so a person doesn’t have to re-create their langs.xml in order to be able to toggle that option), and Don made use of this to save the effort of adding that attribute to every language in the model XML file.

    … however, looking at the langs.model.xml file, for the powershell language, I just see :

    So, this may be a mistake on my part, although I don’t use the powershell language, yet !

    Right now, the most recent commit for langs.model.xml is here, and it shows that powershell does not include that attribute. Which means for the no value to have shown up in your XML, you either toggled that option or you made some other change for powershell (knowingly or unknowingly).

  • Disable Auto Update checking and update

    5
    0 Votes
    5 Posts
    21k Views
    PeterJonesP

    @Alex-De-Lara ,

    Please refrain from making the same complaint in multiple locations in the forum (ie, here and in this earlier post), and be patient while post-approval-queues are processed, and people have time to craft a reply.

    update: By posting in this Topic as well, are you just saying “I was able to turn off auto-updates thanks to seeing the “Enable Notepad++ auto-updater” preference mentioned”? or are you saying, “I previously had auto-updates turned off by uncheckmarking that option, but even in a recent version, it ran the auto-updater despite having that option turned off” – because the latter is what this Topic is about… so if you’re really also having problems where the auto-updater didn’t honor your setting, you need to tell us what version you were updating from – maybe you found a bug in the updater option (though it’s doubtful)

  • 0 Votes
    4 Posts
    79 Views
    Alan KilbornA

    @PeterJones said:

    accidentally (or intentionally) set it to Width=0

    I was not (consciously) aware that it could be set to 0.
    Are there users that would intentionally do this?
    I think if I were writing that functionality for Notepad++, I would have set the lower limit to “1”.

    I would also think that if someone accidentally set this to 0, they’d immediately see the error of their ways, and change it back to something non-zero, not suffer with it for a long period of time as it seems the OP has.

  • pinned tabs

    7
    0 Votes
    7 Posts
    203 Views
    Lycan ThropeL

    @datatraveller1 ,
    @Alan-Kilborn is right, if what you’re describing is true, although even after enabling the “Exit on Close the last tab” in the preferences dialog, I couldn’t reproduce your issue, so unless you didn’t enable the pin tab feature, and then click the pin, I don’t see how this could have happened. I tried several different variants of it, and couldn’t do it.

    Even though I agree with you on trying to see the value of this feature, other than to keep a document pinned and to the left, and unable to be moved once it’s pinned, I see no other value of it for me. If people want it for some reason, good for them, it’s implemented, and fortunately, you also have the option to disable it, so…the OP’s statement to me, seems to exemplify excessive conditions.

    I seldom have so many files open that they scroll off the screen, and frankly I find that kind of tab/file poor management and chaotic in nature. Between the File->Recent Files and the View->Document List features, I don’t see the purpose of having excessive amounts of files open at one time. Even assuming one has a header file open, and multiple dependent files open to look at, this seems like bad management, to me.

    Even with web development, I would expect more open applications for graphics, FTP, word processor, etc, outside of Notepad++, than mutiple files of .css files, .html files, maybe scripts, etc inside of Notepad++ that wouldn’t be better off being managed (open/closed as needed) by using the Recent Files or Document List features or even the Project Panel or Folder As Workspace views to help manage a set of files in a project. I know some people work differently than perhaps I would, but it seems that excessive amounts of open files would lead to nothing more than confusion, accidental closures (which Pin Tab helps with) or editing the wrong file…etc. Might be just me though. :-)

  • Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht

    5
    0 Votes
    5 Posts
    121 Views
    datatraveller1D

    @PeterJones said in Plugin 'AutoCodepage v1.2.7' für 'notepad++ v8.7.4' funktioniert nicht:

    Sorry

    No problem, no need to say Sorry :-)

  • Per-Desktop Instance

    8
    0 Votes
    8 Posts
    3k Views
    M

    @KoliadaES-Release said in Per-Desktop Instance:

    Mostly because the last 5 or so updates seem to be massaging existing material. But it is quite possible I’m missing something important.

    What you’re missing (IMO) is that Notepad++ has very few automated tests, so new features have an increased risk of causing regressions in weird unpredictable ways. This is very suboptimal, but nobody has the time or motivation to add more automated tests, especially since UI tests would probably be very difficult to implement.

  • Keep only one copy of a line that may repeated many times, or only once.

    2
    0 Votes
    2 Posts
    97 Views
    CoisesC

    @Robert-Or-Janet-Diebel said in Keep only one copy of a line that may repeated many times, or only once.:

    I wish to search a file and keep only one copy of a line that may be repeated many times, or only once. The output, then is one copy of every line type, with all repetition removed.

    Edit | Line Operations | Remove Duplicate Lines does that.

  • CRTL+Z & CTRL+Y

    4
    0 Votes
    4 Posts
    117 Views
    CoisesC

    Going by the translation Terry R posted, this is the same behavior discussed recently here:

    https://community.notepad-plus-plus.org/topic/26403/

    and, as noted in that thread, there is a GitHub issue here:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15878

    addressing it.

    Honestly, I think this is very unlikely to change, and I think it would be very difficult to “fix” in a consistent way. But, see the GitHub discussion and add to it, if you have observations or suggestions.

  • Windows taskbar; filename only?

    3
    0 Votes
    3 Posts
    76 Views
    Harly WalshH

    @PeterJones I just found it…
    I don’t skim too fast…
    Cheers anyway mate.

  • Grab Mobile Phone Number from wrap data

    3
    0 Votes
    3 Posts
    113 Views
    guy038G

    Hello, @tcast-mobile, @mark-olson and All,

    @tcast-mobile, just a variant which does not care about the socmed string but simply searches for the nearest multi-digits phone number, preceded by a + sign, beginning a line :

    FIND (?-is)healthcare\R(.+)\R(?:.+\R)+?\+(\d+\R)

    REPLACE $1 | $2

    Notes :

    Most of the explanations, relative to the regex syntax, have already been given by Mark. Two other points :

    The (?:......) syntax is a non-capturing group, as we do not need this information in replacement

    The \+ represents a literal +

    Best Regards,

    guy038

  • How to Markdown code on this forum?

    Locked
    12
    1 Votes
    12 Posts
    29k Views
    PeterJonesP
    For Future Readers

    The hints in this discussion are mostly still good (other than suggesting imgur, as the moderator note clarifies); however, a few years after this discussion, we added a FAQ: Formatting Forum Posts which should be used as the canonical/official guide for using Markdown on this Forum; the benefit of the FAQ is that it can and will be kept up-to-date, which is harder to do for these older discussions.

  • The Notepad++ website is blocked in Russia.

    4
    0 Votes
    4 Posts
    1k Views
  • Hidden shortcut ctrl+} ?

    3
    0 Votes
    3 Posts
    138 Views
    Y

    @Coises Oh, I see, shift+] = }
    Now it works.
    Much appreciated!

  • after upgrade, I lost most tabs

    3
    0 Votes
    3 Posts
    121 Views
    Y

    @PeterJones Thanks for your help. I’ll try.

  • Coding of it

    3
    0 Votes
    3 Posts
    107 Views
    Alan KilbornA

    @Mark-Olson

    What? A picture of Mark now?
    I am in no way surprised. :-)