1.1 --- a/xslt.core/src/org/netbeans/modules/xslt/core/text/completion/XSLTCompletionQuery.java Tue Jul 08 16:41:04 2008 +0400
1.2 +++ b/xslt.core/src/org/netbeans/modules/xslt/core/text/completion/XSLTCompletionQuery.java Tue Jul 08 20:14:05 2008 +0400
1.3 @@ -119,25 +119,4 @@
1.4 public JEditorPane getSourceEditorComponent() {
1.5 return srcEditorPane;
1.6 }
1.7 -
1.8 - /*
1.9 - private JEditorPane getXsltSourceEditor() {
1.10 - try {
1.11 - XSLTDataEditorSupport editorSupport =
1.12 - XSLTCompletionUtil.getXsltDataEditorSupport();
1.13 - if (editorSupport == null) return null;
1.14 -
1.15 - //*** Attention: method "editorSupport.getOpenedPanes()"
1.16 - //*** can be invoked inside AWT thread ONLY !!!
1.17 - JEditorPane[] editorPanes = editorSupport.getOpenedPanes();
1.18 - if ((editorPanes == null) || (editorPanes.length < 1)) return null;
1.19 -
1.20 - return editorPanes[0];
1.21 - } catch(Exception e) {
1.22 - Logger logger = Logger.getLogger(XSLTCompletionUtil.class.getName());
1.23 - logger.log(Level.INFO, null, e);
1.24 - return null;
1.25 - }
1.26 - }
1.27 - */
1.28 }
1.29 \ No newline at end of file