Georg Baum wrote:
Am Freitag, 6. April 2007 11:31 schrieb Abdelrazak Younes:
I was beginning to hardcode the delimiters in QDelimiterDialog but then I asked myself if we shouldn't do that more globally for mathed. The idea is to define a globally accessible map of mathed commands:

map<docstring, char_type> MathSymbols;

MathSymbols["\\lceil"] = 0x2308;
MathSymbols["\\rceil"] = 0x2309;
MathSymbols["\\lfloor"] = 0x230A;
...

What do you think?

I am not sure if we should do that now, but if such a map is generated it should be generated from lib/symbols.

How can I access the symbols defined in there (I know, I could read the source but as I have your attention now it is quicker this way ;-)

Abdel.

This file does already contain other code points, so we would simply need to add the UCS4 code points.


Georg



Reply via email to