diff options
author | nyamatongwe <devnull@localhost> | 2001-12-23 02:00:14 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-12-23 02:00:14 +0000 |
commit | 1eb275016cabd6def66796ec48c516c1dacc3ec8 (patch) | |
tree | 25ee02b04b0d8f4cf5f44ac5acfad0f425ed4825 | |
parent | 8f3017b66060885334c606876758d57e4c2298ba (diff) | |
download | scintilla-mirror-1eb275016cabd6def66796ec48c516c1dacc3ec8.tar.gz |
Fixed bug with finding a column when there is a tab in the line.
-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') { |