Account for CJK wide chars in copyLineToStream
Otherwise, block selection may not correctly insert spaces/newlines between lines, since it may obtain only the leftmost character of a CJK character pair, and put the space in the next character, which will then be ignored by PlainTextDecoder as if it was the right dummy character of a CJK character pair. (cherry picked from commit 0597073a)
parent
e194f009
Please register or sign in to comment