Re: A visual snippet browser

2006-01-19 Thread muppet
On Jan 19, 2006, at 3:06 PM, zentara wrote: I was wondering if there was a way to filter out the line numbers upon a selection or copy event? Is there some trick to tag some text so it is visible to see, but invisible to a copy/selection? You can modify your application to control supplying

Re: A visual snippet browser

2006-01-19 Thread zentara
On Thu, 19 Jan 2006 21:44:21 +0100 Emmanuele Bassi <[EMAIL PROTECTED]> wrote: >On Thu, 2006-01-19 at 15:06 -0500, zentara wrote: >> Specifically, I had to resort to a method of reprinting >> the file to include/remove line numbers for copy&pasting. > >You could use the Gtk2::SourceView module, bi

Re: A visual snippet browser

2006-01-19 Thread Jaap Karssenberg
zentara wrote: I was wondering if there was a way to filter out the line numbers upon a selection or copy event? Is there some trick to tag some text so it is visible to see, but invisible to a copy/selection? You could use GtkSourceView (cpan Gtk2::SourceView). It features linenumbers in a m

Re: A visual snippet browser

2006-01-19 Thread Emmanuele Bassi
Hi, On Thu, 2006-01-19 at 15:06 -0500, zentara wrote: > Hi, > I needed something to do to get some experience with > textbuffers, so I made a visual grep using Gtk2. > A screenshot and the file is at > http://zentara.net/vgrep > > Feel free to offer improvements, use it, etc. > > Specifically, I

A visual snippet browser

2006-01-19 Thread zentara
Hi, I needed something to do to get some experience with textbuffers, so I made a visual grep using Gtk2. A screenshot and the file is at http://zentara.net/vgrep Feel free to offer improvements, use it, etc. Specifically, I had to resort to a method of reprinting the file to include/remove line