From 90a63d33ad8b351f3776f39dc87c1952c2116d4b Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 7 Aug 2013 15:35:28 +1000 Subject: Removed dead code. --- src/Editor.cxx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src') 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(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. -- cgit v1.2.3