You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by no...@apache.org on 2010/06/18 10:31:31 UTC
svn commit: r955883 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java
Author: noelgrandin
Date: Fri Jun 18 08:31:31 2010
New Revision: 955883
URL: http://svn.apache.org/viewvc?rev=955883&view=rev
Log:
remove TODO's - not likely to be necessary
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java?rev=955883&r1=955882&r2=955883&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java Fri Jun 18 08:31:31 2010
@@ -219,7 +219,6 @@ public class TextArea extends Container
@Override
public void offsetChanged(Node node, int previousOffset) {
- // @TODO if a ComponentNode moved around, we need to change it's position in the list
}
@Override
@@ -250,7 +249,6 @@ public class TextArea extends Container
public void nodeInserted(Node node, int offset) {
Node descendant = document.getDescendantAt(offset);
if (descendant instanceof ComponentNode) {
- // @TODO need to insert this at the correct index
ComponentNode componentNode = (ComponentNode) descendant;
componentNode.getComponentNodeListeners().add(componentNodeListener);
TextArea.super.add(componentNode.getComponent());