diff options
author | Eike Rathke <er@openoffice.org> | 2002-01-18 15:21:12 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2002-01-18 15:21:12 +0000 |
commit | 37bfcaf3fd38bb27913cbdbfa07d23716fb0fec2 (patch) | |
tree | 0e63542181943de2f65f00124986d7a8ad912824 /offapi/com/sun/star/util/XTextSearch.idl | |
parent | f063d5f2999d81094c1490a48e2731355360563e (diff) |
#96692# changed description of SearchResult to reflect reality
Diffstat (limited to 'offapi/com/sun/star/util/XTextSearch.idl')
-rw-r--r-- | offapi/com/sun/star/util/XTextSearch.idl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/offapi/com/sun/star/util/XTextSearch.idl b/offapi/com/sun/star/util/XTextSearch.idl index 42bf77d671e3..7f05a6457f75 100644 --- a/offapi/com/sun/star/util/XTextSearch.idl +++ b/offapi/com/sun/star/util/XTextSearch.idl @@ -2,9 +2,9 @@ * * $RCSfile: XTextSearch.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: mi $ $Date: 2001-11-15 17:18:28 $ + * last change: $Author: er $ $Date: 2002-01-18 16:21:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -178,8 +178,9 @@ struct SearchResult { For example: if you search "X" in the text "-X-" the offset are: for forward: start = 1, end = 2 - for backward: start = 1, end = 0 - The startOffset is always inclusive, the endOffset allways exclusive + for backward: start = 2, end = 1 + Forward, the startOffset is inclusive, the endOffset exclusive. + Backward, the startOffset is exclusive, the endOffset inclusive. For regular expressions it can be greater than 1. If the value is 1, startoffset[0] and endoffset[0] points to the matching sub string |