Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jface.text.rules
Interface IWordDetector

public interface IWordDetector

Defines the interface by which `WordRule` determines whether a given character is valid as part of a word in the current context.

Method Summary
`boolean` | `isWordPart(char c)` Returns whether the specified character is valid as a subsequent character in a word.
`boolean` | `isWordStart(char c)` Returns whether the specified character is valid as the first character in a word.

Method Detail

### isWordStart

    public boolean isWordStart(char c)

  Returns whether the specified character is valid as the first character in a word.

  Parameters:
    `c` - the character to be checked
  Returns:
    `true` is a valid first character in a word, `false` otherwise

### isWordPart

    public boolean isWordPart(char c)

  Returns whether the specified character is valid as a subsequent character in a word.

  Parameters:
    `c` - the character to be checked
  Returns:
    `true` if the character is a valid word part, `false` otherwise

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.