Author Topic: Code Blocks went crazy? (Unstable, cannot backspace, deletes highlighted text)  (Read 12135 times)

Offline FriendlyFire

  • Single posting newcomer
  • *
  • Posts: 2
So I created a new project and code blocks seems to have lost it.  As I said above, I cannot backspace except for white space.  Any code I highlight is deleted.  Most of the color coding and auto format features are gone, and it is just really unstable.  Trying to play with it, C::B will crash two or three minutes in every time.

This is effecting my old projects as well, so I assume I messed with some setting on accident but have no idea what I did.  Also, it seems weird that a setting change would cause the program to crash constantly.  I apologize if it is an amateur question, I tried searching but could not find any similar threads.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
I apologize if it is an amateur question, I tried searching but could not find any similar threads.
Well first of all you didn't mention anything about your System / OS and version of Code::Blocks you are using (release / nightly / self-compiled?!). Without that information we can do hardly anything.

Except one thing which you can always try: Delete you Code::Blocks configuration file "default.conf".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline FriendlyFire

  • Single posting newcomer
  • *
  • Posts: 2
You are right, I have windows 7 and C::B 10.05 with GCC.  Also, I searched for default in the code blocks folder and did not find that final.

On the flip side, windows crashed and now C::B works again.  So, I might be back to this thread again but for now, happy days.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
I searched for default in the code blocks folder and did not find that final.
For the record: That file is in the %APPDATA% folder of Windows. I am not sure where that is on Wind7, on WinXP it is usually located at "C:\Documents and Settings\Application Data\codeblocks".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
I searched for default in the code blocks folder and did not find that final.
For the record: That file is in the %APPDATA% folder of Windows. I am not sure where that is on Wind7, on WinXP it is usually located at "C:\Documents and Settings\Application Data\codeblocks".
WIN + R, input %APPDATA%, then press Enter.
Then you can got it, it's located at %APPDATA%\codeblocks always.