[BUG_FIXED] Fix a crash issue (a regression) on opening/closing files.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@971 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2012-10-20 16:09:03 +00:00
parent 25ae135f82
commit 3bfa679f4a
1 changed files with 0 additions and 7 deletions

View File

@ -1607,13 +1607,6 @@ void ScintillaEditView::activateBuffer(BufferID buffer)
restyleBuffer();
}
// find hotspots
NMHDR nmhdr;
nmhdr.code = SCN_PAINTED;
nmhdr.hwndFrom = _hSelf;
nmhdr.idFrom = ::GetDlgCtrlID(nmhdr.hwndFrom);
::SendMessage(_hParent, WM_NOTIFY, (WPARAM)LINKTRIGGERED, (LPARAM)&nmhdr);
// restore the collapsed info
const std::vector<HeaderLineState> & lineStateVectorNew = newBuf->getHeaderLineState(this);
syncFoldStateWith(lineStateVectorNew);