News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

My "Find" window is messed up

Started by sebihp2007, May 18, 2014, 05:45:42 PM

Previous topic - Next topic

sebihp2007

Let me start by saying that this is a question strictly to do with the Code::Blocks software.. nothing to do with programming..

OK, so I have a problem with my "Find" window (the one you open with Ctrl+F).. I'm not really sure what I did (I think I pasted a really long string with Ctrl+V but I'm not sure) and.. well.. THIS happened:



I thought an image would be the best way to describe it.. the window is now this massive thing, about 2000 screens in width.. (not 2000, that was just a random number).. also I should point out that the window doesn't end at the very end, but about halfway through.. that last sentence was probably a bit confusing, so here's an image to show you what I mean:



I have no idea what happened and I've never seen this before  ???.. my PC moves in frames now every time I hit Ctrl+F in Code::Blocks.. I've never seen this happening before and restarting CB doesn't do anything.. how do I fix this?

Help would be greatly appreciated

Alpha

The easiest way would be to delete/move your %AppData%\CodeBlocks\default.conf, and let Code::Blocks generate a new one.  This will mean that you lose all your settings though.

Alternatively, open default.conf in a plain text editor and search for "<LAST>".  You should find a section that looks like

<replace_options>
<LAST>
<astr>
<s>
<![CDATA[goto]]>
</s>
<s>
<![CDATA[operator]]>
</s>
[...]

One of the <s><![CDATA[MySearchTerm]]></s> will have your extremely long string.  Delete that entry.  (Note: backup your default.conf before any modifications.)