I need to determine what the user started to edit a file in an editor. How it can be implemented?
You need to subscribe to the FileEditorManagerListener.FILE_EDITOR_MANAGER topic and handle the fileOpened() notification. You can find a number of usage examples for this in the CE source code.
-- Dmitry Jemerov Development Lead JetBrains, Inc. http://www.jetbrains.com/ "Develop with Pleasure!"
Hello Alex,
You need to subscribe to the FileEditorManagerListener.FILE_EDITOR_MANAGER
topic and handle the fileOpened() notification. You can find a number of
usage examples for this in the CE source code.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Dmitriy
Thanks, but this is not exactly what I need, I need to know that the user is edit file and not only open, is it possible?
Thanks, Alex
Hello Alex,
What exactly do you want to achieve?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"