Hi Oliver,
Frank (FME) already investigated method <AttrChangedNotify(..)> and
found out that calling <GetContentAtPos(..)> is not needed:
<GetContentAtPos(..)> determines the content position via a screen
position and than determines the content at this content position. The
first part is not needed, because the content position is already known
at this point.
> const SwPostItField* GetPostItFieldAtCursor() const;
The same code is in SwEditWin::MouseMove as well, in this case not for
the text cursor, but the mouse cursor (case 0: .......)
Although it wouldn't crash there I think, we could use the same new
method there for consistency as well? (probably a little bit faster,
too, but I guess not noticable anyway)
Regards
Max
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]