Subtract value for word/character count

Richard Kimberly Heck rikiheck at gmail.com
Thu Apr 4 22:31:47 UTC 2024


On 4/4/24 17:15, Pavel Sanda wrote:
> On Tue, Apr 02, 2024 at 10:23:10PM -0400, Richard Kimberly Heck wrote:
>>>>>> Actually, I am not sure how it helps. Knowing that you need to remove 140
>>>>>> words is not useful in itself.
>>>>> The idea is that I set the difference value to the current count and
>>>>> I am aiming for -140.
>>>>>
>>>>> Which brings me to even simpler UI than I previously thought.
>>>>> Instead of entering some values as an argument I could simply
>>>>> have lfun that sets the difference to the current statistics
>>>>> value and be done with it.
>>>> If you want to post it when/if it's done, I'll be happy to look at it.
>>> Essentially the attached.
>>>
>>> Variables should be more hidden and I can add reset mechanism if this
>>> feature looks ok. I am happy even without context menu change, still
>>> less code out of the tree to maintain.
>> I can easily imagine using this. I'd say go ahead, for 2.4.1.
> Good, I fixed the scope of variables and added reset mechanism.
> Will commit the attached to 2.4.1 if there is no other feedback.

Looks good to me.

Riki




More information about the lyx-devel mailing list