Detecting keyboard events
Oct 30, 2012
10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2012
10:13 AM
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
Oct 30, 2012
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 30, 2012
10:24 AM
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
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
