public class PatternMatchEvent extends EventObject
TextConsole
.
Clients may instantiate this class.
IPatternMatchListener
,
TextConsole
,
Serialized Formsource
Constructor and Description |
---|
PatternMatchEvent(TextConsole console,
int matchOffset,
int matchLength)
Constructs a new pattern match event.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the length of the matched string.
|
int |
getOffset()
Returns the offset of the match within the document.
|
getSource, toString
public PatternMatchEvent(TextConsole console, int matchOffset, int matchLength)
console
- the console in which the match was foundmatchOffset
- the offset at which the match was foundmatchLength
- the length of the text that matched
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.