asifmallik / brackets-rezymer

Brackets extension for querying HTML with CSS Selectors
22 stars 2 forks source link

Suggestion: Place cursors at / select matches #1

Open ghost opened 10 years ago

ghost commented 10 years ago

I've been looking for something like this for so long! Thanks for making it happen. Would you consider adding the ability to transform matches in non-modify mode into selections (like you would with normal find) for use with multiple cursors?

asifmallik commented 10 years ago

You are welcome! I am not sure what kind of transformation you are referring to. Do you want Rezymer to select the whole tag instead of just the opening and closing tag? At first I tried that but soon realized that this would give rise to a problem. If you are selecting all div tags and there is a div inside another div, the selection of the inner div would not be clear. Besides even if that happens you will have to first focus on the editor in order to make use of the multiple selections which would remove all the selections anyway but you can of course press Ctrl + U to undo selection.