Exemplo n.º 1
0
//--------------------------------------------------------------
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;
}
Exemplo n.º 2
0
//--------------------------------------------------------------
void ofxEditorSyntax::setPunctuationChars(const u32string &chars) {
	if(chars.length() == 0) {
		ofLogWarning("ofxEditorSyntax") << "empty punctuation string";
		return;
	}
	punctuationChars = chars;
}
Exemplo n.º 3
0
//--------------------------------------------------------------
void ofxEditorSyntax::setOperatorChars(const u32string &chars) {
	if(chars.length() == 0) {
		ofLogWarning("ofxEditorSyntax") << "empty operator string";
		return;
	}
	operatorChars = chars;
}