cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Detecting keyboard events

IlyaYeroshenko
1-Newbie

Detecting keyboard events

Hello!


I use Epic 5.1 and Arbortext Editor 5.2. I use Java and ACL in order to create my plugin (most of it is written in Java).


I need to detect that the cursor is out of some range when the keys are pressed. So, I need to write a callback within my *.acl file or in Java. I've made a mouse click handler, but the cursor can be moved via keyboard too.


Please, give me some piece of advice.

1 REPLY 1

Hi Ilya--



You might be able to handle this using the ACL context_changed document
callback. This callback detects changes in caret location, whether due
to mouse clicks or keypresses. Look up doc_add_callback() in the
Arbortext Help Center for details about this callback.



--Clay





Clay Helberg

Senior Consultant

TerraXML


Top Tags