When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
Do you have the SmartIndentCpp plugin enabled?
Then you should post the exact steps needed to reproduce the problem on a simple example file.
#include <stdlib.h>#include <stdio.h>const static char SI[]="name.ex";int main(int argc, char *argv[]){ int i = 0; for (i = 0; i < argc; i++) { printf("argv[%d] = %s\n", i, argv[i]); } printf("%s \n",SI); return EXIT_SUCCESS;}
#include <stdlib.h>#include <stdio.h>const static char SI[]="name.ex";int main(int argc, char *argv[]){ int i = 0; for (i = 0; i < argc; i++) { printf("argv[%d] = %s\n", i, argv[i]); } printf("%s \n",SI);//cursor comes to the beginning of this line. return EXIT_SUCCESS;}
Settings -> EditorIndent option make sure "Auto Indent" is checked.Tim S.