private void moveCaretRight(){
  int len=buffer.length();
  if (++insertionPoint > len) {
    insertionPoint=len;
    beep();
  }
  context.dispatchInputMethodEvent(InputMethodEvent.CARET_POSITION_CHANGED,null,0,TextHitInfo.leading(insertionPoint),null);
}

private void moveCaretRight ( ) { int len = buffer . length ( ) ; if ( ++ insertionPoint > len ) { insertionPoint = len ; beep ( ) ; } context . dispatchInputMethodEvent ( InputMethodEvent . CARET_POSITION_CHANGED , null , 0 , TextHitInfo . leading ( insertionPoint ) , null ) ; }
move the insertion point one position to the right in the composed text .
