views:

234

answers:

1

Hey.
I'm trying to catch all user text navigation events (selection changes) in the text editor to update a tool window (contextual to the current position).

The "LineChanged" event under TextEditorEvents only fires on updates, and I did not manage to find any other event. Anyone knows of such?

Arielr

A: 

Should have looked there first:
http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/7db1fa83-41f3-4261-a68b-fc10a388f684/

Basically - there's no way to catch that event (and polling for the text changes was provided as an alternate option). Maybe 2010 will provide that API.

Arielr