McCLIM changes: text selection - Lisp Propulsion Laboratory log

Lisp Propulsion Laboratory log

Paolo Amoroso's weblog. Main interests: Lisp, astronomy (Moon), space exploration (Apollo and early manned programs) Calendar of past entries | Related links xml

McCLIM changes: text selection

Thursday, December 9, 2004

Andy Hefner has added an important feature to the CVS sources of McCLIM: text selection functionality in stream panes, based on code by Gilbert Baumann. The commit log summarizes the kind of interaction available, which is different from the X Window style:

Shift-Mouse-L down: clear active selection and set the first point
Shift-Mouse-L drag: drag the second point
Shift-Mouse-L up:   set the second point

Shift-Mouse-R down: pick the nearest point, if any Shift-Mouse-R drag: drag said point Shift-Mouse-R up: leave said point where it was dragged to.

Shift-Mouse-M: paste

The code still has some rough edges. I use the 2004-10 CMUCL snapshot under Slackware Linux 10.0 with the 6.7.0 server. With this setup I can select text but, when I paste it, I get back spurious text.

Copyright © 2004 by Paolo Amoroso

Created with BlogMax

December 2004
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Nov  Jan
About Lisp | Practical Common Lisp (learn Lisp) | Planet Lisp (blog agregator) | Common Lisp Directory (software and resources) | Why Lisp?