Re: elastic tabstops implemented for GTK
- From: "Nick Gravgaard" <me nickgravgaard com>
- To: "Philip Withnall" <philip tecnocode co uk>
- Cc: gtk-devel-list gnome org
- Subject: Re: elastic tabstops implemented for GTK
- Date: Fri, 13 Jul 2007 07:14:14 +0200
Thanks Philip,
The patch is for gedit. Gedit wraps GtkSourceViewClass to make it's
own GeditViewClass, which is what I've extended in this patch, so it
should be pretty straight forward to create a new class which just
subclasses GtkSourceView, implements the elastic tabstop functionality
and nothing more. Alternatively the code could be added directly to
GtkSourceView...
Nick
On 13/07/07, Philip Withnall <philip tecnocode co uk> wrote:
Wow, that's such a good idea; the implementation seems to solve the
problems I've always had with tabs/spaces/alignment.
Is the patch for GtkSourceView, or just gedit? If you want to get it
into "GTK", then it should probably be aimed at GtkSourceView. (Which is
used by both gedit and Anjuta.)
Well anyway, it's certainly got my vote.
Philip
On Thu, 2007-07-12 at 23:39 +0200, Nick Gravgaard wrote:
> Hi everyone,
>
> I thought some of you might be interested in some work I did recently.
> I came up with an idea I call elastic tabstops which I think goes some
> way towards solving the problems we programmers have with indenting
> and aligning code, and I've implemented this in GTK. At the moment
> this exists in the form of a patch for gedit, but at some point I plan
> to make a proper GTK class for it.
>
> For more information, please see http://nickgravgaard.com/elastictabstops/
>
> I'd love to hear any feedback, and really love to see this
> functionality appear in other projects.
>
> Tell me what you think,
> Nick
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]