C# Class SIL.FieldWorks.FwCoreDlgs.ReverseFindCollectorEnv

The current implementation doesn't work for different styles, tags, and WSs that are applied by the VC.
Inheritance: FindCollectorEnv
Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
ReverseFindCollectorEnv ( IVwViewConstructor vc, ISilDataAccess sda, int hvoRoot, int frag, IVwPattern vwPattern, IVwSearchKiller searchKiller ) : System

Initializes a new instance of the T:ReverseFindCollectorEnv class.

If the base environment is not null, it is used for various things, such as obtaining 'outer object' information.

Protected Methods

Method Description
DoFind ( ITsString tss, int tag ) : void

Does the find.

PassedLimit ( int tag, int testIch ) : bool

Check to see whether we have passed the limit so we can stop searching and not just go on and on endlessly in an infinite loop forever and ever until the user gets fed up and throws the computer out the window.

Method Details

DoFind() protected method

Does the find.
protected DoFind ( ITsString tss, int tag ) : void
tss ITsString The original string.
tag int Tag
return void

PassedLimit() protected method

Check to see whether we have passed the limit so we can stop searching and not just go on and on endlessly in an infinite loop forever and ever until the user gets fed up and throws the computer out the window.
protected PassedLimit ( int tag, int testIch ) : bool
tag int The tag of the property whose string is being searched
testIch int The character offset position being tested. May be -1 if /// no match was found in this string, in which case we treat it as being beyond the /// limit if this string is the string that contains the limit.
return bool

ReverseFindCollectorEnv() public method

Initializes a new instance of the T:ReverseFindCollectorEnv class.
If the base environment is not null, it is used for various things, such as obtaining 'outer object' information.
public ReverseFindCollectorEnv ( IVwViewConstructor vc, ISilDataAccess sda, int hvoRoot, int frag, IVwPattern vwPattern, IVwSearchKiller searchKiller ) : System
vc IVwViewConstructor The view constructor.
sda ISilDataAccess Date access to get prop values etc.
hvoRoot int The root object to display.
frag int The fragment.
vwPattern IVwPattern The find/replace pattern.
searchKiller IVwSearchKiller Used to interrupt a find/replace
return System