Jürgen> Angus just define this in insettabular.C and if you want also in lyxfunc.C
Jürgen> so you have to compile only this to source-files.
??? But a grep of the code base reveals that the following files have either
#ifdef NEW_TABULAR or #ifndef NEW_TABULAR ???
BufferView2.C BufferView_pimpl.C CutAndPaste.C buffer.C lyx_gui.C
lyxfunc.C paragraph.C text.C text2.C
whilst insets/insettabular.C has #ifdef USE_NEW_LAYOUT
Anyway, compiling the entire code base again with
#define USE_NEW_LAYOUT 1
#define NEW_TABULAR 1
in config.h leads to the following error on linking the code:
ld:
Unresolved:
LyXText::NumberOfCell(LyXParagraph*, int) const
LyXText::TableFeatures(BufferView*, int, const std::basic_string<char,
std::char_traits<char>, std::allocator<void> >&) const
LyXText::TableFeatures(BufferView*, int) const
I've also read your other mail about USE_NEW_LAYOUT and am a little confused.
Can you tell me explicity what variables I need to define and where I should
define (ie what do you do?)
Angus