TerEngageCaret
Engage the caret manually.
boolean TerEngageCaret( AtCursorLoc)
boolean AtCursorLoc; | Set to true to engage the caret at the current 'cursor' location. Set to false to engage the caret at the current 'caret' location. |
Description: The caret position indicates the text insertion point, whereas the cursor position indicates a position within currently visible text on the screen. Normally, these positions are the same. However, when the user clicks on the scrollbar, the caret can become disengaged from the cursor position. The editor will reengage the caret automatically when the user conducts any text editing operation. This function allows you to engage the caret manually. This function does not have any effect if the caret is already engaged.
Return Value: The function returns true when successful.