Quick & clean way to select all following chars until colorchange?

R

rVo

Hi,

I'm trying to select all characters which have the same color as a certain
character without any gaps
example: bbbbbbbbbbbbbbbbbbbbbb<cursor is
here>ggggggggggggggggggggggggggggggggggggggggbbbbbbbggggggggggg
From the position of the cursor I would like to select all the green (g)
charcters untill a blue (b) appears, so I don't want the second range of g's
for now.

at the moment I solve this by looping over the content and check the color
of each char. On a colorchange I'll select the chars of the old color. This
is pretty slow though and it seems primitive.

There has to be a better way....

Thanks in advance,

rVo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top