Am Samstag, 23. April 2005 15:21 schrieb Juergen Spitzmueller: > Helge Hafting wrote: > > * One may select several table cells and apply bold or emphasize over all. > > One may not use the charstyle dialog (qt) though - everything > > is grayed out when the selection span cell borders. > > patch attached. I will commit if nobody objects.
It does not work for me. I guess you removed the wrong lfun :-( I disabled LFUN_INSET_INSERT some days ago on purpose as part of the "fix applying open dialogs in wrong insets" patch. It is not possible to insert an inset when multiple cells are selected unless there is special treatment in InsetTabular::doDispatch(). If I allow LFUN_INSERT_CHARSTYLE in InsetTabular::getStatus() I get Assertion triggered in LyXText* DocIterator::text() by failing check "!empty()" in file ../../src/dociterator.C:129 I believe that LFUN_INSERT_CHARSTYLE needs to be handled in InsetTabular::doDispatch() similar to LFUN_EMPH etc. Georg