Martin Vermeer wrote: > I added this too (with small mods). See attached patch. This works and > seems pretty final, so I will later commit this if no-one else objects.
> + case LFUN_EMPH: > + case LFUN_BOLD: > + case LFUN_ROMAN: > + case LFUN_NOUN: > + case LFUN_ITAL: > + case LFUN_FRAK: > + case LFUN_CODE: > + case LFUN_SANS: + case LFUN_FREEFONT_APPLY: + case LFUN_FREEFONT_UPDATE: + case LFUN_SET_COLOR: + case LFUN_FONT_SIZE: + case LFUN_UNDERLINE: + case LFUN_LANGUAGE: + case LFUN_CAPITALIZE_WORD: + case LFUN_UPCASE_WORD: + case LFUN_LOWCASE_WORD: + case LFUN_TRANSPOSE_CHARS: // not sure about this one > + if (tablemode(cur)) { > There is BTW still a problem with collapsable insets inside *single* table > cells: the method which works outside tables: select a range of chars and > type C-l -> the characters will be included in the new ERT, fails here. > Instead, what happens is that the *whole* cell content is replaced by an > ERT, which contains "junk" (i.e., the content of the last ERT inserted > outside the table.) bug 1800. Cut'n'Paste is broken inside tables. Seems you have opened a can of worms ;-) Regards, Jürgen > - Martin