commit | 2801a0b59bdcb6414a5cb484555fd5d1effc2658 | [log] [tgz] |
---|---|---|
author | jcompagne <jcompagne> | Wed Jun 24 10:40:10 2009 +0000 |
committer | jcompagne <jcompagne> | Wed Jun 24 10:40:10 2009 +0000 |
tree | 9644fbbdb1223627ce727c85df0302601b68805b | |
parent | 9139bb0c11e197ee1f4ff8533d953d2f51507df5 [diff] |
use a sorted set to store the StyleRanges because there are so many style ranges created , looping through a list really is slow. Now it jumps to the right style offset and terminates if it offset+length falls out of the current selection.