diff options
Diffstat (limited to 'src')
| -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. | 
