Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2007-09-25 23:19:22 +0000
committercbateman2007-09-25 23:19:22 +0000
commit806bd4de02d51ed4a3053f1fdc5357832cca77b8 (patch)
treec237910ec1f527b922096eb87825fdd63a96f4c6
parent64d1bc744fdc04491b0bc9b698b9786211073a82 (diff)
downloadwebtools.jsf-806bd4de02d51ed4a3053f1fdc5357832cca77b8.tar.gz
webtools.jsf-806bd4de02d51ed4a3053f1fdc5357832cca77b8.tar.xz
webtools.jsf-806bd4de02d51ed4a3053f1fdc5357832cca77b8.zip
Ensure viewer listener array is initialized before caretUpdater.
-rw-r--r--jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/viewer/HTMLGraphicalViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/viewer/HTMLGraphicalViewer.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/viewer/HTMLGraphicalViewer.java
index f297ada08..7080136b5 100644
--- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/viewer/HTMLGraphicalViewer.java
+++ b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/viewer/HTMLGraphicalViewer.java
@@ -71,8 +71,8 @@ import org.w3c.dom.Node;
// CaretUpdater is not fully initialized yet, since this time the
// viewport is not
// initialized yet, and we need add listener to range model change.
+ _htmlViewerListeners = new ArrayList<IHTMLGraphicalViewerListener>();
_caretUpdater = new CaretUpdater(this);
- _htmlViewerListeners = new ArrayList<IHTMLGraphicalViewerListener>();
}
/**

Back to the top