ISelectionListener Eclipse

I have added a selection listener to one of my Editors in Eclipse. In Eclipse versions 4.1 and 4.2 the selection listener works when I move my cursor with the arrow keys. No text actually has to be selected. In version 3.7 I actually have to select text for the listener to work properly. Was there a change between 3.7 and 4.1? How can I get the same functionality in 3.7?

Answers


I solved this issue. I removed the selection listener and added a caret listener to my editors. The caret listener appears to behave the same in 3.7, 4.1, and 4.2


Need Your Help

How to ignore a join when variable is null

sql sql-server-2008 tsql

I am having issues when I have multiple joins and when the variables passed to them are null. I'm wondering how to ignore the join when the value is empty. I thought I could do it like this, but t...

How to make GET and POST requests with socket_create() and custom headers?

php sockets rest restful-authentication

I'm working on a PHP script that needs to communicate with a service REST API interface and I have only access to socket_create(),socket_connect(),socket_write(),socket_read() and no cURL!