Skip navigation links
org.netbeans.modules.editor.util/1 1.87

Editor Utilities
Under Development

The module defines EditorUtilitiesAPI.

See: Description

Editor Utilities 
Package Description

The module defines EditorUtilitiesAPI.
The present clients are editor/lib and editor/fold modules.

What is New (see all changes)?

Use Cases


The GapList class is a java.util.List implementation similar to java.util.ArrayList but containing a gap in its underlying array. After a first modification at a particular index the subsequent modifications around that index are cheap.
The class is suitable for storage of any elements related to editing such as positions, elements, views etc.


The PriorityMutex is a simple mutex implementation allowing to find out that a priority thread (by default Event Dispatch Thread) is waiting to enter the mutex.
It's used e.g. in editor's view hierarchy or in editor fold hierarchy.


GapList-based element implementation suitable for line elements and any other branch element types.

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?
EditorUtilitiesAPIExportedUnder Development

Implementation Details

Where are the sources for the module?

The sources for the module are in the Apache Git repositories or in the GitHub repositories.

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?

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

Skip navigation links
org.netbeans.modules.editor.util/1 1.87