diff options
author | Neil <nyamatongwe@gmail.com> | 2013-08-07 15:35:28 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-08-07 15:35:28 +1000 |
commit | 445144addd4854d8f99d9c87a9c4955556faaa19 (patch) | |
tree | 0f297f6957c36207de435f46ab189a305ae3800c | |
parent | 2009580ac3d79746f3f8072aee72aef5c84cb127 (diff) | |
download | scintilla-mirror-445144addd4854d8f99d9c87a9c4955556faaa19.tar.gz |
Removed dead code.
-rw-r--r-- | src/Editor.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c13a5fd9d..75c1336d7 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2170,23 +2170,6 @@ LineLayout *Editor::RetrieveLineLayout(int lineNumber) { LinesOnScreen() + 1, pdoc->LinesTotal()); } -/* -bool BadUTF(const char *s, int len, int &trailBytes) { - // For the rules: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 - if (trailBytes) { - trailBytes--; - return false; - } - int utf8status = UTF8Classify(reinterpret_cast<const unsigned char *>(s), len); - if (utf8status & UTF8MaskInvalid) { - return true; - } else { - trailBytes = (utf8status & UTF8MaskWidth) - 1; - return false; - } -} -*/ - /** * Fill in the LineLayout data for the given line. * Copy the given @a line and its styles from the document into local arrays. |