Opened 19 years ago

Closed 19 years ago

#2327 closed defect (fixed)

LCursor::paste() is broken

Reported by: Georg Baum Owned by: lasgouttes
Priority: high Milestone: 1.4.1
Component: general Version: 1.4.0cvs
Severity: normal Keywords: patch
Cc:

Description

LCursor::paste() assumes that the argument to LFUN_PASTE is the data to be
pasted, but that is wrong, the argument is the index of the cut buffer to use
for pasting.

Attachments (1)

x.diff (2.3 KB ) - added by Georg Baum 19 years ago.
fix

Download all attachments as: .zip

Change History (4)

by Georg Baum, 19 years ago

Attachment: x.diff added

fix

comment:1 by Georg Baum, 19 years ago

Keywords: patch added

comment:2 by Martin, 19 years ago

Yeah, I tried this too. Won't work, as the selection isn't valid anymore where
the cut is made. It should be moved higher up. In other words, the fix is OK,
but doesn't fix the problem ;-)

comment:3 by Georg Baum, 19 years ago

Milestone: 1.4.1
Resolution: fixed
Status: newclosed

Martin fixed this for 1.4.1.

Note: See TracTickets for help on using tickets.