Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
Use force-output instead of finish-output as the latter implies waiting for an answer from the display server, which is something we really do not want to do.
Handle selection-notify-events in the text gadget and input editor. For communicating with the input editor, signal and handle a selection-notify condition from the lower level event handler (I can't think of a better approach to communicating across the layers). Disable the old default of pasting by synthesizing keypress events, but make it available via paste-as-keypress-mixin.
FETCH-SELECTION: - We pad out selection we get from tables and similar things with spaces now.
I think this is a slightly more ICCCMly correct implementation of sending selections to requestors. We support all the required targets except MULTIPLE, select an appropriate property if TEXT is requested, refuse to send bad characters to a STRING target, and avoid printing to *trace-output* to deal with the fact that Klipper, at least, polls the TIMESTAMP property to find out if the selection has changed. Requesting PRIMARY from selection owners is moderately broken, unfortunately; it works for ASCII but not for much else.
Attempt to fix some issues with text selection. Send Latin 1 in response to :STRING and :COMPOUND_TEXT requests, request selections as :STRING by default, fall back to cut buffer contents when a selection-notify event does not supply a property.
Fix bug reported by Paolo ("Missing CLIMI::Y2 slot error")
encouraged by IRC feedback, commit fixes from conversation with myself on mcclim-devel regarding ICCCM X compliance in the SetInputFocus and selection ownership areas.
Fix bug in text selection code causing an error if the user attempts to drag a selection endpoint before any text has been selected. (Previous commit to CLX backend had nothing to do with this, sorry)
Merging text selection functionality, implemented by Gilbert Baumann. Text selection functions are provided by cut-and-paste-mixin, tentatively added to clim-stream-pane. Possibly we want to move it further down the class hierarchy, so users can define stream panes without interference from the selection code. Interaction implemented: 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
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|