Comments (6)
Modify the default behavior of commands to affect the entire block of selected text.
I don't think this can be taken seriously as a "blanket" thing, i.e., "...behavior of ALL commands should be...".
If you want to specifically list the commands whose current actions bother you, that would probably be better.
from notepad-plus-plus.
Another thing I just noticed: Your issue title isn't likely to get developers interested in your issue, as it appears to be sarcasm/criticism. You might want to rename it (titles are editable by their creator) to something more indicative of what you issue actually is.
from notepad-plus-plus.
which commands that modify or apply an effect to text would you not want to be applied to only the selected text instead of to just the current line or the entire text?
Isn't it likely that if a user bothered to select some text before issuing a command, then that user want to apply that command to that selection?
Many commands use the current selection and only modify or apply an effect to the text within it.
I argue that the same reason those commands only modify or apply an effect to the selected text should be used for all other commands which ignore the selection.
An example of a command which ignore the current selection is Collapse/Uncollapse current level on the View-menu.
from notepad-plus-plus.
Now that I ponder it further... IIRC, someone, and I think it was @ArkadiuszMichalski , spent a good deal of effort recently (in the past year or so) working on what you're asking for. I believe some of his efforts were accepted into Notepad++, but definitely not in a blanket way; it turned out it is more of a difficult "problem" to solve than simply saying "Modify the default behavior of commands to affect the entire block of selected text. "
from notepad-plus-plus.
I can't see why it should not be rather straight forward. Either the effect is for the current line, in which case you could just do a foreach(row in selection) ApplyCommand(row)
.
Or it applies to the entire text, in which case the selected text could be put into a temporary new document, and then the command could be applied to that entire text there, then the old text is deleted, and the modified text inserted in its place.
Sure, there will be some cases where it is tricky, but don't let those block the entire thing, do the easy first.
from notepad-plus-plus.
I can't see why it should not be rather straight forward
Users often make this mistake in thinking.
As I said, someone has previously spent a lot of time/effort on it, with only partial success.
If you'd like to try your hand at it, due to what you think is its straightforward nature, feel free -- Notepad++ accepts user contributed code (but there's no guarantee of acceptance).
from notepad-plus-plus.
Related Issues (20)
- [Feature request] Help for what "Use default value" will do in "Indent settings" HOT 1
- Possibility to arrange a large number of thumbnails (open files) in a fixed way
- Download pop-under obscures what to do next, causes misclicks HOT 1
- NOTEPAD++ v8.6.8 Crashed and throwing exception when launching on Windows Core Server 2022 HOT 12
- [Feature request] add "Show Explorer Context Menu" item to notepad context menu HOT 2
- [Feature request] Maintain colored token styles after file reload
- [BUG] <title>Unsaved files/tabs discarded without warning when switching to Admin Mode HOT 2
- [BUG] Encoding + Conversion Problem HOT 27
- [BUG] Highlighting issue using SQL HOT 2
- [Feature request] Auto-hide or Show-on-hover close buttons on each tab (Visual/UI feature) HOT 2
- [BUG] <build error>
- [BUG] Invalid Regular Expression (due to complexity it exceeds the predefined bounds)
- [Feature request] Search-> "Mark"...: add more actions HOT 3
- [BUG] <With 2 screen the app open only in 2 screen> HOT 1
- [BUG] Runas NP from different user fails to open file with error dialog `Cannot open file` `Folder "..." doesn't exist` HOT 2
- [BUG] Notepad++ can't display most characters at the Unicode block "Number Forms" HOT 1
- [Feature request] Templates for Rename/Replace-Dialog to store pattern for re-use HOT 2
- [Feature request] Internal command to repeat the last used command
- [BUG] The regular notepad.exe opens notepad++.exe instead HOT 2
- [Feature request] Folder as Workspace is not immediately intuitive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepad-plus-plus.