NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Double-click-and-drag word selection
Veteran

Joined: 26 Dec 2006
Posts: 253
Location: Phoenix, AZ
Reply with quote
I'd like to have the option to make PhpED follow the convention that when you double-click on a word and drag, the editor extends the selection by whole words at a time. So given:

The big, black, fat cat.

If I double-click on 'black' and hold the second click, 'black' will be selected, and then, as I drag to the right, 'fat' and then 'cat', with the whole of each word selected as soon as I hit the beginning. The same works going left - first 'black', then 'big', etc. If this isn't clear, just check out something like TextPad or NotePad++, or even Visual Studio.

I realize that I can get this behavior with the Extend Selection option, but that affects single-click-., as well, making it a no-go for me. I want single-click-. to work on the character level, and double-click-drag to work on the word level. In fact, I think this would obviate the need for the Extend Selection option at all, though it could still be left in there without harm.

This would also fit in very well with triple-click for line selection (and triple-click-drag for multi-line selection...). Wink
View user's profileFind all posts by bobwilliamsSend private messageVisit poster's website
Double-click-and-drag word selection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic