[Gambas-user] Textedit and Spell checking

Rob sourceforge-raindog2 at ...94...
Sat Mar 29 05:29:21 CET 2008


On Friday 28 March 2008 23:47, richard terry wrote:
> Using ctrl<enter> is  pain because of the key positioning. In

Maybe you could use the Keypress event to intercept Enter and 
Control-Enter (which does insert a <br />, I just tried it) and swap 
them like terminal emulators often swap backspace and delete.  

Since you can't rewrite the key code in the Key class, maybe you can 
manually insert whichever markup you need at the current position and 
then use STOP EVENT to prevent the <p> from going in.

Rob




More information about the User mailing list