Menu

#171 Highlight: support negative line spacing

closed-accepted
None
5
2016-07-22
2015-05-02
Makarius
No

This patch makes the Highlighter work properly with negative values of options.textarea.lineSpacing.

1 Attachments
dif

Discussion

  • Matthieu Casanova

    • assigned_to: Matthieu Casanova
     
  • Matthieu Casanova

    Hi, I'm not completely sure I understand, why would I use a negative value for lineSpacing ?

     
  • Makarius

    Makarius - 2016-07-17

    From the history of the sources, it is clear that options.textarea.lineSpacing was originally not intended for negative values, but people started using it like that re-adjust fonts that appear a bit too high. Also note that modern displays often have 16x9 TV format, where vertical space is scarce: with negative line spacing a few more lines fit on the screen.

    Many other jEdit componts and plugins have already been adapted to allow negative line spacing in the past 12 months.

    It would be nice to have this important plugin within the club.

     
  • Matthieu Casanova

    • status: open --> closed-accepted
     
  • Matthieu Casanova

    I see, thanks

     

Log in to post a comment.