Package ca.cgjennings.ui.textedit
Class CodeEditorBase.Result
- java.lang.Object
-
- ca.cgjennings.ui.textedit.CodeEditorBase.Result
-
- Enclosing class:
- CodeEditorBase
public static class CodeEditorBase.Result extends java.lang.Object
The result of a search or replace operation.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
found
True if a result was found or replaced.int
matchCount
The number of matches (will be 0 or 1 unless the result of a replace all.boolean
wasForward
True if the search direction was forward.boolean
wrapped
True if the search wrapped past the start or end of the document.
-
-
-
Field Detail
-
found
public final boolean found
True if a result was found or replaced.
-
matchCount
public final int matchCount
The number of matches (will be 0 or 1 unless the result of a replace all.
-
wrapped
public final boolean wrapped
True if the search wrapped past the start or end of the document.
-
wasForward
public final boolean wasForward
True if the search direction was forward.
-
-