diff options
-rw-r--r-- | doc/ScintillaHistory.html | 12 | ||||
-rw-r--r-- | src/PositionCache.cxx | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 7a6381868..caf39dec9 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -459,6 +459,18 @@ </li> </ul> <h3> + <a href="http://prdownloads.sourceforge.net/scintilla/scite341.zip?download">Release 3.4.1</a> + </h3> + <ul> + <li> + Released 22 March 2014. + </li> + <li> + Bug fixed where cursor down failed on wrapped lines. + <a href="http://sourceforge.net/p/scintilla/bugs/1585/">Bug #1585</a>. + </li> + </ul> + <h3> <a href="http://prdownloads.sourceforge.net/scintilla/scite340.zip?download">Release 3.4.0</a> </h3> <ul> diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 664003c7e..f197a6559 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -237,8 +237,9 @@ Point LineLayout::PointFromPosition(int posInLine, int lineHeight) const { pt.x = positions[posInLine] - positions[rangeSubLine.start]; if (rangeSubLine.start != 0) // Wrapped lines may be indented pt.x += wrapIndent; - break; } + } else { + break; } } return pt; |