protected void checkFormatting()
	{
		//previous character was formatting, keep format field set
		if (FontOptions.getFormatting(currentText, charIndex - 1) != null)
			return;
		format = FontOptions.getFormatting(currentText, charIndex);
		if (format == null)
			return;

		if (applyStyles)
			applyStyle(format);

		if (skipChars && !litteral)
		{
			globalIndex += 2;
			charIndex += 2;
			checkFormatting();
		}
	}
protected void checkFormatting ( ) { if ( FontOptions . getFormatting ( currentText , charIndex - 1 ) != null ) return ; format = FontOptions . getFormatting ( currentText , charIndex ) ; if ( format == null ) return ; if ( applyStyles ) applyStyle ( format ) ; if ( skipChars && ! litteral ) { globalIndex += 2 ; charIndex += 2 ; checkFormatting ( ) ; } }
Checks if there is {@link TextFormatting} at the current index and applies the corresponding style.<br>
Advances the index by 2.