|
From: Hoyt,Jeffrey C. <jc...@mi...> - 2003-12-29 14:05:40
|
I am trying to create a plugin that will help with resolving CVS conflicts. The plugin splits the pane vertically and shows your version in the left pane and the server version on the right hand side. I'd like to highlight the conflict areas so I can automate resolution (e.g., type 'r' to keep the server vesion), but I am having difficulties getting the focuses correct. How do I get the TextArea of an inactive EditPane, or change which EditPane is active? EditPane.getTextArea() always seems to return the JEditTextArea of the active EditPane (the same as View.getTextArea(). Anybody have any pointers? I can check the code into CVS if anyone want's a look and is sure the plugin is worthy ;o) Thanks, Jeff -- Jeffrey Hoyt The MITRE Corporation Database Technology SW Engineer 703-758-8143 |