wocommunity / wolips

wolips
53 stars 53 forks source link

WOL-1098 Component editor HTML half - double-click selection doesn't work right with attribute names #71

Open pascalrobert opened 12 years ago

pascalrobert commented 12 years ago

Reported by John Huss

Component editor HTML half - double-click selection doesn't work right with attribute names

It works when selecting the first attribute name of a tag It doesn't work when selectig the second or later attribute name of tag

Steps to reproduce: 1) Enter a tag with multiple attributes like: 2) Double click on "checked" - the selection works 3) Double click on "id" - the selection selects the space before "id" and the equals sign instead of just selecting "id"

I have to say I don't like the way any of the selections work in the component editor. To select a whole tag the outline view is more useful I think. Anyway, I would greatly prefer the editor behave more like the java editor where basically any delimiter stops selection, like space, equals, quote, dollar sign, colon, period. slash, greater-than, less-than. This would make it make easier to select and replace tokens in the text.