_AreCharsAllowed
if (TextDocumentView::_AreCharsAllowed(str, maxLength)) {
static bool _AreCharsAllowed(const char* str, int32 maxLength);