Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Terrax on November 17, 2012, 04:41:27 pm

Title: Error line highlighting issue
Post by: Terrax on November 17, 2012, 04:41:27 pm
Hello all,

I am not sure if this is the right section in which to post this threat and I am posting it since I am trying to solve this issue for 2 days.

I am using Windows Ultimate 64-bit and after re-installing Windows, code blocks doesn't put the red square next to the number of the line in which there is an error.

Please someone help me with this because it is useful to me and I want that option back.

Thanks in advance.
Title: Re: Error line highlighting issue
Post by: MortenMacFly on November 17, 2012, 05:19:40 pm
Without version information nobody can help you... sorry.
Title: Re: Error line highlighting issue
Post by: Terrax on November 17, 2012, 05:26:35 pm
Sorry, I am using Code Blocks 10.05  :)
Title: Re: Error line highlighting issue
Post by: Jenna on November 17, 2012, 08:32:40 pm
Does it jump to the line and just don't show the square or does it also not jump to the error ?

If it is the second, you might have problems because of special (non-ascii) characters or spaces in your path.
Title: Re: Error line highlighting issue
Post by: Terrax on November 18, 2012, 12:11:47 pm
Well, when I double click on the message with the error in the log, it doesn't go to the line. Just nothing happens. Any ideas how can I fix that?
Title: Re: Error line highlighting issue
Post by: Jenna on November 18, 2012, 12:18:15 pm
Well, when I double click on the message with the error in the log, it doesn't go to the line. Just nothing happens. Any ideas how can I fix that?
[...] you might have problems because of special (non-ascii) characters or spaces in your path.
Title: Re: Error line highlighting issue
Post by: Terrax on November 18, 2012, 12:26:12 pm
OK, I read that, I don't understand which path do you mean.

I also don't understand how before the re-installation of Windows this worked and after the clean install this does not work...

If you know, please, could you tell me how can I fix this because I want that feature and can't explain to myself why this is not working now...it's driving me crazy.
Title: Re: Error line highlighting issue
Post by: Jenna on November 18, 2012, 12:34:16 pm
The path to the source (or whatever) file with the errors.
You can inspect the "Build log"-tab and the "Build messages"-tab (here the "File"-column) for differences, especially for truncated paths, due to spaces or special characters.
Title: Re: Error line highlighting issue
Post by: Terrax on November 18, 2012, 01:03:58 pm
Oh, I got it... The folder in which I hold my source files was called C & C++. I renamed the folder and now I got what I wanted.

Many thanks for your help and I apology if I was rude.  :)
Title: Re: Error line highlighting issue
Post by: oBFusCATed on November 18, 2012, 01:40:52 pm
Jens: Is this problem fixed in 12.11?
Title: Re: Error line highlighting issue
Post by: Jenna on November 18, 2012, 01:47:20 pm
Jens: Is this problem fixed in 12.11?
At least not for all special characters, I just tested it with german umlaut (ΓΌ) and it does not work.
Title: Re: Error line highlighting issue
Post by: Terrax on November 20, 2012, 02:02:57 pm
When is expected to release the final version?
Title: Re: Error line highlighting issue
Post by: oBFusCATed on November 20, 2012, 02:05:08 pm
Soon, very soon:)