Re: Possible Pango 1.4 ideas
- From: Havoc Pennington <hp redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Joaquín Cuenca Abela <cuenca pacaterie u-psud fr>, Damon Chaplin <damon karuna uklinux net>, gtk-i18n-list gnome org
- Subject: Re: Possible Pango 1.4 ideas
- Date: Thu, 23 Jan 2003 14:29:50 -0500
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]