[texworks] New scripting property: TW.target.cursorPosition

Stefan Löffler st.loeffler at gmail.com
Sun Aug 19 15:13:27 CEST 2012


Hi,

for the script authors out there: I just added the new property
"TW.target.cursorPosition" in r1019. What it does should be quite
obvious from its name, but there is a short summary in the commit
message (http://code.google.com/p/texworks/source/detail?r=1019).
Note: it's a read-only property. To change the cursor position, use
TW.target.selectRange as before.

HTH
Stefan


More information about the texworks mailing list