On 15-Jun-2001 Angus Leeming wrote:

> So, when the cursor is moved into a new paragraph, either by the arrow keys 
> or the mouse, which bit of code do we end up in where I can emit a signal 
> changedParagraph().

[This is not connected to insets, but to paragraph therefor snipped t_l_i text]

Lars please correct me if I'm wrong!

Well we have a paragraph-id for every paragraph, be it inside an inset or
outside which is uniq! I'm not sure if we have a function returning us the
actual paragraph-pointer (please confirm this Lars), but if not it should be
quite easy to realize one.

Now knowing the above and that every cursor movement (inside a paragraph),
should call the BufferView::fitCursor(LyXText *), so I guess if you call
the signal in that function it may happen to work.

      Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

The reason computer chips are so small is computers don't eat much.

Reply via email to