Author Topic: Error line highlighting issue  (Read 10712 times)

Offline Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Error line highlighting issue
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Error line highlighting issue
« Reply #1 on: November 17, 2012, 05:19:40 pm »
Without version information nobody can help you... sorry.
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 Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Re: Error line highlighting issue
« Reply #2 on: November 17, 2012, 05:26:35 pm »
Sorry, I am using Code Blocks 10.05  :)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Error line highlighting issue
« Reply #3 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.

Offline Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Re: Error line highlighting issue
« Reply #4 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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Error line highlighting issue
« Reply #5 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.

Offline Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Re: Error line highlighting issue
« Reply #6 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Error line highlighting issue
« Reply #7 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.

Offline Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Re: Error line highlighting issue
« Reply #8 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.  :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Error line highlighting issue
« Reply #9 on: November 18, 2012, 01:40:52 pm »
Jens: Is this problem fixed in 12.11?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Error line highlighting issue
« Reply #10 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.

Offline Terrax

  • Single posting newcomer
  • *
  • Posts: 6
Re: Error line highlighting issue
« Reply #11 on: November 20, 2012, 02:02:57 pm »
When is expected to release the final version?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Error line highlighting issue
« Reply #12 on: November 20, 2012, 02:05:08 pm »
Soon, very soon:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]