Overview

# Introduction

This document lists changes made to the Editor Code Completion API.

# Index of APIs

- Editor Code Completion API

# Incompatible changes by date

Fuller descriptions of all changes can be found below (follow links).

Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.

# All changes by date

- (Nov 8 '05) Addition of CompletionResultSet.setWaitText()
- (Nov 8 '05) Adddition of CompletionItem.getInsertPrefix()
- (Nov 8 '05) Semantic change of CompletionTask.refresh()
- (Jul 27 '05) Editor Code Completion API created

# Changes by version

These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled `1.20`, your manifest should contain in its main attributes the line:

    OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor.completion/1 > 1.20

- (1.5) Addition of CompletionResultSet.setWaitText()
- (1.4) Adddition of CompletionItem.getInsertPrefix()
- (1.3) Semantic change of CompletionTask.refresh()
- (1.1) Editor Code Completion API created

# Changes by affected class

# Details of all changes by API and date

## Editor Code Completion API

### Addition of CompletionResultSet.setWaitText()

Nov 8 '05; API spec. version: 1.5; made by: mmetelka; issues: #68235

`void CompletionResultSet.setWaitText(String waitText)` was added to allow customization of the text in the label displayed if the completion query results are not computed in certain timeout.

### Adddition of CompletionItem.getInsertPrefix()

Nov 8 '05; API spec. version: 1.4; made by: mmetelka; issues: #68235

`CharSequence CompletionItem.getInsertPrefix()` was added.

### Semantic change of CompletionTask.refresh()

Nov 8 '05; API spec. version: 1.3; made by: mmetelka; issues: #68235

CompletionTask.refresh(CompletionResultSet resultSet) now allows `null` parameter.
`void AsyncCompletionQuery.preQueryUpdate(JTextComponent component)` was added to reflect that in AsyncCompletionTask.

### Editor Code Completion API created

Jul 27 '05; API spec. version: 1.1; made by: mmetelka; issues: #59388

Editor Code Completion API was created.

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