void updateVisualPosition(){
  VerticalInfo oldInfo=myCaretInfo;
  LogicalPosition visUnawarePos=new LogicalPosition(myLogicalCaret.line,myLogicalCaret.column);
  setCurrentLogicalCaret(visUnawarePos);
  myVisibleCaret=myEditor.logicalToVisualPosition(myLogicalCaret);
  updateVisualLineInfo();
  myEditor.updateCaretCursor();
  requestRepaint(oldInfo);
}

void updateVisualPosition ( ) { VerticalInfo oldInfo = myCaretInfo ; LogicalPosition visUnawarePos = new LogicalPosition ( myLogicalCaret . line , myLogicalCaret . column ) ; setCurrentLogicalCaret ( visUnawarePos ) ; myVisibleCaret = myEditor . logicalToVisualPosition ( myLogicalCaret ) ; updateVisualLineInfo ( ) ; myEditor . updateCaretCursor ( ) ; requestRepaint ( oldInfo ) ; }
recalculates caret visual position without changing its logical position ( called when soft wraps are changing )
