Re: [wxhaskell-users] inserting text into a TextCtrl

2009-03-10 Thread Bernd Holzmüller
Hi Eric, textCtrlWriteText should do: textCtrlWriteText :: TextCtrl a -> String -> IO () The wxWidgets documentation states: wxTextCtrl::WriteText Writes the text into the text control at the current insertion position. Best regards, Bernd Eric schrieb: Dear all, I wish to insert tex

Re: [wxhaskell-users] inserting text into a TextCtrl

2009-03-10 Thread Henk-Jan van Tuyl
On Tue, 10 Mar 2009 23:13:20 +0100, Eric wrote: > I wish to insert text into a text control at the cursor. I think you can find your answer here: http://article.gmane.org/gmane.comp.lang.haskell.wxhaskell.general/357 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://

[wxhaskell-users] inserting text into a TextCtrl

2009-03-10 Thread Eric
Dear all, I wish to insert text into a text control at the cursor. I've started with the following code: i <- textCtrlGetInsertionPoint editor but looking at the module Graphics.UI.WXCore.WxcClassesMZ I can't find an action to insert text. Can anyone help? Eric --