mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: RichTextView: reverted to SetFocus
git-svn-id: svn://ultimatepp.org/upp/trunk@7454 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e1bbcb4ece
commit
1b424becba
1 changed files with 3 additions and 3 deletions
|
|
@ -195,7 +195,7 @@ void RichTextView::LeftDown(Point p, dword keyflags)
|
|||
if(!(keyflags & K_SHIFT))
|
||||
anchor = pos;
|
||||
RefreshSel();
|
||||
SetWantFocus();
|
||||
SetFocus();
|
||||
SetCapture();
|
||||
}
|
||||
}
|
||||
|
|
@ -213,7 +213,7 @@ void RichTextView::LeftDouble(Point p, dword keyflags)
|
|||
while(cursor < text.GetLength() && text[cursor] == ' ')
|
||||
cursor++;
|
||||
RefreshSel();
|
||||
SetWantFocus();
|
||||
SetFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -224,7 +224,7 @@ void RichTextView::LeftTriple(Point p, dword keyflags)
|
|||
anchor = pos - rp.posinpara;
|
||||
cursor = anchor + rp.paralen + 1;
|
||||
RefreshSel();
|
||||
SetWantFocus();
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void RichTextView::MouseMove(Point p, dword keyflags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue