mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7917 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2ad196b5cb
commit
775fd9fc6b
1 changed files with 0 additions and 3 deletions
|
|
@ -89,7 +89,6 @@ Rect LineEdit::GetRectSelection() const
|
|||
bool LineEdit::GetRectSelection(const Rect& rect, int line, int& l, int &h)
|
||||
{
|
||||
if(line >= rect.top && line <= rect.bottom) {
|
||||
int len = GetLineLength(line);
|
||||
l = GetGPos(line, rect.left);
|
||||
h = GetGPos(line, rect.right);
|
||||
return true;
|
||||
|
|
@ -156,7 +155,6 @@ void LineEdit::PasteColumn(const WString& text)
|
|||
Point p = t.TopLeft();
|
||||
pos = cursor;
|
||||
for(int i = 0; i < t.bottom - t.top + 1; i++) {
|
||||
int li = p.y + i;
|
||||
int l = GetGPos(i + p.y, p.x);
|
||||
pos = l + Insert(l, cl[i % cl.GetCount()]);
|
||||
}
|
||||
|
|
@ -237,7 +235,6 @@ void LineEdit::Paint0(Draw& w) {
|
|||
int pos = cpos;
|
||||
int fascent = font.Info().GetAscent();
|
||||
Color showcolor = Blend(SColorLight, SColorHighlight);
|
||||
bool trimmed = false;
|
||||
int cursorline = GetLine(cursor);
|
||||
int dx[] = { fsz.cx };
|
||||
int dx2[] = { 2 * fsz.cx };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue