====== onCursorPosChange ====== Event of [[:scripting:api:frame-events:start|IFrameEvents]] ===== Description ===== Called when cursor position in active document changed ===== Parameters ===== * [[:scripting:api:text-view:start|ITextView]] **pView** * [[:scripting:api:position:start|IPosition]] **pPos** ===== Syntax ===== ==== JavaScript ==== Appplication.onCursorPosChange = function(pPos) { }; ==== Visual Basic Script ==== function onCursorPosChange(pPos) { } Appplication.onCursorPosChange = onCursorPosChange ==== C++ ==== HRESULT CFrameEvents::onCursorPosChange(ITextView* pView, IPosition* pPos) { } ===== See Also ===== [[:scripting:api:frame-events:start|IFrameEvents]] ~~NOTOC~~