aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorcshnik <cshnik@users.noreply.github.com>2021-02-02 09:10:19 +1100
committercshnik <cshnik@users.noreply.github.com>2021-02-02 09:10:19 +1100
commitea862b3b81adc4bd2d04214607938318a7c62838 (patch)
tree1c29384caa96cb0c3e4278bfedf18564f912daf4 /src/EditView.cxx
parent3e29f690bddc2ec5b4fdf6589cf937236b49d8db (diff)
downloadscintilla-mirror-ea862b3b81adc4bd2d04214607938318a7c62838.tar.gz
Bug [#2231]. Inconsistent behaviour in navigation on a line containing Japanese
symbols #247
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index 0bc950d69..e4acdec58 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -815,7 +815,7 @@ Sci::Position EditView::StartEndDisplayLine(Surface *surface, const EditModel &m
if (subLine == ll->lines - 1)
posRet = ll->numCharsBeforeEOL + posLineStart;
else
- posRet = ll->LineStart(subLine + 1) + posLineStart - 1;
+ posRet = model.pdoc->MovePositionOutsideChar(ll->LineStart(subLine + 1) + posLineStart - 1, -1, false);
}
}
}