Limit text width in the editor window (non-fullscreen mode)
Christopher Hillenbrand
chillenb.lists at gmail.com
Sun Oct 30 15:43:58 UTC 2022
Dear Jürgen and Jean-Marc:
Thanks for cleaning up my patch and committing it!
> Concerning the 7in default: I see in LaTeX sources that the default text
> width is 360pt, that is, 5in. What does the 7in come from? [I am not
> asking for change, I ask :)]
The 7 in default is from the discussion on Trac and several of the old
patches. I left it because the Trac discussion seemed to have settled
on 7 in.
I am attaching a patch that implements Jean-Marc's checkbox-free UI
suggestion and restricts the available units to inches, cm, and
%textwidth. Unfortunately, the Length class does not support pixels as
a unit. (possible workaround could be to create an ad-hoc subclass of
LengthCombo). Hopefully this patch has more polish than the last one!
> In order to ship it with LyX, we need a license statement from you, sent to this list, like this:
I grant permission to license, under the GNU General Public License
(version 2 or later), all past contributions I have made to LyX
including the patch attached below.
I grant permission to license, under the GNU General Public License
(version 2 or later), all contributions I make to LyX in the future
via lyx-devel at lists.lyx.org or on official LyX project websites.
Best regards,
Chris
On Sat, Oct 29, 2022 at 5:30 AM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
>
> Am Sonntag, dem 23.10.2022 um 18:15 -0400 schrieb Christopher
> Hillenbrand:
> > Dear LyX developers,
> >
> > Here's a patch for adjusting editor text width in windowed mode (see
> > ticket https://www.lyx.org/trac/ticket/9376). It's an adaptation of
> > the previous patch uploaded by stwitt (two years ago). Please try it
> > out when you get a chance!
>
> Your patch has been committed to master (and slightly polished
> afterwards). In order to ship it with LyX, we need a license statement
> from you, sent to this list, like this:
> https://marc.info/?l=lyx-devel&m=110907530127164
>
> Thanks,
> --
> Jürgen
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-More-improvements-to-the-screen-width-UI.patch
Type: text/x-patch
Size: 4932 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221030/2b6f49af/attachment-0001.bin>
More information about the lyx-devel
mailing list