Re: [Gtk2hs-devel] Bug in editableInsertText

2009-11-21 Thread Axel Simon
On Mon, 2009-10-12 at 11:55 +0100, Duncan Coutts wrote: > I'm getting crazy values returned as the position from > editableInsertText. > > This is using the example from the Editable haddock documentation: > > idRef <- newIORef undefined > id <- onInsertText entry $ \str pos -> do >id <- rea

[Gtk2hs-devel] Bug in editableInsertText

2009-10-12 Thread Duncan Coutts
I'm getting crazy values returned as the position from editableInsertText. This is using the example from the Editable haddock documentation: idRef <- newIORef undefined id <- onInsertText entry $ \str pos -> do id <- readIORef idRef signalBlock id pos' <- editableInsertText entry (map