mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
TheIDE got new code-browser
git-svn-id: svn://ultimatepp.org/upp/trunk@511 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1b9b782255
commit
4c97cf1fed
33 changed files with 704 additions and 466 deletions
|
|
@ -228,6 +228,7 @@ void DocEdit::PlaceCaret(bool scroll) {
|
|||
else
|
||||
sb.ScrollInto(cr.y, fy + 2);
|
||||
SetCaret(cr.x + 1, cr.y - sb, 1, fy);
|
||||
WhenSel();
|
||||
}
|
||||
|
||||
void DocEdit::PlaceCaret(int newpos, bool select) {
|
||||
|
|
@ -247,9 +248,9 @@ void DocEdit::PlaceCaret(int newpos, bool select) {
|
|||
}
|
||||
cursor = newpos;
|
||||
PlaceCaret(true);
|
||||
SelectionChanged();
|
||||
if(IsSelection())
|
||||
SetSelectionSource(ClipFmtsText());
|
||||
SelectionChanged();
|
||||
}
|
||||
|
||||
int DocEdit::GetMousePos(Point p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue