Re: Possible Pango 1.4 ideas



On Thu, Jan 23, 2003 at 02:17:39PM -0500, Owen Taylor wrote: 
> One thing to realize is that text editors like Emacs or vi are
> _really fast_. They generally don't actually lay out the text,
> and instead simply count lines, or (for Emacs) characters, when
> setting up the scrollbars.
> 
> Because GtkTextView handles styled text, and because it displays
> pixel-based scrollbars, it will never be as fast as that sort
> of text editor.
> 

The other huge speedup that many dedicated code editors can make 
is assuming monospace fonts, so the position of char 40 is 
40*char_width, for example.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]