Philippe: > That is, I am re-styling all the text. It works but is it the more > efficient way to go?
That should be OK although it does involve touching each byte in the document. If it proves too slow then you can keep your own data structure containing all the indicated ranges and then produce a set of edits to move from one set to another although this would be extra work. It is also likely that the work you perform to produce the new set of highlights will be much greater than displaying those indicators. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
