Clear selection on file change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31747 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c31af1b060
commit
bd4b1ce4f7
@ -897,6 +897,8 @@ void
|
||||
SourceView::TextView::SetSourceCode(SourceCode* sourceCode)
|
||||
{
|
||||
fMaxLineWidth = -1;
|
||||
fSelectionStart = fSelectionBase = fSelectionEnd = SelectionPoint(-1, -1);
|
||||
fClickCount = 0;
|
||||
BaseView::SetSourceCode(sourceCode);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user