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
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