little web toy

Adam Sampson azz@gnu.org
Mon, 20 Nov 2000 12:41:47 +0000


On Thu, Nov 16, 2000 at 12:52:36AM -0500, Kragen Sitaker wrote:
> So I wrote this little
> hack.  Highlight a word or phrase anywhere in X --- Netscape, xterm,
> xpdf, whatever --- and click the "Dictionary" button on this
> buttonbar.

This isn't quite as tidy, but this is what I came up with when I thought of
this a few weeks ago. It (ab)uses GTK and regular expressions to match the
current selection against a series of patterns, and only shows the ones
which match. It's a remarkably handy little tool...

-- 

Adam Sampson
azz@gnu.org