NetBeans Text API


Text API
org.openide.text The IDE is able to integrate multiple editors for different content types and mechanically access their content.


What is New (see all changes)?

Use Cases

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...
Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
EditorAPIExportedOfficial .../org/openide/text/doc-files/api.html

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?

Property hold instance of
IndentEngine and this indentation engine is used instead of system one.


In order to fix
issue 51872 the openide needs a way how to be notified about change of a document outside of its Document lock. DocumentListeners are always notified under the lock, so a special contract has been established (since version 5.3) by registering an instance of VetoableListener by calling putProperty ("modificationListener", listener). The NetBeans aware documents are adviced to honor this property and call the listener outside of the document lock when a modification is made. The actual contract of the call can be seen in in methods insertString and remove.

Implementation Details

Read more about the implementation in the answers to architecture questions.


Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.