public void openItem(final Editable text){
  if (text.length() > 0 && text.charAt(text.length() - 1) != '\n') {
    text.append("\n");
  }
  final int len=text.length();
  text.setSpan(this,len,len,Spanned.SPAN_MARK_MARK);
}

public void openItem ( final Editable text ) { if ( text . length ( ) > 0 && text . charAt ( text . length ( ) - 1 ) != '\n' ) { text . append ( "\n" ) ; } final int len = text . length ( ) ; text . setSpan ( this , len , len , Spanned . SPAN_MARK_MARK ) ; }
opens a new list item .
