>>>>> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes:

Togan> Well it depends as I am using the patched version of Lyx. (the
Togan> very patch Mike was discussing regarding making Lyx 1.2.0 work
Togan> again). So somehow what Mike did has to be incorporated into
Togan> LyX. Without Mike's patch I did not had the menu entries at
Togan> all. --

Lars, could you have a look at the first patch sent by mike? I do not
want to have these compare_ascii_no_case everywhere. Most of these are
consistency tests to see whether current lyxlex token is what we think
it should be. What about replacing them with 

assert(lex.tokenis("foo"))

where tokenis would be something like

bool LyxLex::tokenis(string const & tok) 
{
        return compare_ascii_no_case(GetString(), tok) == 0;
}

Or we could remove these checks, as they are used a bit on a random
basis, and I am not sure how useful they actually are.

JMarc

Reply via email to