[
https://issues.apache.org/jira/browse/UIMA-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128823#comment-13128823
]
Peter Klügl commented on UIMA-2260:
-----------------------------------
I only get a TextSelection if a text span is selected, but not, if just a click
moved the caret. Sorry, but I think that doesn't solve my problem.
Nevertheless, I would keep this functionality since I can make use of it with
other views.
I can solve my problem if I have access to AnnotationEditor.mCursorPosition.
Then I can listen to the StructuredSelection and then ask the editor about the
caret position. Can you add a getter?
> Let CAS Editor communicate text selection changes
> -------------------------------------------------
>
> Key: UIMA-2260
> URL: https://issues.apache.org/jira/browse/UIMA-2260
> Project: UIMA
> Issue Type: New Feature
> Components: CasEditor
> Affects Versions: 2.4.0SDK
> Reporter: Peter Klügl
> Assignee: Joern Kottmann
> Priority: Minor
> Fix For: 2.4.0SDK
>
>
> Let CAS Editor communicate text selection changes. Add some interface and
> listener structure if there is not one yet for the text selection event in
> the Annotation Editor. Views should be able to be notified also about simple
> text selection changes in addition to the annotation selection in the editor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira