_IsAllowedChar
if (!TextDocumentView::_IsAllowedChar(i))
if (_IsAllowedChar(str[i])) {
static bool _IsAllowedChar(char c);