The module defines EditorUtilitiesAPI.
The present clients are editor/lib and editor/fold modules.
to escape text to html.
to check for invalid bounds of compared blocks.
DocumentUtilities.removePropertyChangeListener(Document, PropertyChangeListener) in order
to support listening on document property changes.
Adding DocumentUtilities.getDocumentTimestamp(Document) to provide access to documents' timestamp property.
Adding DocumentUtilities.getDocumentVersion(Document) to provide access to documents' version property.
The GapList class is a
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.
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on May 24 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.