Menu

#1604 CPP, editor, wrong cursor position after [return] in comments

Undefined
open
nobody
None
Bug_Report
2026-06-01
2026-06-01
Elena
No

IMPORTANT PREMISE: I apologize in advance, this is inherent to SNV 13620, I know it's oldish. Unfortunately Sourceforge is more than often very slow or offline from my area in Italy (not clear why), so I am not updating very often anymore as I did in the past. However, chances are this bug was never reported (I tried searching for similar existing tickets to no avail, again, my apologies if I missed it)

The bug shows up in text editor, in cpp files, in multi-line comments between /* */ despite sometimes I also noticed it in multi-line comments starting with //.
What happens is that, at random (impossible to replicate), when I press [return] to terminate a line, the cursor on the next line gets placed NOT at beginning, as it should be, but at a random advanced position thru the new line.

With some efforts, I managed to collect an example .cpp which always shows the bug (attached).
There, if you place the cursor after the dot in the last line "never be adjusted)." and press [return], the cursor on the new line is placed far away, about under the word "value" above, instead of being placed at the beginning of the new line.

Hope this helps, thanks in advance.

1 Attachments

Discussion


Log in to post a comment.