Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on July 03, 2005, 02:59:17 am

Title: Win CVS: "phantom lines when closing file" bug
Post by: rickg22 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?
Title: Win CVS: "phantom lines when closing file" bug
Post by: CrayzeeIvan on July 03, 2005, 06:03:53 am
Seems to be gone for me. Well done :)
Title: Win CVS: "phantom lines when closing file" bug
Post by: mandrav 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.
Title: Win CVS: "phantom lines when closing file" bug
Post by: rickg22 on July 03, 2005, 04:44:19 pm
Closed. :)
Title: Win CVS: "phantom lines when closing file" bug
Post by: rickg22 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?
Title: Win CVS: "phantom lines when closing file" bug
Post by: mandrav 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.
Title: Win CVS: "phantom lines when closing file" bug
Post by: rickg22 on July 12, 2005, 12:07:52 am
No, i mean what changed when you switched to tabbed editing. That's when everything started.