Data received from system services replaces selection
commitff04cce4f5c193c93619060f5209bafc3daeb2db
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 1 Nov 2008 18:21:02 +0000 (1 19:21 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 1 Nov 2008 18:21:02 +0000 (1 19:21 +0100)
tree2aa36ac4f975773b6c350b1489b2d82b74f8ee7e
parent6f52c0f8adad4af3b9ef12ddcbadfa4062e2f267
Data received from system services replaces selection

When data is received from system services it replaces the current
selection.  The current implementation is a bit naive in that it assumes
that Vim is in Visual mode (it doesn't even work in Select mode).  (To
test this functionality: enter "2+3", select it, then hit Cmd-* and the
selection is replaced with "5".)
src/MacVim/MMWindowController.m
src/MacVim/MacVim.xcodeproj/project.pbxproj