On Wed, Jan 09, 2002 at 06:08:13PM +0200, Dekel Tsur wrote:
> You can have several boolean lyxrc vars.

Sure. I simply don't like the idea of dozens of them similar to the way I
don't like dozens lfuns that more or less do the same. Look at the current
handling of the accent LFUNs in formulabase.C:

        case LFUN_UMLAUT:       handleAccent(bv, "ddot"); break;
        case LFUN_CIRCUMFLEX:   handleAccent(bv, "hat"); break;
        case LFUN_GRAVE:        handleAccent(bv, "grave"); break;
        case LFUN_ACUTE:        handleAccent(bv, "acute"); break;
        case LFUN_TILDE:        handleAccent(bv, "tilde"); break;
        case LFUN_MACRON:       handleAccent(bv, "bar"); break;
        case LFUN_DOT:          handleAccent(bv, "dot"); break;
        case LFUN_CARON:        handleAccent(bv, "check"); break;
        case LFUN_BREVE:        handleAccent(bv, "breve"); break;
        case LFUN_VECTOR:       handleAccent(bv, "vec"); break;

that's plainly stupid. There should be a single LFUN_ACCENT taking an
arument. We'd end up with similar contruct when we have dozens of lyxrc
entries (or LFUNs for that matter).

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to