• 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
  • A

    Slow to open large files...

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Jan 16, 2024, 1:49 PM
    Jan 12, 2024, 3:27 PM
    0 Votes
    7 Posts
    2k Views
    P Jan 16, 2024, 1:49 PM

    @AndersWa said in Slow to open large files...:

    N++ without Plugins is painfully slow editing large XML files.

    Which is why Notepad++ has Settings > Preferences > Performance, where you can define a threshold to stop doing things like syntax highlighting if a file is large enough that it slows down your editing.

  • L

    File is not getting minified.

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 16, 2024, 8:38 AM
    Jan 15, 2024, 10:10 AM
    0 Votes
    3 Posts
    649 Views
    L Jan 16, 2024, 8:38 AM

    I tried the above solution and it works perfectly. Nicely explain with screen shot.Thank you so much for your help. Really grateful.

  • M

    Must-Have plugins, what are yours?

    Watching Ignoring Scheduled Pinned Locked Moved
    15 Jan 15, 2024, 10:48 PM
    Sep 15, 2021, 1:29 PM
    4 Votes
    15 Posts
    35k Views
    M Jan 15, 2024, 10:48 PM

    @Barry-Patterson said in Must-Have plugins, what are yours?:

    I don’t see anyone mentioning the “NPP TextFX2” plugin.

    I suspect that’s because nearly all of the TextFX / TextFX 2 features are now built into Notepad++. Some accuse Notepad++ of then becoming bloatware.

  • A

    How to select OR bookmark only different (Diff) lines when comparing two text files

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 15, 2024, 8:23 PM
    Jan 15, 2024, 9:22 AM
    0 Votes
    6 Posts
    2k Views
    A Jan 15, 2024, 8:23 PM

    @ADEYEMI-SAMUEL this works for me. Appreciated @Coises

  • Z

    How i can sort number from largest to smallest on notepad++

    Watching Ignoring Scheduled Pinned Locked Moved sort lines
    26 Jan 14, 2024, 9:01 PM
    Apr 2, 2023, 12:23 AM
    0 Votes
    26 Posts
    5k Views
    A Jan 14, 2024, 9:01 PM

    If you’ve used a script in this thread, you might want to double check your copy of it for a bug I’ve discovered.
    Look to previous postings in this topic thread where the script has been changed – find the text moderator edit (2024-Jan-14).
    There’s a link there that describes the bug in more detail, and shows what needs to be changed in an old copy (or you can simply grab a copy of the current version).

  • A

    Random text in multiple files

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 14, 2024, 8:56 PM
    Jan 22, 2020, 10:20 AM
    0 Votes
    4 Posts
    2k Views
    A Jan 14, 2024, 8:56 PM

    If you’ve used a script in this thread, you might want to double check your copy of it for a bug I’ve discovered.
    Look to previous postings in this topic thread where the script has been changed – find the text moderator edit (2024-Jan-14).
    There’s a link there that describes the bug in more detail, and shows what needs to be changed in an old copy (or you can simply grab a copy of the current version).

  • M

    Notepad++ forum articles FAQ tagged vs the FAQ category

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 14, 2024, 5:46 PM
    Jan 14, 2024, 6:14 AM
    1 Votes
    2 Posts
    1k Views
    P Jan 14, 2024, 5:46 PM

    @mkupper ,

    Tags are up to the original poster who creates a given Topic, and are thus not guaranteed to be accurate – they are self-selected, self-reported, uncontrolled, and free-form. There is no way to prevent users from using inaccurate tags, nor of enforcing that they use only a controlled, limited set of tags, so it’s rather a free-for-all. As such, the moderators have chosen to not “police” the tags in general.

    For the “FAQ” tag, I agreed with you that it shouldn’t be on posts that are not in the official FAQ section (with the two “read before posting” being the intentional exceptions), so I did clear out the few extraneous “FAQ” tags that you pointed out to me in chat.

    Regarding tagging posts in the FAQ section: at various times, I have gone back and forth as to whether or not I should bother with them on the FAQ entries. I have never found tags useful in general (because of the free-for-all nature, and the fact that a search for contents of a post usually matches more and better posts that I’m looking for than does relying on the randomness of tags), and am not convinced that more people would find the various FAQs if only I’d tag them better. Adding a “FAQ” tag to them seems especially pointless because they’ve already been collected into one Category, which seems an easy enough way to make that grouping and to easily find them. If you feel strongly that the other half of the entries should have “FAQ” added, I can do that, I just doubt that it will be truly helpful.

    Regarding “Please Read This Before Posting” – I don’t like that I couldn’t use the same post in both categories, but the forum doesn’t allow that, so I’ve got two copies. And since there are two copies, the one-paragraph difference is intentional, because without it, some people have taken “General” to mean “talk about anything, even if it has nothing to do with Notepad++”, and that’s not what the Forum or that Category is for. And I don’t really see a point of a third copy, because if people don’t see it pinned at the top of General Discussion and Help Wanted, they aren’t going to see it in the FAQ Category page, either.

    update: additionally, every Topic is limited to 5 tags, so on some, I have to remove other tags to make room for a “FAQ” tag.

  • M

    xconfig for Notepad++

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jan 14, 2024, 8:34 AM
    Jan 14, 2024, 8:34 AM
    3 Votes
    1 Posts
    269 Views
    No one has replied
  • D

    Defining TAB stops at irregular positions in an UDL

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 13, 2024, 5:20 PM
    Jan 13, 2024, 2:15 PM
    0 Votes
    3 Posts
    291 Views
    C Jan 13, 2024, 5:20 PM

    @PeterJones said in Defining TAB stops at irregular positions in an UDL:

    I am not sure how the elastic tabstops handles the uneven spacing…

    SCI_ADDTABSTOP — I believe this was added to Scintilla following work and lobbying by Nick Gravgaard, who originally proposed elastic tabstops.

    Support is bare. The stops must be added to each line independently, they are not remembered when switching tabs (and so must be reestablished when the tab is activated again), and adding them is slow. Print doesn’t get them right (I think it fails to account for the difference between pixels on the screen and pixels on the printer).

  • M

    Editing (deleting) non-contiguous lines

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Jan 13, 2024, 12:51 PM
    Jan 12, 2024, 3:23 PM
    0 Votes
    8 Posts
    570 Views
    M Jan 13, 2024, 12:51 PM

    Wow again!
    Great group and very helpful people!
    I will give it a go again with these tips.
    Thanks a bunch.

  • A

    How to use SCI_GETTEXTRANGE in NppExec script?

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 12, 2024, 6:22 PM
    Jan 12, 2024, 12:05 PM
    0 Votes
    3 Posts
    316 Views
    A Jan 12, 2024, 6:22 PM

    @PeterJones ,

    Thanks for such a thorough investigation.
    Knowing that something is impossible is better than assuming it may be.
    The alternative with TARGET suits me very well, I’ll take it.

    Thank you!

  • AlekseyVarfalomichA

    Double-click on the bracket to select the text enclosed in brackets

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 12, 2024, 2:04 PM
    Feb 9, 2022, 1:50 PM
    0 Votes
    6 Posts
    3k Views
    Nidhal FlowgunN Jan 12, 2024, 2:04 PM

    in autohotkey, create a script that sends Ctrl+Alt+b when you ctrl+click.
    This is just one of the scripts I use to help me code in Notepad++

    #If WinActive(“ahk_class Notepad++”)
    ;; Ctrl+LButton to select what’s between brackets/parentheses
    ~^LButton::
    keywait, LButton
    if (A_TimeSinceThisHotkey<150){
    send, {lButton}
    send, ^!b
    send, {Shift Up}{Alt up}{Ctrl up}
    send, {sc0E9}
    }
    return

    #If

  • R

    Cannot add shortcut for "Duplicate Current Line"

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Jan 11, 2024, 2:46 AM
    Jan 10, 2024, 10:34 AM
    1 Votes
    8 Posts
    447 Views
    R Jan 11, 2024, 2:46 AM

    Thank you!

  • unal mkU

    Select file with one click in Project Panel :

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jan 10, 2024, 7:06 PM
    Jan 10, 2024, 2:20 PM
    1 Votes
    5 Posts
    649 Views
    unal mkU Jan 10, 2024, 7:06 PM

    @Alan-Kilborn said in Select file with one click in Project Panel ::

    @PeterJones said in Select file with one click in Project Panel ::

    For one-click switching, that might really annoy some people (like me), because some do a single-click on the filename to make sure it’s selected, then right-click to get the right-click menu, but don’t want to have that initial single-click immediately open the file or change the active file. So if you do end up requesting this feature, please make sure it’s an option to be single-click vs double-click, with the default in the double-click that people are used to.

    An additional “problem” for one-click: Sometimes, single clicks are “errant”, and big effects from such accidental clicks are annoying, because you then have to undo an action you didn’t intend in the first place.

    But if an selection option single/double click feature( like say PeterJones ) only for file switch no problem and make work easier .

  • msweg123M

    Who to contact when can't remember login info from the past?

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 8, 2024, 6:01 PM
    Jan 8, 2024, 1:27 PM
    0 Votes
    3 Posts
    305 Views
    swegmikeS Jan 8, 2024, 6:01 PM

    @PeterJones Thanks. I found the github login that was used and fixed the email.

  • Dr. ND

    Replace Unix timestamp

    Watching Ignoring Scheduled Pinned Locked Moved unix timestamp readable
    11 Jan 8, 2024, 9:54 AM
    Jan 4, 2024, 4:46 PM
    1 Votes
    11 Posts
    3k Views
    Thomas KnoefelT Jan 8, 2024, 9:54 AM

    @Dr-N ,@Coises ,@PeterJones
    @guy038 said in Replace Unix timestamp:

    I think that your result 2024-01-04 19:39:53 exceeds the right answer of one hour !

    Thanks for pointing this out!

    Indeed, in my example, my local time zone has been automatically included into the calculation.
    In case it should be UTC ( which is one hour west of my location) this should be indicated by a “!” in the format string.
    So the Replace of my (two) Cature Group example should look like this .

    Previous example with local time zone (Thu Jan 4 19:39:53 2024):
    set(CAP1..os.date("%c", math.floor(CAP2/1000)))

    New example with UTC time (Thu Jan 4 18:39:53 2024):
    set(CAP1..os.date("!%c", math.floor(CAP2/1000)))

    Details are described here:
    Lua os.date description

  • C

    Dark theme cursor invisible in column mode ( v8.6+)

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jan 8, 2024, 12:35 AM
    Jan 7, 2024, 7:53 PM
    0 Votes
    5 Posts
    713 Views
    C Jan 8, 2024, 12:35 AM

    I wanted to thank you for the assistance. Some of the themes I was using were Hyper, Obsidian PyCs, VS2019-Dark for example and a few more. I know those are old. Also it appeared I had duplicate copies of the original themes pre 8.6 in app data which i was not paying attention to so I needed another brain or two to jog my memory. I guess those were overriding anything new apparently.

    I just did a test and was able to add those setting to the older themes as I did not know a setting had to be present since the new release. They worked successfully. I appreciated the help on this matter!

    Hopefully this thread could potentially assist someone else :)

    PS i was not able to quote names in this thread as it would not let me

  • lon from appletonL

    Notepad++ note recognizing SRT file format

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 6, 2024, 5:14 PM
    Jan 6, 2024, 6:45 AM
    1 Votes
    4 Posts
    2k Views
    C Jan 6, 2024, 5:14 PM

    @lon-from-appleton

    One particular .srt file, or all .srt files?

    If all .srt files, as an experiment, if you rename one of the files to have .txt instead of .srt as the file extension, can Notepad++ open it?

    Also, please copy and post the output from Debug Info… on the menu opened from the question mark at the right of the Notepad++ main menu.

  • Mark OlsonM

    Proposed FAQ explaining why you shouldn't parse JSON with regex

    Watching Ignoring Scheduled Pinned Locked Moved json regex
    16 Jan 6, 2024, 8:15 AM
    Jan 2, 2024, 11:07 PM
    3 Votes
    16 Posts
    4k Views
    M Jan 6, 2024, 8:15 AM

    https://xkcd.com/1171/
    8992aaa5-536d-40a3-bb79-ea959b8934ec-Untitled.png

    @Mark-Olson I prefer this quote from 12 Aug 1997:

    http://regex.info/blog/2006-09-15/247

    Some people, when confronted with a problem, think
    “I know, I’ll use regular expressions.” Now they have two problems.

  • sdsds rgdsfdsS

    notepad++ mass save

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jan 5, 2024, 8:32 PM
    Jan 5, 2024, 1:31 PM
    0 Votes
    6 Posts
    7k Views
    supasillyassS Jan 5, 2024, 8:32 PM

    @sdsds-rgdsfds If you’re not too concerned about the file names, you can just copy the backups from %APPDATA%\Notepad++\backup to another location.

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