mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
CtrlLine: LineEdit: fixed PasteInColumn at the end of line #856
git-svn-id: svn://ultimatepp.org/upp/trunk@7683 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cfe03ec59a
commit
a26c7629a2
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ void LineEdit::PasteColumn(const WString& text)
|
|||
for(int i = 0; i < cl.GetCount(); i++) {
|
||||
int li = p.y + i;
|
||||
if(li < line.GetCount()) {
|
||||
int l = GetGPos(i + p.y, min(GetLineLength(li), p.x));
|
||||
int l = GetGPos(i + p.y, p.x);
|
||||
pos = l + Insert(l, cl[i]);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue