Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.text 6.9.22
PREV NEXT | FRAMES NO FRAMES

# NetBeans Text API

See:
Description

Text API
org.openide.cookies |
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)?

- Oct 31 '05 Added CloneableEditorSupport.messageHtmlName method

  A `messageHtmlName` method has been added to CloneableEditorSupport to allow for display names with html tags. CloneableEditor uses this new method to set its html display name correctly. Also `DataEditorSupport` now overrides `messageHtmlName` to connect with `Node.getHtmlDisplayName`.

- Aug 9 '05 Added ActiveEditorDrop interface

  An `ActiveEditorDrop` interface has been added due to drag and drop callback support described at issue #61367

- Jul 22 '05 Added CloneableEditorSupport.wrapEditorComponent

  A `wrapEditorComponent` method has been added to CloneableEditorSupport allowing to wrap the editor component in another component.

- Jul 18 '05 Annotation type extended with `severity`, `custom_sidebar_color`, `browsable` and `priority` attributes

  Annotation type was extended with `severity`, `custom_sidebar_color`, `browsable` and `priority` attributes.

- Mar 21 '05 Added a new constant `Line.SHOW_TOFRONT`

  The new constant is used in the `EditorSupportLineSet` and brings editor's parent `Window` to be fronted above all other top-level windows.

### 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 Name | In/Out | Stability | Specified in What Document?
EditorAPI | Exported | Official | .../org/openide/text/doc-files/api.html

##### Group of property interfaces

Interface Name | In/Out | Stability | Specified in What Document?
indentEngine | Exported | Stable | Property hold instance of IndentEngine and this indentation engine is used instead of system one.
javax.swing.text.Document.modificationListener | Exported | Friend | 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. `DocumentListener`s 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 NbLikeEditorKit.java in methods `insertString` and `remove`.

### Implementation Details

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.text 6.9.22
PREV NEXT | FRAMES NO FRAMES

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.