At 02:03 PM 1/22/01 +1100, Martin Sevior wrote:
>HI Jesper,
>         Thanks for fixing this Jesper. It makes sense to be that if the
>insertion point is between runs we will get troubles. Since we have zero
>length runs this is something we have to deal with. It seems sensible then
>to move the code to search for the docpos (containsOffset) into the block.

This sounds like the obvious point to insert the reminder that zero-length 
runs are a hack we'd probably be better off without.  How many different 
types of these do we have now?  

I'm already on record that we need non-zero-length runs at EOB (so that we 
can get selection behaviors right there, not to mention the glaring lack of 
those funky Show Paragraph symbols.)

  http://www.abisource.com/mailinglists/abiword-dev/99/December/0315.html
  http://www.abisource.com/mailinglists/abiword-dev/00/June/0130.html
  http://www.abisource.com/mailinglists/abiword-dev/00/June/0198.html

I know Jeff was never thrilled with the behavior of FmtMarks either, but 
until someone comes up with a better mechanism, that one should probably
stay. 

Other than those two cases, do we have any other zero-length runs?  The code 
could certainly get a lot simpler in places if we didn't constantly have to 
work around them.  

Paul

Reply via email to