Bruce Dodson wrote:
Hi Guys,
The !makingRoomForNew clause needs to be there. For this
case, since the buffer is being re-initialized, InitBuffer
has to be called (which happens on line 569) instead of
ActivateBuffer.
Actually I don't think OnSwitchFile should be called in this
case, as it is not supposed to be called for new buffers -
only for switching to an existing buffer. So I think the
correct fix is probably on line 645:
Please see the description of the problem in my recent posting in
the thread.
If we have file A and file B, and we close file B, then from file
B's POV, it is being closed, but from file A's POV, it has just
been reactivated. It's a little like General Relativity -- the
same incident looks different from the points of view of file A
and file B.
if (extender && !closingLast && !makingRoomForNew) {
extender->OnSwitchFile(filePath.AsFileSystem());
}
Regards,
Bruce
"Neil Hodgson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[Redirecting to mailing list as it looks like a Bruce
Dodson issue]
[snip snip]
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest