[RFC] KTextEdit inside KDialog

Andreas Pakulat apaku at gmx.de
Fri Jun 27 23:31:50 BST 2008


On 28.06.08 00:52:31, Diego Iastrubni wrote:
> You can also press "shift+enter" to enter a line break.

No you can't. Check the sources ;) QTextEdit inserts a new block when
you hit Enter or Return without Control pressed (i.e. also with Shift).
Only Control+Enter inserts a plain linebreak.

See src/gui/text/qtextcontrol.cpp if you don't believe me :)

As I said this probably only affects QTextEdits/KTextEdits that don't
get the result as plaintext but in some formatted way (HTML for example)

Andreas

-- 
Try to have as good a life as you can under the circumstances.




More information about the kde-core-devel mailing list