| EditActionSearchReplace Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory.EditScripts
The EditActionSearchReplace type exposes the following members.
| Name | Description | |
|---|---|---|
| EditActionSearchReplace | Initializes a new instance of the EditActionSearchReplace class |
| Name | Description | |
|---|---|---|
| ApplyToTarget |
If true, the S/R will be applied to the target segment. If false (default), it will
be applied to the source segment.
| |
| IgnoreCase |
Gets or sets a flag whether or not to apply the pattern matching in a case-insensitive manner. For literal searches,
some "intelligent" casing will be applied to the replacement. For regular expression searches,
see .Net's regex documentation how
case-insensitive S/R is handled.
| |
| PatternType |
Gets or sets the type of the pattern. When searching literal patterns, the replacement must also
be a literal pattern. When searching regular expression patterns, the replacement will
also be interpreted as a regular expression replacement pattern.
| |
| ReplacementPattern |
Gets or sets the replacement for the search pattern, if found.
| |
| SearchPattern |
Gets or sets the pattern to search. If this is a regular expression, it will later be compiled with
the CultureInvariant and
the IgnoreCase options (if the
IgnoreCase flag is set. No other regular expression flags will be applied.
|
| Name | Description | |
|---|---|---|
| Apply | (Overrides EditActionApply(TranslationUnit).) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Validate |
See Validate(IFieldDefinitions, Boolean). Always returns true for instances of this class.
(Overrides EditActionValidate(IFieldDefinitions, Boolean).) |