diff options
author | nyamatongwe <devnull@localhost> | 2009-08-11 00:46:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-08-11 00:46:26 +0000 |
commit | 67c248cb749738ee7967af65da57dce43276f036 (patch) | |
tree | a4065454d0088643de0d18f8a12ca9ca5a909d3d | |
parent | 5c624bed899900bf64974ee7cd9f189f5456ef5c (diff) | |
download | scintilla-mirror-rel-2-00.tar.gz |
Fixed bug when pasting rectangular at end of line and viewing line ends.rel-2-00
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 2bbba5aeb..2407d2b30 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -521,7 +521,7 @@ int Editor::PositionFromLineX(int lineDoc, int x) { if (surface && ll) { unsigned int posLineStart = pdoc->LineStart(lineDoc); LayoutLine(lineDoc, surface, vs, ll, wrapWidth); - retVal = ll->numCharsInLine + posLineStart; + retVal = ll->numCharsBeforeEOL + posLineStart; int subLine = 0; int lineStart = ll->LineStart(subLine); int lineEnd = ll->LineLastVisible(subLine); |