diff options
author | nyamatongwe <unknown> | 2001-12-23 02:00:14 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-12-23 02:00:14 +0000 |
commit | ea123fdec0b52f9d589ae07de26e7382d105114e (patch) | |
tree | 25ee02b04b0d8f4cf5f44ac5acfad0f425ed4825 /src | |
parent | 99a53fdd7a539a4aea54fea0d658ba40ff6aaeaf (diff) | |
download | scintilla-mirror-ea123fdec0b52f9d589ae07de26e7382d105114e.tar.gz |
Fixed bug with finding a column when there is a tab in the line.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index e96e7d03a..8483d86f1 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -647,6 +647,7 @@ int Document::FindColumn(int line, int column) { char ch = cb.CharAt(position); if (ch == '\t') { columnCurrent = NextTab(columnCurrent, tabInChars); + position++; } else if (ch == '\r') { return position; } else if (ch == '\n') { |