Re: [PATCH 2/2] gitk: add text wrapping preferences
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Dec 12, 2024, 18:58 UTC
- Message-ID
- <c6cc8704-6043-4e6d-bc4a-d9801a372710@kdbg.org>
- In-Reply-To
- <e116685568e4f1db3bc71985945f0ff4e40e12fc.1733767737.git.gitgitgadget@gmail.com>
Am 09.12.24 um 19:08 schrieb Christoph Sommer via GitGitGadget:
Show 7 quoted lines
> From: Christoph Sommer <sommer@cms-labs.org> > > Add a new preference "wrapdefault" which allows enabling char/word wrap. > Impacts all text in the ctext widget for which no other preference exists. > > Also make the (existing) preference "wrapcomment" configurable graphically. > Its setting impacts only the "comment" part of the ctext widget.
Nice! I agree that it makes sense to wrap the comment differently than the patch text section. I notice, though, that the patch text wrapping is also applied to the commit header section. Personally, I don't mind it. If someone needs a third option, they can take this patch as a blueprint.
-- Hannes