• Notepad++ forum articles FAQ tagged vs the FAQ category

    2
    1 Votes
    2 Posts
    1k Views
    PeterJonesP

    @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.

  • xconfig for Notepad++

    1
    3 Votes
    1 Posts
    278 Views
    No one has replied
  • Defining TAB stops at irregular positions in an UDL

    3
    0 Votes
    3 Posts
    294 Views
    CoisesC

    @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).

  • Editing (deleting) non-contiguous lines

    8
    0 Votes
    8 Posts
    574 Views
    Moe StarM

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

  • How to use SCI_GETTEXTRANGE in NppExec script?

    3
    0 Votes
    3 Posts
    320 Views
    Andi KiisselA

    @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!

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

    6
    0 Votes
    6 Posts
    3k Views
    Nidhal FlowgunN

    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

  • Cannot add shortcut for "Duplicate Current Line"

    8
    1 Votes
    8 Posts
    450 Views
    R

    Thank you!

  • Select file with one click in Project Panel :

    5
    1 Votes
    5 Posts
    665 Views
    unal mkU

    @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 .

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

    3
    0 Votes
    3 Posts
    308 Views
    swegmikeS

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

  • Replace Unix timestamp

    11
    1 Votes
    11 Posts
    3k Views
    Thomas KnoefelT

    @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

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

    5
    0 Votes
    5 Posts
    725 Views
    C

    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

  • Notepad++ note recognizing SRT file format

    4
    1 Votes
    4 Posts
    2k Views
    CoisesC

    @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.

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

    16
    3 Votes
    16 Posts
    5k Views
    mpheathM

    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.

  • notepad++ mass save

    6
    0 Votes
    6 Posts
    7k Views
    supasillyassS

    @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.

  • Feature Request: Spreadsheet / Cell Based View

    3
    1 Votes
    3 Posts
    263 Views
    Jonathon WisnoskiJ

    @Terry-R Thanks, I will take a look at that

  • Feature request: tab names without file extensions

    10
    0 Votes
    10 Posts
    885 Views
    Ilya GinzburgI

    @PeterJones said in Feature request: tab names without file extensions:

    comment on that request

    Another comment supporting this feature has been added to GitHub

  • Increase the size of Fonts in Notepad ++ dialogs

    5
    0 Votes
    5 Posts
    7k Views
    PeterJonesP

    @hania-amir said in Increase the size of Fonts in Notepad ++ dialogs:

    Navigate to “Settings” > “Style Configurator” and modify the font size for the desired elements

    The “desired elements” are dialog box font, which are not controlled by the Style Configurator (or any other location in the Notepad++ settings), so your advice will not help.

  • Notepad++ in Right-To-Left (RTL) mode

    10
    1 Votes
    10 Posts
    10k Views
    rdipardoR

    @mkupper said in Notepad++ in Right-To-Left (RTL) mode:

    Keep in mind that while something like Notepad++ looks like text it’s a graphical display.

    This really is the heart of the issue. What the end-user sees in the edit window gets there by a system-dependant pipeline that starts by loading the font file, mapping a character to physical keystrokes (or IME input), measuring the size of the client area to be filled by the character, drawing it, then recomposing the client area all over again by shifting every other character that was already there. By that point, we are as far removed from Scintilla and Notepad++ as this conversation has come.

    Text direction is entirely up to the graphics device, which varies widely across platforms, and Scintilla has to maintain support for 3 of them (maybe 4, if we include Qt, which is really just an obsessively object-oriented wrapper atop the C-language libraries underpinning the given operating system). Worse, Notepad++ has always used the oldest, most backward-compatible APIs the Windows platform has to offer, and legacy GDI’s concept of RTL is literally a geometric flip called “mirroring”: https://learn.microsoft.com/en-us/globalization/localizability/mirroring-in-win32

    @JamesWebb said in Notepad++ in Right-To-Left (RTL) mode:

    @mkupper said in Notepad++ in Right-To-Left (RTL) mode:

    We are surrounded by structural racism and/or discrimination.

    Reply

    Apology. But I’m not agree. 😉

    I think @mkupper was talking more about 30 years ago, when, for example, the GDI interface was written, by American engineers, who obviously didn’t care enough about international users to bother writing APIs that could properly draw “foreign” languages. Their design choices actually do prejudice the user experience of Persian, Arabic and Hebrew speakers. But nobody on this forum can do anything about that, or needs to apologize for it.

    There is no shortage of word processing software that can intelligently produce text in a variety of international languages. Notepad++ is currently not one of them.

  • Notepadd++ freeze

    4
    1 Votes
    4 Posts
    808 Views
    mkupperM

    @Lhuillier-Sébastien asked:

    Is there alternatives for these plugin (just for Internet languages : php, html, css and Javascript)

    Usually, freezing is caused by a combination of things. Remove one element and the application does not freeze or does to less often. The current goal is to figure out which element(s) trigger the freezing you are experiencing.

    At present the plan is to disable plugins to see they are the cause of the freezing you are experiencing. If a particular plugin, or set of plugins, is found the the cause of the freezes then you will be able to re-enable the other plugins. You then also will have a choice to either not use or find a replacement for plugins that cause Notepad++ to freeze, or you can install those too and live with the freezing.

  • Disable Code Folding?

    16
    0 Votes
    16 Posts
    3k Views
    Alan KilbornA

    @Marc said in Disable Code Folding?:

    Presently, in Dec. 2023, this works:

    Settings —> Preferences —> Editing (on the left side)

    Then find the box that says “Folder Margin Style”, and select “None”.

    Multiple problems with these statements:

    “In Dec. 2023” doesn’t convey much information. Saying “In Notepad++ 8.6” would be much better, as that version is current in Dec 2023. (but, see the next point…)

    “Folder Margin Style” does NOT appear in “Settings —> Preferences —> Editing” as you state. It appears exactly where the previous poster said, in “Settings —> Preferences —> Margins/Border/Edge”

    So, basically your whole posting is wrong and indeed unnecessary. Sorry if that sounds harsh.