Quote:
Originally Posted by odamizu
Maybe it's just a Mac thing, but double-clicking on a word to select it, and triple-clicking on a word to select the entire paragraph, is something I've been doing for decades and works in pretty much all Mac programs. Also, double-clicking a word then dragging will select all whole words in the drag, so you don't have to fiddle with the mouse to be precise.
|
Same behavior on Windows on my side for the Double-click.
To answer at KevinH question, I prefer the A for the Shift+Double-click (select the content), mainly because it is easier to remove empty tags by others shortcuts and features.
But abandoning the other behavior would be a shame, because selecting the whole tag is really convenient.
I suggest that you try to add
Shift+Ctrl+Double-click to select the entire tag.
Code-side, you would just have to prioritize (or somehow else) the Shift+Ctrl+Double-click, to maintain the "go to CSS rule" behavior of the Ctrl+Click (which is also very cool).
Spoiler:
I don't know how C++ works, so forgive me if this idea is stupid, or impossible to implement for technical reasons:
Code:
if Shift and !Ctrl:
if Double-click:
select_content_tag();
else if Shift and Ctrl:
if Double-click:
select_tag();
else if Ctrl and !Shift:
if Click:
go_to_css();