Caret Placement in C Autocomment

Discussion about CodeLite development process and patches
tjulian
CodeLite Enthusiast
Posts: 32
Joined: Tue Nov 11, 2008 12:06 am
Contact:

Caret Placement in C Autocomment

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Caret Placement in C Autocomment

Post by eranif »

Indeed, it is a bug :D

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

Eran
Make sure you have read the HOW TO POST thread
Post Reply