>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Juergen Spitzmueller wrote:
>> An alternative (if this is possible): Use length field and unit
>> choice as is, but allow inserting values like "2cm" in the length
>> field (as it used to be). When the user applies such a value, LyX
>> sets the length correctly, inserts the length in the field and sets
>> the choice. IMHO this is not difficult, since it is the way we read
>> old files (and the length strings). All we have to do is to remove
>> (unsigned)_float_filter and reintroduce isValidGlueLength (?)
>> filter from 1.1.6

Juergen> One problem is probably that we have to filter out the
Juergen> unit-from-choice value in this case. If someone inserts "2in"
Juergen> into the input field and the choice is on "cm", it will be
Juergen> applied as "2incm", which is bogus of course.

Exactly, but it should not be too difficult.

JMarc

Reply via email to