Ticket #1156 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

textBufferPasteClipboard

Reported by: guest Owned by: axel
Priority: normal Milestone: 0.10.1
Component: general (Gtk+, Glib) Version: 0.9.12
Keywords: paste TextBuffer Cc:

Description

Unable to paste at the current cursor position

In TextBuffer?, function textBufferPasteClipboard has type

textBufferPasteClipboard :: TextBufferClass? self => self -> Clipboard -> TextIter? -> Bool defaultEditable -> IO ()

I think the type should be textBufferPasteClipboard :: TextBufferClass? self => self -> Clipboard -> Maybe TextIter? -> Bool defaultEditable -> IO ()

Change History

Changed 5 years ago by pgavin

  • owner changed from somebody to axel

Don't know anything about this. Axel?

Changed 5 years ago by axel

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.10.1

Yes, this should have been a Maybe TextIter. In order not to break the API, I added a function called textBufferPasteClipboardAtCursor which does not take a TextIter and silently passes NULL to Gtk+.

Note: See TracTickets for help on using tickets.