Enrico Forestieri 52ce0ff49a Fix bug #11007
The math color inset inherits the mode of the containing inset.
This mode is inferred by the kind of font in effect. Setting the
right mode allows to insert spaces where these should be allowed.
Another small glitch was that the selection was always parsed in
math mode, so that any space was swallowed, even if the inset would
allow them.
2021-02-28 22:32:11 +01:00
..
2020-06-25 23:31:42 +02:00
2016-06-16 20:39:32 +02:00
2021-02-28 22:32:11 +01:00
2021-02-28 22:32:11 +01:00
2021-02-23 21:48:54 +01:00
2021-01-06 14:08:00 +01:00
2021-01-06 14:08:00 +01:00
2021-02-23 17:34:19 +01:00
2021-02-28 14:56:42 +01:00
2021-02-27 14:49:55 +01:00
2021-02-06 20:07:31 +01:00
2020-11-06 21:33:56 +02:00
2020-10-13 09:57:36 +03:00
2020-10-05 09:37:15 +02:00
2021-01-06 14:08:00 +01:00
2019-04-15 20:56:52 +02:00
2020-06-25 23:31:42 +02:00
2020-07-17 22:25:18 +02:00
2020-12-03 00:38:27 +02:00
2020-12-03 00:38:27 +02:00
2021-02-06 20:07:31 +01:00
2021-02-06 20:07:31 +01:00
2021-02-27 21:40:28 +01:00
2020-06-25 23:31:42 +02:00

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)