[Qt-creator] unexpected behaviour after automatic indent pressing enter after {

Boy Lenssen Boy.Lenssen at esaote.nl
Thu Nov 27 09:05:00 CET 2008


I'm going to try to explain what I mean. It's a very little thing, but
it annoys me a bit, because I make use of this behaviour.

 

Let's say I'm writing a new class. I type the following

 

[code]

Class b

{

[/code]

 

When I press the 'enter'-key after the '{', I get a new line with an
indentation, which is what you would expect. But if you press the
up-arrow key now, the cursor will appear _in front of_ the '{', instead
of after it.

 

This doesn't happen when you first move around a bit and put the cursor
back after the indentation and then press the up-arrow key. Then is
nicely is placed behind the '{'.

 

Regards,

Boy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20081127/3be56eff/attachment.html 


More information about the Qt-creator-old mailing list