This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
dev build 200501021900 JDK 1.5_01 I have the following code sniplet: undoManager = new UndoManager() { public void undoableEditHappened(UndoableEditEvent e) { super.undoableEditHappened(e); applyButton.setEnabled(this.canUndo()); } }; when I place the cursor on "this.canUndo()" and try to code-complete "this" it thinks I am "this" refers to the enclosing class instead of to the UndoManager object I am constructing.
*** This issue has been marked as a duplicate of 3549 ***