Author Topic: clicking on error message opens a file under different heading  (Read 3948 times)

newbie

  • Guest
Let's say i have a file Foo.cpp in the bar directory.  When i open the file, the heading of the tab of the open file is bar/Foo.cpp.

Now, suppose there's an error in the file.  If i compile, it will appear in the build messages.  When i click the error message, the file opens a new tab with the heading Foo.cpp.  Why does it open the file again?  It should reuse the already-open file.  There's the potential that if a user fixes the error in one tab and closes it and visits the other tab (amidst a lot of other things), that the fixes could be lost.  A window does pop up a while later that says "File so-and-so is modified outside the IDE...", but in between, there's potential for lost changes.

Is there a setting that will fix this?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: clicking on error message opens a file under different heading
« Reply #1 on: March 28, 2008, 08:36:00 am »
Although your post is highly non-informative, have a look at this. My psychic powers tell me it might be what you need to read...
Be patient!
This bug will be fixed soon...

newbie

  • Guest
Re: clicking on error message opens a file under different heading
« Reply #2 on: March 28, 2008, 07:18:19 pm »
Although your sarcasm is highly-nonappreciative, that was just what I wanted.  Thanks!  (I did try searching beforehand, but I guess the search terms I used were highly non-informative)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
Re: clicking on error message opens a file under different heading
« Reply #3 on: March 31, 2008, 07:41:46 am »
Although your sarcasm is highly-nonappreciative, that was just what I wanted.  Thanks!  (I did try searching beforehand, but I guess the search terms I used were highly non-informative)

I appreciated the sarcasm.

Tim S

PS, I also can not read minds.


C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org