True WYSIWYG LaTeX System
Windows     Mac     Linux  

Topic Messages

2017/08/09 10:49:28 UTC
SUNDAR    
get cursor position

I have a perl script to update the *TEX file which is in BaKoMa Editor and I need to get the cursor position in BaKoMa editor hence How can I get the cursor position or line number and column number.
2017/08/09 12:20:44 UTC
Basil Malyshev    

getcursor - returns on stack line col of current buffer.
computelinecol - gets buffer line col from stack and returns file (TeX) line col on stack.

NOTES:
All line and col are zero based.

So to get current file line/col on stack just call:

getcursor computelinecol
2017/08/09 13:48:17 UTC
SUNDAR    

Hi Basil Malyshev, Thanks for your information. We will check and let you know our concern on the same.

Notifications

You are already subscribed for notification about changes in this thread.

You can add own message by below form:

To add comment you must be signed at Support page.

Go to see list of topics