Author Topic: Win CVS: "phantom lines when closing file" bug  (Read 7124 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Win CVS: "phantom lines when closing file" bug
« on: July 03, 2005, 02:59:17 am »
I wanted to ask if any of you had experienced lines from the wrong file appearing over the currently active editor (and messing the display). This usually happens when you close a file and there are many tabs (files) currently open.

See, I just commited to CVS a modifications to EditorManager, and the bug seems to be gone for me. How about you guys?

CrayzeeIvan

  • Guest
Win CVS: "phantom lines when closing file" bug
« Reply #1 on: July 03, 2005, 06:03:53 am »
Seems to be gone for me. Well done :)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Win CVS: "phantom lines when closing file" bug
« Reply #2 on: July 03, 2005, 12:16:32 pm »
Yep, it seems you fixed it Rick :)
Close the bug report when you have the time.

Yiannis.
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Win CVS: "phantom lines when closing file" bug
« Reply #3 on: July 03, 2005, 04:44:19 pm »
Closed. :)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Win CVS: "phantom lines when closing file" bug
« Reply #4 on: July 11, 2005, 09:20:37 pm »
Bad news :( It's there again :shock:

I fixed the part about closing a single file, but i forgot to make the change when a whole project gets closed. Anyway in case i die yadda yadda, the thing is that upon selection change in the open files tree, i call the currently active editor's focus() function. I suppose that something in between didn't get refreshed with the active editor changed.

I also call the open() function, in multiple windows, open just gives focus to the corresponding window. Mandrav, any insight on what could have changed between the interfaces?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Win CVS: "phantom lines when closing file" bug
« Reply #5 on: July 11, 2005, 11:36:08 pm »
I don't remember doing any work on the editor lately...
You could check the CVS logs, though.

Yiannis.
Be patient!
This bug will be fixed soon...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Win CVS: "phantom lines when closing file" bug
« Reply #6 on: July 12, 2005, 12:07:52 am »
No, i mean what changed when you switched to tabbed editing. That's when everything started.