added length parameter to call of snip insert

This commit is contained in:
Thomas Hilliker 2015-10-21 23:05:15 -04:00 committed by Vincent St-Amour
parent 9bf18505d5
commit acab3f14e1

View File

@ -1860,7 +1860,7 @@
(let ([snip (new string-snip%)])
(set-snip-style! snip (or (get-default-style)
(send s-style-list basic-style)))
(send snip insert str)
(send snip insert str (string-length str))
(insert-paste-snip snip #f)))
(def/override (kill [exact-integer? [time 0]])