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.

Bug 51441

Summary: Need a replacement for EditorSupport.openAt()
Product: platform Reporter: Jan Becicka <jbecicka>
Component: TextAssignee: Petr Nejedly <pnejedly>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 12331    

Description Jan Becicka 2004-11-12 08:57:47 UTC
EditorSupport is deprecated. I tried to find a
replacement for EditorSupport.openAt() but I
didn't find any. CloaneableEditorSupport has a
method openAt(), but it is unfortunately package
private.
Comment 1 Petr Nejedly 2004-11-25 09:49:20 UTC
This is small change: just changing CloneableEditorSupport.openAt from
final to final protected to allow calling from subclasses.

It is needed to offer the functionality implemented by deprecated
EditorSupport => to fix issue 12331.
Although the functionality can be achieved different way (Line cookie,
editor pane, ...) this is most straightforward and may allow
simplification in other modules as well (probably properties module)

The change is so small I'm not attaching the diff.


Comment 2 Petr Nejedly 2004-12-06 14:41:03 UTC
openide/openide-spec-vers.properties,v1.163
openide/api/doc/changes/apichanges.xml,v1.230
openide/src/org/openide/text/CloneableEditorSupport.java,v1.139
Comment 3 Jan Becicka 2005-03-18 12:41:43 UTC
V