cli/ligfind.cpp
bool hasText(HTp token) {
	HTp current = token->getNextFieldToken();
	while (current) {
		if (current->isKern()) {
			break;
		}
		if (current->isDataType("**text")) {
			if (current->isNull()) {
				return false;
			} else {
				return true;
			}
		}
		current = current->getNextFieldToken();
	}
	return false;
}
//////////////////////////////
//
// hasText -- return true if the given note has non-null
//   **text content in a field to the right of it before the
//   next **kern spine.  Spine splits in **kern data can cause
//   problems, but there should be no spine splits in data that
//   will be analyze with this program.
//
- return true if the given note has non-null
text content in a field to the right of it before the
next **kern spine.  Spine splits in **kern data can cause
problems, but there should be no spine splits in data that
will be analyze with this program.
- return true if the given note has non - null text content in a field to the right of it before the next ** kern spine . Spine splits in ** kern data can cause problems but there should be no spine splits in data that will be analyze with this program .
bool hasText(HTp token) {
	HTp current = token->getNextFieldToken();
	while (current) {
		if (current->isKern()) {
			break;
		}
		if (current->isDataType("**text")) {
			if (current->isNull()) {
				return false;
			} else {
				return true;
			}
		}
		current = current->getNextFieldToken();
	}
	return false;
}
bool hasText ( HTp token ) { HTp current = token -> getNextFieldToken ( ) ; while ( current ) { if ( current -> isKern ( ) ) { break ; } if ( current -> isDataType ( " " ) ) { if ( current -> isNull ( ) ) { return false ; } else { return true ; } } current = current -> getNextFieldToken ( ) ; } return false ; }
hasText -- return true if the given note has non-null
text content in a field to the right of it before the
next **kern spine.
hasText -- return true if the given note has non - null text content in a field to the right of it before the next ** kern spine .