Andre Poenitz <[EMAIL PROTECTED]> writes:
| Putting everything in the big switch _and doing part of the work there_
| is stupid. I don't want mathed to participate in such stupidities...
Use the main switch for now, all this will change for _all_ dispatch
methods later not just for mathed.
| > If we decide to do it the way you showed us, we should do this for ALL
| > insets.
|
| ... and I don't really care for the other insets.
|
| [IMNSHO the big switch could be a ten liner like
|
| ... Dispatch(BufferView * bv, action, string argument)
| {
| big_lynxfunc_map_type::iterator it = big_lynxfunc_map.find(action);
| if (it == big_lynxfunc_map.find(action))
| // not found
| else
| (*(it->second))(bv, argument)
| }
No it should not...
But we will, as I have told you, move to something that is
conceptually similar to this.
| or something like that. Mathed could now participate in such a scheme
| easily, the other insets probably not. So what.]
|
|
| All I want is all math stuff confined to src/mathed. Nothing less, nothing
| more. And I want non-math stuff outside of src/mathed as far as this is
| painlessly possible.
Mathed should _now_ play with what is present. Mathed should not
impose any huge changes to the the rest of LyX at _this_ stage.
--
Lgb