Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Request] Options to disable certain features #506

Closed
LesFerch opened this issue Oct 21, 2022 · 13 comments
Closed

[Request] Options to disable certain features #506

LesFerch opened this issue Oct 21, 2022 · 13 comments
Labels
💬discussion ✅enhancement 🌐i18n Localization/Internationalization ui
Milestone

Comments

@LesFerch
Copy link

Please add an option to disable multi-select. Why? Because I edit using Ctrl-C, mouse-click, Ctrl-V a lot and, all to often, accidentally multi-select and change something I didn't want changed. I have seen this as an option is some other editors, so it's not such an unusual request.

Please also add an option to not auto-populate the search string field. It auto-populates from the selected text or copy/paste buffer. I want neither. I just want an empty search string field.

@zufuliu

This comment was marked as off-topic.

@LesFerch
Copy link
Author

LesFerch commented Nov 2, 2022

I just checked the Auto Completion Settings. I didn't see anything there to prevent the Search string field from being auto-populated. Did I miss something?

@zufuliu
Copy link
Owner

zufuliu commented Nov 3, 2022

Oh, sorry, that's my fail, it has nothing to do with auto-completion.

@meteorquake
Copy link

meteorquake commented Nov 14, 2022

This is an issue I meant to mention too. It's a basic issue with this laptop that you can't disable the mousepad when using a proper mouse, and I'm always bumping it with my palm and causing the cursor to be in multiple places, resulting in the subsequent typing/deleting occurring in multiplaces without me realising.
Cheers, David

@zufuliu
Copy link
Owner

zufuliu commented Nov 14, 2022

Not sure where to add these options, how about

Settings
    Selection
        Enable Multiple Selection
        Copy Selection as Find Text
        Line Selection Mode
            None
            Visual Studio
            Normal

@zufuliu zufuliu added the ui label Nov 14, 2022
@meteorquake
Copy link

meteorquake commented Nov 14, 2022

I wouldn't naturally look under Line Selection Mode for it - but under Advanced Settings or Other Settings.
However I think if instead you renamed "Line Selection Mode" to "Select/Edit Options" or "Select/Edit Options (More) "you could put it and other things under there.
David

@LesFerch
Copy link
Author

Either heading works for me for a multi-select toggle.

In addition to "Copy Selection as Find Text" wouldn't there also need to be a toggle for "Copy Paste buffer as Find Text"?

@zufuliu zufuliu added the 🌐i18n Localization/Internationalization label Nov 15, 2022
@zufuliu zufuliu added this to the v4.23.01 milestone Nov 15, 2022
zufuliu added a commit that referenced this issue Nov 19, 2022
@zufuliu
Copy link
Owner

zufuliu commented Nov 19, 2022

Implemented by 7bee3f9, latest builds available at https://github.com/zufuliu/notepad2/actions/runs/3502366862

select

@LesFerch
Copy link
Author

Awesome! I'll try those settings tonight when I get back home. Thank you! 🙏🙂

@LesFerch
Copy link
Author

LesFerch commented Nov 22, 2022

I've been working with these options toggled off now for a few days and it's been working fine.

I would also like to turn off the feature that selects all matches when I select any text (or click Find Next). It's very distracting for me, especially when I select on one or two characters and the whole screen lights up with matches. It's also a functional issue with Find Next. For example, when trying to find each occurrence of a variable "w" in a long script, I checked "Find whole word only" and the Find does that, but every "w" in the script gets highlighted making it near impossible to determine which one the Find Next stopped at.

Is there a way to turn it off? If not, can that be another setting in the same menu? Maybe it should be two settings? One for matching while editing and one for the Find dialog?

@meteorquake
Copy link

I do love the highlighting of identlcal items!
At the same time I'm all for as many customisation options as can be provided, since they are one-offs and don't clutter up actual working usage. (The issue for me is when "working menus" get cluttered up with things I don't use: a clean working interface really helps the mind work and think clearly; the ability to be able to fully define your own menu items (like old versions of MSOffice) to be just the items you use is something that's neglected in almost all software!)
d

@zufuliu
Copy link
Owner

zufuliu commented Nov 22, 2022

@LesFerch

I would also like to turn off the feature that selects all matches

It's View -> Mark Occurrences -> Off

@LesFerch
Copy link
Author

I would also like to turn off the feature that selects all matches

It's View -> Mark Occurrences -> Off

Doh! Thank you! I was looking in the Settings menu. 😊

@zufuliu zufuliu closed this as completed Jan 12, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
💬discussion ✅enhancement 🌐i18n Localization/Internationalization ui
Projects
None yet
Development

No branches or pull requests

3 participants