[pygtk] text buffer - pygtk (or source buffer - pygtksourceview buffer) column selection or block selection or rectangular selection
Smartboy
smartboyathome at gmail.com
Wed May 30 14:43:48 WST 2012
Well, technically, the selection is just a textmark. All textmarks do is
record a position. I guess you could do the same by activating a function
via a gesture that tracks the mouse and simulates this using texttags
(formatting), but by default I don't think there is a way to do that.
Smartboy
On Tue, May 29, 2012 at 3:28 AM, Giuseppe Penone <giuspen at gmail.com> wrote:
> Hi,
> I'm wondering if in pygtk there's a way to obtain the so called column
> selection or block selection or rectangular selection.
> If anybody uses geany, keeping pressed ctrl+alt while performing the
> selection will give the idea of the result.
> Geany is gtk2 but unfortunately uses scintilla to obtain this result (as
> well as syntax highlighting), not gtk textbuffer or sourcebuffer.
> Cheers,
> Giuseppe.
>
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120529/74d6e5ad/attachment.html>
More information about the pygtk
mailing list