Page 1 of 1

Caret Placement in C Autocomment

Posted: Fri Dec 19, 2008 12:19 am
by tjulian
Within a C comment, and AutoAdd the '*' on newline enabled, the caret is placed at the end of the new line instead of at the end of the inserted '*'.

For example:
/*
* some comment
*/
Move to the 'c' in 'comment' and press enter. The '*' is auto-added, but the caret is placed at end of the word 'comment' instead of remaining in front of the 'c'.
/*
* some
* [caret should be here]comment [but its here]
*/

Wouldn't that be preferred?
--tj

Re: Caret Placement in C Autocomment

Posted: Fri Dec 19, 2008 12:51 am
by eranif
Indeed, it is a bug :D

Please submit a bug report here:
https://sourceforge.net/tracker/?group_ ... tid=979960

Eran