Position Markers Category

[Top]  [Chapter]  [Previous]  [Next]

Methods to temporarily save cursor position


The markers can be used to save the position of the cursor temporarily so you can return to that position without any delay. Markers will not change the text and do not survive load&save operations.


Most insert methods adjust the markers automatically, so they work better than simply storing and assigning the "CPPosition".






If you just need to move back or forward in the text please also do not use "CPPosition" but one of these methods from IWPTextCursor:



[idh_cat_markers.htm]    Copyright © 2007 by WPCubed GmbH