# com.bea.ide.sourceeditor.driver
ILanguageDriver.IAutoFill Interface

public static interface ILanguageDriver.IAutoFill

Object describing an auto-fill. Each auto-fill has three components, the replacement text, a replacement range and the final caret position.

Enclosing interface
  `ILanguageDriver`

## Method Summary

`public int` | `getCaretPosition`() Position the caret should be left at after the auto-fill range has been replaced.
`public `Range`` | `getRange`() Auto-fill replacement range.
`public `String`` | `getText`() Returns the auto-fill text.

## Method Detail

### getCaretPosition() Method

    public int getCaretPosition()

Position the caret should be left at after the auto-fill range has been replaced.

#### Returns

Caret position.

### getRange() Method

    public Range getRange()

Auto-fill replacement range.

#### Returns

Range to be replaced with auto-fill text.

### getText() Method

    public String getText()

Returns the auto-fill text.

#### Returns

Auto-fill text.