Hi Maximilian,

Maximilian Odendahl wrote:
Hi Writer team,


I would like to know after any key entering or cursor movement, if the text cursor is over a field.

Would a call to Shell:GetContentAtPos() inside AttrChangedNotify make sense or any smarter way to do this?

It results, that calling <GetContentAtPos(..)> inside <AttrChangedNotify(..)> causes a lot of trouble, because <GetContentAtPos(..)> triggers formatting in situations, in which the Writer core and layout are in a intermediate state of a change. See issue i90516.

Thus, I want to ask, if the code, you have added to <AttrChangedNotify(..)> is really needed?

Regards, Oliver.


--
=======================================================================
Oliver-Rainer Wittmann (od) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • [sw-discussi... Maximilian Odendahl
    • Re: [sw... Maximilian Odendahl
    • Re: [sw... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
      • Re:... Maximilian Odendahl
        • ... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
          • ... Maximilian Odendahl
            • ... Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems
              • ... Maximilian Odendahl

Reply via email to