Author: sdzmitrovich
Date: 2008-04-04 05:37:57 -0400 (Fri, 04 Apr 2008)
New Revision: 7319
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
Log:
code adjustment
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-04-04
09:37:14 UTC (rev 7318)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-04-04
09:37:57 UTC (rev 7319)
@@ -271,7 +271,7 @@
if (selection.getFocusNode() != null) {
if ((selection.getFocusNode().getNodeType() != nsIDOMNode.TEXT_NODE)
- && (selection.getFocusOffset() != 0) &&
(selection.getIsCollapsed())) {
+ && (selection.getFocusOffset() != 0)) {
return selection.getFocusNode().getChildNodes().item(
selection.getFocusOffset() - 1);
Show replies by date