• Login
Community
  • Login
  1. Home
  2. General Discussion
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • R

    Repetitive search

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Dec 7, 2020, 1:04 PM
    Dec 7, 2020, 9:05 AM
    0 Votes
    3 Posts
    361 Views
    A Dec 7, 2020, 1:04 PM

    @Raanan-Barzel said in Repetitive search:

    Please enable F3 repeat while the Search panel is open.

    F3 does NOT work when the Find window has input focus.
    There, Enter (or Shift+Enter) will move between the matches.
    When the main editing window has input focus, THEN F3 (or Shift+F3) works.

  • M

    Forum private message

    Watching Ignoring Scheduled Pinned Locked Moved
    18 Dec 6, 2020, 5:17 AM
    Oct 6, 2020, 2:33 PM
    1 Votes
    18 Posts
    2k Views
    M Dec 6, 2020, 5:17 AM

    Sending e-mails on the Internet is no longer a trivial matter. It used to be a wild west where anyone could send e-mails using any “from” address. Spammers took advantage of this.

    To cut down in the amount of incoming spam for their users many e-mail servers now inspect incoming messages and use various techniques to figure out if the e-mail is valid or is spam.

    From the screen shots I see in this forum thread it appears NodeBB was created during the wild west days. Much of what they are suggesting won’t work in today’s Internet.

    While @PeterJones suggested using any major provider I suspect you will run into sending limits with most of the providers. NodeBB will be firing off batches of nearly identical e-mails to many people to alert them about updates to forum threads and/or to send them daily digests. Those batches will look like spam attempts to most of the major providers which will shut you down.

    I noticed that notepad-plus-plus.org has an MX record but there’s either no inbound mail server configured or it rejected my attempt to connect to it. I’ll assume the MX record is an artifact from the hosting company and that @donho did not buy the e-mail hosting part of the package.

    As I noted earlier, sending e-mails on the Internet is no longer a trivial matter. Many hosting companies don’t allow their customers to run e-mail based forums as the resulting traffic can cause the hosting company’s IP network blocks to get blacklisted. I started to look into if the company that hosts the notepad-plus-plus.org web site, https://www.hostinger.fr/ , allows e-mail forums but I don’t know French. I tried viewing the hosting site via the Google translator which worked well until the site blocked me as they did not want me to view their site via another site (google’s translator).

  • G

    Location Navigate x64

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Dec 2, 2020, 9:29 PM
    Nov 28, 2020, 1:24 PM
    3 Votes
    7 Posts
    1k Views
    M Dec 2, 2020, 9:29 PM

    @Gurux13 said in Location Navigate x64:

    There is no license attached to the source code, which makes it problematic to redistribute.

    There is no specific LICENSE.txt file, but all the code has a header that includes:

    //This program is free software; you can redistribute it and/or //modify it under the terms of the GNU General Public License //as published by the Free Software Foundation; either //version 2 of the License, or (at your option) any later version.

    and it’s basically modified files from the Notepad++ plugin template structure which also bear that notice. I’m not a legal expert, but I’m pretty sure you’re OK to clone the publicly available source code to your GitHub, make modifications and re-release so long as you don’t change the existing “license”.

    Cheers.

  • 1

    Tab cessions

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Dec 2, 2020, 1:56 PM
    Dec 2, 2020, 10:20 AM
    0 Votes
    3 Posts
    223 Views
    P Dec 2, 2020, 1:56 PM

    @1-conscience-0-dimension ,

    It could be nice to have … session manager…

    Notepad++ already natively supports sessions¹: File > Save Session… and File > Load Session… allow you to save and load any session files you want.

    However, one feature you mentioned was

    with a menu to delete unwanted files entries

    The native session handling does not allow you to pick-and-choose which tabs end up in a session file. However, the session files are XML-based, so once the session file is saved, you can open it as a text file, and delete any unwanted entries from the session file, and save the file. The next time you Load Session, it will not include the extra tabs².

    There is a plugin called Session Manager that may have more features of use to you: go to the Plugins menu, Plugins Admin entry, and install Session Manager. I don’t use named sessions much, so I don’t know all the features of that plugin, but if you’re regularly using sessions, I’ve heard it’s a good improvement.

    -----

    Official sessions docs @ https://npp-user-manual.org/docs/session/ . As of 2020-Dec-02, the npp-user-manual.org version of the session docs is rather scant. There is an improvement coming soon, which can be viewed on github while waiting for it to be published.

    Caveat: when you File > Load Session…, it will add all the tabs from the session file to the current instance of Notepad++: it doesn’t automatically close other files, so you may have to File > Close All if you only want the session’s tabs open and don’t want other tabs to stay open.

  • I

    How to find and replace with a certain multiple of different values in a document?

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Nov 30, 2020, 4:39 PM
    Nov 30, 2020, 2:37 AM
    0 Votes
    4 Posts
    448 Views
    N Nov 30, 2020, 4:39 PM

    Below is a Python Script, which will change ALL occurrences of Damage to 50% of their value,:

    import xml.etree.ElementTree as ET def is_float(value): try: float(value) return True except: return False root = ET.XML(editor.getText()) for damage in root.findall(".//Damage"): if damage is not None and damage.text is not None and len(damage.text) > 0 and is_float(damage.text): value = float(damage.text.strip()) * 0.5 damage.text = "{:.6f}".format(value) editor.setText(ET.tostring(root))
  • C

    remove part of line

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Nov 30, 2020, 4:19 PM
    Nov 30, 2020, 2:01 PM
    0 Votes
    5 Posts
    456 Views
    A Nov 30, 2020, 4:19 PM

    @cisco779k

    You have asked several regex data transformation questions on the forum. Give us all some “tanxs” by putting in the effort to learn why @astrosofista 's technique worked on your data, so that in the future you can maybe solve this type of problem (a fairly simple one) without coming here for help.

    Some nice resources are found HERE.

  • S

    Please reinstate support for URL protocols

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Nov 29, 2020, 6:30 PM
    Nov 29, 2020, 1:55 PM
    1 Votes
    3 Posts
    319 Views
    S Nov 29, 2020, 6:30 PM

    Wow ok this looks good, thank you for the pointer to the post.

  • C

    help reg-ex

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Nov 29, 2020, 1:35 PM
    Nov 28, 2020, 8:42 AM
    0 Votes
    5 Posts
    302 Views
    C Nov 29, 2020, 1:35 PM

    many tanxs (again) for your explanation!

  • M

    Create local XML and XSD files can be evaluated successfully

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Nov 28, 2020, 10:25 PM
    Nov 28, 2020, 10:25 PM
    2 Votes
    1 Posts
    8k Views
    No one has replied
  • El FAROUZE

    remove duplicate urls

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Nov 28, 2020, 5:47 PM
    Nov 28, 2020, 2:15 AM
    0 Votes
    7 Posts
    2k Views
    Terry RT Nov 28, 2020, 5:47 PM

    @guy038 said in remove duplicate urls:

    Am I missing something obvious ?

    I made no assumptions about the list, I just wanted to keep the order that did exist in reverse. The OP had pivoted my solution suggesting it worked for them.

    Terry

  • BGM CoderB

    $(CURRENT_DIRECTORY) is np++ directory

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Nov 28, 2020, 4:24 PM
    Nov 28, 2020, 5:42 AM
    0 Votes
    5 Posts
    662 Views
    BGM CoderB Nov 28, 2020, 4:24 PM

    Thanks! That clears things up for me. I’m a bit richer now!

  • A

    Poor-man's "regex favorites" in Notepad++

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Nov 28, 2020, 11:26 AM
    Nov 25, 2020, 10:05 PM
    3 Votes
    4 Posts
    2k Views
    A Nov 28, 2020, 11:26 AM

    @guy038 said in Poor-man's "regex favorites" in Notepad++:

    Your search regex|(*F)\Q REPL:Your replacement regex

    Nice, one Guy!
    I’d like the original (?#...) one better, because it is more readable (once one knows that it is a “comment”), except for the problem I noted with the closing parens.
    Because of that limitation, |(*F)\Q is definitely better here.

  • SuncatcherS

    Marked text manipulation

    Watching Ignoring Scheduled Pinned Locked Moved regex mark regex delete text copy
    50 Nov 26, 2020, 8:12 AM
    Nov 12, 2016, 11:50 AM
    1 Votes
    50 Posts
    55k Views
    dinkumoilD Nov 26, 2020, 8:12 AM

    @Alan-Kilborn said in Marked text manipulation:

    Copy and cut of selected text would jam all of the text together if it were on a selection basis (probably not really useful that way).

    Yes, you are right. Up to now, I’ve used my script only for deleting and editing the selections. But especially being able to multi-edit all occurences of a search term or overwrite them by multi-paste vastly increases productivity.

  • migemet nppM

    "Count" number of matches

    Watching Ignoring Scheduled Pinned Locked Moved search feature find window count button
    4 Nov 25, 2020, 1:52 PM
    Nov 24, 2020, 10:33 PM
    0 Votes
    4 Posts
    5k Views
    A Nov 25, 2020, 1:52 PM

    I had a thought that it might be valuable to better state the precedence of options that I mentioned earlier. Let me give it a go, in the form of a pseudocode flowchart:

    Count option rules: if "In selection" is ticked Count will be occurrences within the selected text (of a single, non-column-block) selection else if "Wrap around" is ticked Count will be occurrences within the entire document else if "Backward direction" is ticked Count will be occurrences from the start of document to the (main) caret else Count will be occurrences from the (main) caret to the end of the document

    The use of “(main)” is important if you have multiple carets active at once (i.e., multi-editing enabled).
    You only have one “main” caret, which is the most-recent one you created.

  • Joan Chaparro i BertranJ

    Split lines in n characters completing whole words in Notepad++

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Nov 25, 2020, 3:06 AM
    Nov 16, 2020, 3:26 PM
    0 Votes
    8 Posts
    586 Views
    astrosofistaA Nov 25, 2020, 3:06 AM

    Hi @Terry-R

    You’re right, my bad. I misread the whole thing. Hope that OP wasn’t fooled by my post.

    BR

  • M

    Perl subroutine calltips - with PythonScript

    Watching Ignoring Scheduled Pinned Locked Moved
    52 Nov 23, 2020, 1:31 PM
    Nov 19, 2020, 2:29 PM
    2 Votes
    52 Posts
    6k Views
    M Nov 23, 2020, 1:31 PM

    @Ekopalypse said in Perl subroutine calltips - with PythonScript:

    Just to make clear, this function is not really needed.

    That worked!

  • pbarneyP

    Request for a new command line switch --singleInst

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Nov 21, 2020, 7:13 PM
    Nov 19, 2020, 8:47 PM
    0 Votes
    4 Posts
    378 Views
    pbarneyP Nov 21, 2020, 7:13 PM

    @PeterJones

    It was a wishlist item and my wishlist doesn’t trump pressing needs. Too often the perfect is the enemy of the good.

    I don’t know what’s involved in ongoing Notepad++ development, and whether it would have been a, “hey, good idea, I’ll whip that together in 10 minutes and be done with it” or if it would be, “hmm, we’ll put together a committee to do a needs analysis prior to committing it to the product roadmap and tasking several developers to develop the unit tests and blah blah blah.”

    Either way, my life is 90% workarounds, so I’m fine with it.

  • Justin TolearnJ

    Updating version looses cached documents in the editor.

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Nov 21, 2020, 6:54 PM
    Nov 21, 2020, 11:31 AM
    0 Votes
    3 Posts
    232 Views
    P Nov 21, 2020, 6:54 PM

    @Justin-Tolearn said in Updating version looses cached documents in the editor.:

    I don’t know if this is a common behaviour I’ve not noticed before, but all documents that were in the previous version of the editor but NOT saved, were lost.
    Is this normal?

    It’s not common/normal, but we have heard instances of that before, so it’s not unheard-of, either.

    As @Alan-Kilborn said, anyone who tries to upgrade any software package without saving any active work first is just asking for trouble.

  • Jerry O'BrienJ

    Replace all double quotes freezes over a certain number of lines

    Watching Ignoring Scheduled Pinned Locked Moved replace all 7.9.1
    6 Nov 21, 2020, 3:56 AM
    Nov 19, 2020, 3:34 PM
    0 Votes
    6 Posts
    377 Views
    Jerry O'BrienJ Nov 21, 2020, 3:56 AM

    @Ekopalypse Thanks. I removed and reinstalled XML Tools and that fixed it.

  • JasonJDooleyJ

    Help switching localization from English to Spanish - It's not working! Please help

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Nov 20, 2020, 5:20 PM
    Nov 20, 2020, 5:09 PM
    0 Votes
    2 Posts
    219 Views
    P Nov 20, 2020, 5:20 PM

    @JasonJDooley ,

    You already asked that and I already answered.

    If you need more help, reply in the other thread.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors