[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs, QT and Cairo
From: |
joakim |
Subject: |
Re: Emacs, QT and Cairo |
Date: |
Wed, 14 Jul 2010 16:28:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
David Engster <address@hidden> writes:
> Drew Adams writes:
>>> http://blogs.sun.com/tor/resource/formatting-before.png>> I think it is
>>> currently not possible to do stuff like this?
>>
>> Depends what you mean by "stuff like this". See vline.el and
>> col-highlight.el
>>
>> http://www.emacswiki.org/emacs/HighlightCurrentColumn
>
> I mean stuff like "draw a line with a width of 1 pixel transparently at
> a certain position in this buffer". For example, instead of a different
> background color, I would like to draw a rectangle around code forming
> one semantic tag in the Minimap. Another one: I think faint lines
> hinting at the indentation level might be useful at times, like Komodo
> does it:
>
> http://delimitdesign.com/wp-content/uploads/2009/03/komodo-edit-text-editor.jpg
>
> I know I can use overlays to approximate that, but I'd have to jump
> through hoops to get there (just look at the code in vline.el), and in
> the end it's often slow and you have to make compromises (vline vanishes
> while scrolling, for example). And it would probably even look ugly...
There are patches around that allows the buffer background to be an
image. That support could perhaps be tweaked to allow an SVG, generated
from elisp.
It would probably be difficult to keep the SVG and the buffer text in
sync though.
> Regards,
> David
--
Joakim Verona
- Re: Emacs and Gnome Canvas, (continued)
- Re: Emacs and Gnome Canvas, Bruce Stephens, 2010/07/15
- Re: Emacs and Gnome Canvas, Andy Wingo, 2010/07/15
- Re: Emacs, QT and Cairo, Stefan Monnier, 2010/07/27
- Re: Emacs, QT and Cairo, Chad Brown, 2010/07/27
- Re: Emacs, QT and Cairo, Eli Zaretskii, 2010/07/27
Re: Emacs, QT and Cairo Was: Re: Efforts to attract more users?, YAMAMOTO Mitsuharu, 2010/07/14
- Re: Emacs, QT and Cairo, David Engster, 2010/07/14
- Re: Emacs, QT and Cairo, Jan Djärv, 2010/07/14
- RE: Emacs, QT and Cairo, Drew Adams, 2010/07/14
- Re: Emacs, QT and Cairo, David Engster, 2010/07/14
- Re: Emacs, QT and Cairo,
joakim <=
Re: Emacs, QT and Cairo Was: Re: Efforts to attract more users?, Chong Yidong, 2010/07/14
Re: Emacs, QT and Cairo Was: Re: Efforts to attract more users?, Andrew W. Nosenko, 2010/07/15