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