[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: [Bug 65] Insettext background in bg inset
From:       Jean-Marc Lasgouttes <lasgouttes () freesurf ! fr>
Date:       2002-02-28 16:25:21
[Download RAW message or body]

>>>>> "Juergen" == Juergen Vigna <jug@sad.it> writes:

>> Did you see my message about LFUN_TABULAR_FEATURES?

Juergen> Hmmm probably yes but I cannot remember what it said ;),
Juergen> could you enlighten me?

Here it is again, copied-and-pasted from my message:

---------------
Juergen, I need some advice... Currently the Edit>Tabular submenu only
works when one is in the dummy position of the tabular, not in a cell
insettext. The reason for that is the following code in
BufferView::Pimpl::Dispatch:

	case LFUN_TABULAR_FEATURE:
	case LFUN_SCROLL_INSET:
		// this is not handled here as this funktion is only aktive
		// if we have a locking_inset and that one is (or contains)
		// a tabular-inset
		break;

What this means is that BufferView::Pimpl::Dispatch pretends it
handles the lfun (will return true) but actually does nothing.
Therefore the real tabularFeatures never gets called.

So the question is: is it intended?

- if it is, I have to disable the lfun in this case

- if it is not, can I just remove the "case LFUN_TABULAR_FEATURE". It
  seems to work from my superficial testing.

I hope you are enjoying your trip.

JMarc

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic