Re: Limit text width in the editor window (non-fullscreen mode)

2023-01-26 Thread Daniel
On 2022-10-31 08:36, Daniel wrote: On 24/10/2022 00:15, Christopher Hillenbrand wrote: 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

Re: Limit text width in the editor window (non-fullscreen mode)

2023-01-26 Thread Daniel
On 2022-10-24 00:15, Christopher Hillenbrand wrote: 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

Re: Limit text width in the editor window (non-fullscreen mode)

2022-11-01 Thread Christopher Hillenbrand
> * The validator allows to enter "10em", but the value is then changed > after application to "10cm". Not good. A special validator would need > to be set up for this task. I didn't realize that would happen! Thanks for catching it. > Meanwhile, I have added you to the credits. Welcome aboard!

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-31 Thread Jean-Marc Lasgouttes
Le 31 octobre 2022 08:34:43 GMT+01:00, Daniel a écrit : >On 27/10/2022 18:12, Jean-Marc Lasgouttes wrote: >> 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 :)] > >I am

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-31 Thread Daniel
On 24/10/2022 00:15, Christopher Hillenbrand wrote: 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

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-31 Thread Daniel
On 27/10/2022 18:12, Jean-Marc Lasgouttes wrote: 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 :)] I am not asking for change, I just answer: It came from you:

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-30 Thread Jürgen Spitzmüller
Am Sonntag, dem 30.10.2022 um 16:39 -0400 schrieb Christopher Hillenbrand: > That is a valid point! > Restricting the units and using a CheckedLineEdit are still probably > worthwhile considering, so here are those changes separately. Thanks. I have some thoughts about that: * The validator

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-30 Thread Christopher Hillenbrand
That is a valid point! Restricting the units and using a CheckedLineEdit are still probably worthwhile considering, so here are those changes separately. Best regards, Chris On Sun, Oct 30, 2022 at 3:11 PM Jürgen Spitzmüller wrote: > > Am Sonntag, dem 30.10.2022 um 11:43 -0400 schrieb

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-30 Thread Jürgen Spitzmüller
Am Sonntag, dem 30.10.2022 um 11:43 -0400 schrieb Christopher Hillenbrand: > I am attaching a patch that implements Jean-Marc's checkbox-free UI > suggestion and restricts the available units to inches, cm, and > %textwidth. Actually, I find the checkbox helpful. It allows to quickly switch

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-30 Thread Christopher Hillenbrand
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

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-29 Thread Jürgen Spitzmüller
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).

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-29 Thread Jürgen Spitzmüller
Am Donnerstag, dem 27.10.2022 um 18:12 +0200 schrieb Jean-Marc Lasgouttes: > Note that the unit selector is usually after the value. I fixed this and also removed the redundant "Screen used" label. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-27 Thread Jean-Marc Lasgouttes
Le 25/10/2022 à 16:39, Christopher Hillenbrand a écrit : Thanks for testing my patch, Cor! (And thanks, Jürgen, for your feedback) I agree in principle with your proposed improvements. One possible solution is to go back to using pixels--currently, the fullscreen width is limited this way. It

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-25 Thread Christopher Hillenbrand
Thanks for testing my patch, Cor! (And thanks, Jürgen, for your feedback) I agree in principle with your proposed improvements. One possible solution is to go back to using pixels--currently, the fullscreen width is limited this way. It is also possible to display only inches and cm as units. It

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-25 Thread Cor Blom
Op 24-10-2022 om 00:15 schreef 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

Re: Limit text width in the editor window (non-fullscreen mode)

2022-10-25 Thread Jürgen Spitzmüller
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).