public static int findNonMarkNorOtherCharacter(String text,int column){
  if (column + 1 >= text.length()) {
    return text.length() + 1;
  }
  MatchResult match=RegExpUtils.findMatchAfterIndex(UnicodeUtils.regexpNotMarkOrOtherExcludingTabAndNewline,text,column);
  if (match == null) {
    return text.length() + 1;
  }
 else {
    return match.getIndex();
  }
}

public static int findNonMarkNorOtherCharacter ( String text , int column ) { if ( column + 1 >= text . length ( ) ) { return text . length ( ) + 1 ; } MatchResult match = RegExpUtils . findMatchAfterIndex ( UnicodeUtils . regexpNotMarkOrOtherExcludingTabAndNewline , text , column ) ; if ( match == null ) { return text . length ( ) + 1 ; } else { return match . getIndex ( ) ; } }
finds the next character which is not a combining character .
