//-------------------------------------------------------------- void ofxEditorSettings::setMatchingChars(u32string openChars, u32string closeChars) { if(openChars.length() == 0 || closeChars.length() == 0) { ofLogWarning("ofxEditorSettings") << "empty open or close char string"; return; } openChars = openChars; closeChars = closeChars; }
//-------------------------------------------------------------- void ofxEditorSyntax::setPunctuationChars(const u32string &chars) { if(chars.length() == 0) { ofLogWarning("ofxEditorSyntax") << "empty punctuation string"; return; } punctuationChars = chars; }
//-------------------------------------------------------------- void ofxEditorSyntax::setOperatorChars(const u32string &chars) { if(chars.length() == 0) { ofLogWarning("ofxEditorSyntax") << "empty operator string"; return; } operatorChars = chars; }