Fix copying text with links containing a newline.
This commit is contained in:
parent
aed9fe649b
commit
fffdce5cb5
1 changed files with 1 additions and 1 deletions
|
|
@ -3173,7 +3173,7 @@ void String::enumerateText(TextSelection selection, AppendPartCallback appendPar
|
||||||
flagsChangeCallback(flags, blockFlags);
|
flagsChangeCallback(flags, blockFlags);
|
||||||
flags = blockFlags;
|
flags = blockFlags;
|
||||||
}
|
}
|
||||||
if (i == e || blockFrom >= selection.to) {
|
if (i == e || (lnkIndex ? lnkFrom : blockFrom) >= selection.to) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue