Set the current caret visual location. This can be used when
moving between lines that have uneven end positions (such as
when caret up or down actions occur). If text flows
left-to-right or right-to-left the x-coordinate will indicate
the desired navigation location for vertical movement. If
the text flow is top-to-bottom, the y-coordinate will indicate
the desired navigation location for horizontal movement.
Parameters:
-
p - the Point to use for the saved position. This
can be null to indicate there is no visual location.