Multiple cursors and selection text in Edge Code Preview 8
A few days ago, the Edge Code team at Adobe announced Preview 8. It includes a lot of cool things, but one of the features that intrigued me was the multiple cursors and selection text. I don’t currently have any projects that I’m working on in Edge Code, so I decided to pull up a web project I did for a client a long time ago. The style.css file from this project seemed like a good candidate to test this out since it uses the same color hex code in multiple places. Usually, on any web project, I get sidetracked playing with colors and the ability to change multiple instances of color at once would be really convenient.
So, I did some experimenting and quickly figured out how to do it. There are 6 instances of the hex value #C52B02 throughout the test css file. The steps I used to work with this feature:
- Double click an instance of the hex value to select it.
- Edit > Find All and Select (although I prefer using the shortcut key) to select all instances of the hex value.
- Type in the new hex value and preview the difference. The hex value I selected was a variation of red, so I changed it to blue so the change would be obvious.
It was a fun, quick experiment, but I can definitely see using multiple cursors and selection text in Edge Code a lot soon. Here’s a quick demo:
Also, be sure to check out Andy Hall’s video on Youtube in which he shows a much better use-case for this feature.