Re: [code] change of fontsize issue.

From: Mitchell <m.att.foicica.com>
Date: Tue, 29 Dec 2015 21:47:22 -0500 (EST)

Hi Martin,

On Tue, 29 Dec 2015, docmorchel . wrote:

> Hi list,
>
> It seems that the biggest fontsize defines the height of all the text
> within the whole document.
>
> I have a lexer that changes the fontsize for certain patterns. Changing it
> to a bigger size than the rest leads to a change of the line-height not
> just of this pattern, but for the entire file. Is that intentional? I
> expected a change of the height just for the affected lines (lines of the
> matching pattern).

For efficiency, Scintilla (Textadept's editing component) sizes all lines
to be the same height, so what you're seeing is intentional.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 29 Dec 2015 - 21:47:22 EST

This archive was generated by hypermail 2.2.0 : Wed 30 Dec 2015 - 06:54:25 EST