Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes:
This patch enables to show even disabled OptItems.
I found that this is wanted sometimes. Example: An inlined equation
does not have a label and thus no copy as reference, so these can be
hidden. When the equation is displayed, you
This patch enables to show even disabled OptItems.
I found that this is wanted sometimes. Example: An inlined equation
does not have a label and thus no copy as reference, so these can be
hidden. When the equation is displayed, you can insert a label. But,
as long as there is no label
Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl writes:
What is the difference with an Item then?
An Item can be on/off, an OptItem can be on/hidden, but sometimes you
might want an item to be on/off/hidden.
In what situation would your item be hidden then? Sorry if I am a bit
dense
What is the difference with an Item then?
An Item can be on/off, an OptItem can be on/hidden, but sometimes you
might want an item to be on/off/hidden.
In what situation would your item be hidden then? Sorry if I am a bit
dense today :)
Jmarc
It would be hidden by default if the item is
Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl writes:
It would be hidden by default if the item is disabled, unless you call
status.showAlways(true) (or another name).
OK.
An inline equation can't have a label, so in the context menu, the items
Equation Label and Copy as Ref are
An inline equation can't have a label, so in the context menu, the items
Equation Label and Copy as Ref are hidden. When you change the
equation to a display Equation, both items will appear, but Copy as
Ref will be disabled as long as you don't insert a label.
What if the inset says
Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl writes:
I think the distinction between 'do not handle' and 'handle but is
disabled' captures what you want. It might even be that all uses of
OptItem could be replaced by that in the code.
Well, it's a not-so-very-well-defined difference in
Jean-Marc Lasgouttes schreef:
Does the attached patch make sense? It does not work (yet) but I did not
have time to debug it.
It makes sense, but it doesn't work because BufferView::getStatus()
always returns true for LFUN_LABEL_COPY_AS_REF.
Second, when InsetMathHull is asked for the
Le 27 mai 09 à 23:08, Vincent van Ravesteijn a écrit :
It makes sense, but it doesn't work because BufferView::getStatus()
always returns true for LFUN_LABEL_COPY_AS_REF.
Second, when InsetMathHull is asked for the status of LABEL_INSERT,
it _should_ return that it handles the LFUN, even
Vincent van Ravesteijn writes:
> This patch enables to show even disabled OptItems.
>
> I found that this is wanted sometimes. Example: An inlined equation
> does not have a label and thus no copy as reference, so these can be
> hidden. When the equation is
>> This patch enables to show even disabled OptItems.
>>
>> I found that this is wanted sometimes. Example: An inlined equation
>> does not have a label and thus no copy as reference, so these can be
>> hidden. When the equation is displayed, you can insert a label. But,
>> as long as there
"Vincent van Ravesteijn - TNW" writes:
>>What is the difference with an "Item" then?
>
> An Item can be on/off, an OptItem can be on/hidden, but sometimes you
> might want an item to be on/off/hidden.
In what situation would your item be hidden then? Sorry if I am a
>>>What is the difference with an "Item" then?
>>
>> An Item can be on/off, an OptItem can be on/hidden, but sometimes you
>> might want an item to be on/off/hidden.
>
>In what situation would your item be hidden then? Sorry if I am a bit
dense today :)
>
>Jmarc
>
It would be hidden by default
"Vincent van Ravesteijn - TNW" writes:
> It would be hidden by default if the item is disabled, unless you call
> status.showAlways(true) (or another name).
OK.
> An inline equation can't have a label, so in the context menu, the items
> "Equation Label" and "Copy
An inline equation can't have a label, so in the context menu, the items
"Equation Label" and "Copy as Ref" are hidden. When you change the
equation to a display Equation, both items will appear, but "Copy as
Ref" will be disabled as long as you don't insert a label.
What if the inset
Vincent van Ravesteijn writes:
>> I think the distinction between 'do not handle' and 'handle but is
>> disabled' captures what you want. It might even be that all uses of
>> OptItem could be replaced by that in the code.
>
> Well, it's a not-so-very-well-defined
Jean-Marc Lasgouttes schreef:
Does the attached patch make sense? It does not work (yet) but I did not
have time to debug it.
It makes sense, but it doesn't work because BufferView::getStatus()
always returns true for LFUN_LABEL_COPY_AS_REF.
Second, when InsetMathHull is asked for the
Le 27 mai 09 à 23:08, Vincent van Ravesteijn a écrit :
It makes sense, but it doesn't work because BufferView::getStatus()
always returns true for LFUN_LABEL_COPY_AS_REF.
Second, when InsetMathHull is asked for the status of LABEL_INSERT,
it _should_ return that it handles the LFUN, even
18 matches
Mail list logo