selecting-hyphanted-strings-with-dbl-click

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

selecting-hyphanted-strings-with-dbl-click

Post by syrupcore »

Hi everyone. Sorry to be gone for so long in new father land and then show up with a feature request... ;)

Would it be possible to make the "double click to select this block" extend not only over strings_with_underscores but also strings-with-hyphens?

If I'm not making sense, please paste both strings into webuilder and then double click them. The first will select all three words, the second will only select the word you double clicked in.

Thanks,
Will
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

Equally as annoying is the inability to drag once double-clicked. I'm used to double-clicking a word to highlight it, then drag and select words as I'm dragging.
llbbl
Posts: 50
Joined: Thu Mar 27, 2008 9:19 pm

Post by llbbl »

Yes it would be nice to have this feature. "strings-with-hyphens" Does not select all 3 words.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

1) Congratulations, syrupcore!!!

2) I do agree about double-click & drag-select, this is in the list and we will be fightin with this. I do not, however agree about string-with-hyphens, because hyphen is a minus sign and for code editor it would not be great if the minus sign would suck in both parts, e.g. ccc=aaa-bbb It would be great if we could analyze the underlying text and select it accordingly but it is too complex at least for now when we have more important tasks.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Thank Karlis! I've already taught her to hate Internet Explorer. :)

I hope you'll change your mind re: dashes. I see your point but I come across dashes in class names and function names much more often than I come across math equations where selecting with the minus sign would be frustrating. That is to say, one will lose and in my coding world, math is much much less frequent and I'd prefer for it to be the one that loses.

I had submitted another request a while back that might help in the mean time. I'll repeat it here... "Select Attribute" that would work like "Select Tag Block" or "Select Tag Contents". That way, instead of double-clicking, a keyboard shortcut could be used to do the same thing. Maybe instead of "Select Attribute" it could just be "Select quoted text" so it could also be used for strings in other languages. I would use this a lot - I make great use of the other selection shortcuts.

In fact, I think these seemingly simple utilities (selection options) are one of webuilder's greatest features and is something too many other software makers miss - in order for humans to interact efficiently with content in software, we need to be able to "grab" it as efficiently as we can in the physical world. Once we grab, we manipulate or take some action. Selection is key. How frustrating is it when MS software grabs that extra space?? :)

Thanks for reading,
Will
fuzzylogic
Posts: 43
Joined: Thu Jan 10, 2008 11:55 am

Re: selecting-hyphanted-strings-with-dbl-click

Post by fuzzylogic »

I do not, however agree about string-with-hyphens, because hyphen is a minus sign and for code editor it would not be great if the minus sign would suck in both parts, e.g. ccc=aaa-bbb
Why would you want to write your math equations like that? Seems to me the majority of people write them as:
ccc = aaa - bbb

and let's not forget negative numbers which SHOULD include the sign when double clicked.

ccc = aaa - bbb + -ddd

So it would seem that there is one minority case easily avoided (by adding spaces) where it is preferred to NOT select the dash. But there are many cases which can not be avoided, where it is highly desirable to select the dash.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: selecting-hyphanted-strings-with-dbl-click

Post by syrupcore »

fwiw, I did a survey at work. Of the 12 or so different dev apps used around the shop, none of them allowed you to double click to select-hyphenated-strings. About half the people I asked wished that they could though. :)
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: selecting-hyphanted-strings-with-dbl-click

Post by syrupcore »

I lied. Looks like notepad++ does it.
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: selecting-hyphanted-strings-with-dbl-click

Post by notuo »

FYI
Ultraedit does it using Ctrl-Double click
Post Reply