Greg:
> Can I suggest that the doc be ammended so that both these routines say:
>
> "when some lines are hidden and/or annotations are displayed..."
Maybe. I think that calling out all cases at the start could dilute the concept with less commonly used features. It may be better to add something after saying that annotations also affect visible <-> doc lines. Its also possible annotations are more widely used than I thought.
> And that the Annotation section should document that you will likely need to use these two routines.
Yes, although most code is interested in doc lines with no need to convert to or from display lines.
> Also, should the Set/Get first visible line explain that annotations add and hidden lines subtract? I suddenly realise that I am confused about how this works.
Write something that deconfuses you and I'm sure it can be helpful to others ;-)
Neil