Yes just downloaded your release from castlesofpoland it
happened in 4.9.9.1 too. I would just say it was my crappy
Me but when I was programming a bit on my girlfriends comp
which has Xp, it did the same exact thing
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Its just a logic problem; if you look at the tooltip text of the
autoindent option, it says something about it moving the
carret to the first non-whitespace character of the preceding
line. The problem is that it doesn't really find the first non-
whitespace, but the second. Eg. if you put a space between
the "if" and the "(" open bracket in your example, the caret
would be placed there.
I liked the indent system in visual c++, they should change
devc++ to something like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem seems to be in the combination of auto indent
and smart tabs. The curly brace triggers an auto indent
which result in an tab. This tab is handled as a smart tab
and therefore it will indent untill the first space
character in a previous line. Exactly what the picture shows.
I'm not sure how it should work but this is how it is
currently implemented.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This also happens to me on WinXP, incidently it did not
happen while I was using DevC++ 4.9.9.0. There is a way to
get auto indentation and tabs to work, however. Simply
check "Auto Indent" and "Use Tab Characters", but do not
check "Smart Tabs" under the Edit Options menu. I don't
believe there are any drawbacks or missing functionality, as
the tab still act "smart".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Shows what happens with the cursor
Logged In: YES
user_id=609236
this is dev-c++ version 4.9.9.2?
Logged In: YES
user_id=1046983
Yes just downloaded your release from castlesofpoland it
happened in 4.9.9.1 too. I would just say it was my crappy
Me but when I was programming a bit on my girlfriends comp
which has Xp, it did the same exact thing
Logged In: YES
user_id=1046983
Looks like this guy has the same problem as me
http://sourceforge.net/forum/forum.php?thread_id=1235637&forum_id=48211
Logged In: YES
user_id=1046983
It only happens when smart tabs are on.
Logged In: NO
I have the same issue I think. It happens as I go to close
the brace. It auto-indents it an extra indent.
Logged In: NO
Its just a logic problem; if you look at the tooltip text of the
autoindent option, it says something about it moving the
carret to the first non-whitespace character of the preceding
line. The problem is that it doesn't really find the first non-
whitespace, but the second. Eg. if you put a space between
the "if" and the "(" open bracket in your example, the caret
would be placed there.
I liked the indent system in visual c++, they should change
devc++ to something like that.
Logged In: YES
user_id=1198598
The problem seems to be in the combination of auto indent
and smart tabs. The curly brace triggers an auto indent
which result in an tab. This tab is handled as a smart tab
and therefore it will indent untill the first space
character in a previous line. Exactly what the picture shows.
I'm not sure how it should work but this is how it is
currently implemented.
Logged In: YES
user_id=1283569
This also happens to me on WinXP, incidently it did not
happen while I was using DevC++ 4.9.9.0. There is a way to
get auto indentation and tabs to work, however. Simply
check "Auto Indent" and "Use Tab Characters", but do not
check "Smart Tabs" under the Edit Options menu. I don't
believe there are any drawbacks or missing functionality, as
the tab still act "smart".