Index: DocumentLine.java =================================================================== RCS file: /cvs/openide/src/org/openide/text/DocumentLine.java,v retrieving revision 1.53 diff -u -r1.53 DocumentLine.java --- DocumentLine.java 25 Mar 2004 16:04:55 -0000 1.53 +++ DocumentLine.java 19 May 2004 22:49:53 -0000 @@ -197,16 +197,14 @@ } public int hashCode () { - return pos.getCloneableEditorSupport ().hashCode (); + return pos.hashCode (); } public boolean equals (Object o) { if (o instanceof DocumentLine) { DocumentLine dl = (DocumentLine)o; - if (dl.pos.getCloneableEditorSupport () == pos.getCloneableEditorSupport ()) { - return dl.getLineNumber () == getLineNumber (); + return pos.equals(dl.pos); } - } return false; }