Le 18/04/2017 à 22:45, Uwe Stöhr a écrit :
El 18.04.2017 a las 15:54, Jean-Marc Lasgouttes escribió:
Getting rid of the proper length in favor of the weird string version
was definitely not what I had in mind.
I cannot follow you anymore. What i did is just what the HSpace class
does - it is a string using "default" ads default value. If you prefer
an empty string or the Length class, fine by me. If possible I would had
it over to you because i think you have something different in mind as I
have. So please feel free to override my changes and to transform it as
you like.
HSpace is a class that contains a GlueLength, a complex class that
handles subleties of a length like 1cm-2mm+3mm. Is that "just a string"
to you??
I agree that the extra complexity of GlueLength vs Length may not be
needed, but it is you who chose that, not me.
A length should be kept in a Length object.
A glue length should be kept in a GlueLength object.
How do you get the length of a string in inches?
Besides this I insist on having the math indentation settings in the
math panel for LyX 2.3. Günter agreed as well and I haven't heard other
opinions. I am insisting because I will send right now a patch that also
supports the document class option "lineno". No matter if this will make
it in for LyX 2.3.0 or not, I think both options belong together and the
place of the formula numbering is definitely nothing that belongs to text.
Do as you want, I am not going to write UI after all.
JMarc