aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-07 15:35:28 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-07 15:35:28 +1000
commit90a63d33ad8b351f3776f39dc87c1952c2116d4b (patch)
treeba37a5b8f1e89da244154aeac7b7971ad45ae90a /src
parentd1ed1e1c16f60dae326e850894adc374babd97b6 (diff)
downloadscintilla-mirror-90a63d33ad8b351f3776f39dc87c1952c2116d4b.tar.gz
Removed dead code.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx17
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.