Condividi tramite


__VSFINDOPTIONS Enumeration

Specifies text find options.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Dichiarazione
Public Enumeration __VSFINDOPTIONS
public enum __VSFINDOPTIONS
public enum class __VSFINDOPTIONS
type __VSFINDOPTIONS
public enum __VSFINDOPTIONS

Members

Member name Description
FR_OptionMask Options. FR_MatchCase | FR_WholeWord | FR_Hidden | FR_Backwards | FR_Selection | FR_Block | FR_KeepCase | FR_SubFolders | FR_KeepOpen | FR_NameOnly.
FR_MatchCase Match case in search.
FR_WholeWord Match whole word.
FR_Hidden Search hidden text.
FR_Backwards Search in reverse
FR_Selection Search selection only.
FR_Block Current procedure/block
FR_KeepCase Keep case on replace.
FR_SubFolders Search subfolders.
FR_KeepOpen Keep modified files open.
FR_NameOnly Display filename only.
FR_SyntaxMask FR_Plane | FR_Wildcard | FR_RegExpr.
FR_Plain Match exact string.
FR_Wildcard Match wild cards.
FR_RegExpr Match regular expressions.
FR_TargetMask FR_Document | FR_OpenDocuments | FR_Files | FR_Project | FR_Solution.
FR_Document Search current document
FR_OpenDocuments Search open documents.
FR_Files Find in files.
FR_Project Find in project.
FR_Solution Find in solution.
FR_ActionMask Actions. FR_MarkAll | FR_Find | FR_FindAll | FR_Replace | FR_ReplaceAll.
FR_MarkAll Mark all matches.
FR_Find Find next.
FR_FindAll Find all (bulk find)
FR_Replace Replace text found.
FR_ReplaceAll Replace all text found.
FR_InternalMask Internal options (no UI) FR_ResetPosition | FR_FromStart | FR_OneMatchPerLine | FR_Report | FR_SelectionDefault
FR_ResetPosition Find new.
FR_FromStart Search from beginning of doc.
FR_OneMatchPerLine Return only one match per line (bulk find).
FR_Report Generate a results list.
FR_SelectionDefault GetCapabilities: force selection.
FR_BlockThread Blocks the thread when doing a search.
FR_NoFind Suppress find.
FR_CommonOptions FR_MatchCase | FR_WholeWord | FR_Hidden | FR_KeepCase
FR_DocOptionSet FR_CommonOptions | FR_Backwards | FR_Selection | FR_Block
FR_FIFOptionSet FR_CommonOptions | FR_SubFolders | FR_KeepOpen | FR_NameOnly
FR_OptionSet FR_CommonOptions | FR_Backwards | FR_Selection | FR_Block
FR_SyntaxSet FR_Plain | FR_Wildcard | FR_RegExpr
FR_Capabilities FR_OptionSet | FR_SyntaxSet | FR_ActionMask | FR_SelectionDefault
FR_All All options.
FR_None No options.
FR_Procedure Same as FR_Block.
FR_Pattern Same as FR_Wildcard.

Remarks

COM Signature

From textfind.idl:

enum __VSFINDOPTIONS {
   FR_OptionMask       =   0x00000FFF,
   FR_MatchCase        =   0x00000001,
   FR_WholeWord        =   0x00000002,
   FR_Hidden           =   0x00000004,
   FR_Backwards        =   0x00000008,
   FR_Selection        =   0x00000010,
   FR_Block            =   0x00000020,
   FR_KeepCase         =   0x00000040,
   FR_SubFolders       =   0x00000100,
   FR_KeepOpen         =   0x00000200,
   FR_NameOnly         =   0x00000400,

   FR_SyntaxMask       =   0x00003000,
   FR_Plain            =   0x00000000,
   FR_Wildcard         =   0x00001000,
   FR_RegExpr          =   0x00002000,

   FR_TargetMask       =   0x00070000,
   FR_Document         =   0x00010000,
   FR_OpenDocuments    =   0x00020000,
   FR_Files            =   0x00030000,
   FR_Project          =   0x00040000,
   FR_Solution         =   0x00050000,

   FR_ActionMask       =   0x00F80000,
   FR_MarkAll          =   0x00080000,
   FR_Find             =   0x00100000,
   FR_FindAll          =   0x00200000,
   FR_Replace          =   0x00400000,
   FR_ReplaceAll       =   0x00800000,

   FR_InternalMask     =   0x7F000000,
   FR_ResetPosition    =   0x01000000,
   FR_FromStart        =   0x02000000,
   FR_OneMatchPerLine  =   0x04000000,
   FR_Report           =   0x08000000,
   FR_SelectionDefault =   0x10000000,

   FR_NoFind           =   0x80000000,

   // Common options for all targets
   FR_CommonOptions    = (FR_MatchCase|FR_WholeWord|FR_Hidden|FR_KeepCase),

   // Options for single documents
   FR_DocOptionSet     = (FR_CommonOptions|FR_Backwards|FR_Selection|FR_Block),

   // Options for multifile targets
   FR_FIFOptionSet     = (FR_CommonOptions|FR_SubFolders|FR_KeepOpen|FR_NameOnly),

   // Option bits for all targets
   FR_OptionSet        = (FR_DocOptionSet|FR_FIFOptionSet),

   // Set of possible syntax options
   FR_SyntaxSet        = (FR_Plain|FR_Wildcard|FR_RegExpr),

   FR_Capabilities     = (FR_OptionSet|FR_SyntaxSet|FR_ActionMask|FR_SelectionDefault),

   FR_All              =   0x7FFFFFFF,
   FR_None             =   0x00000000,
   // backward compatability aliases
   FR_Procedure        =   FR_Block,
   FR_Pattern          =   FR_Wildcard
};
typedef DWORD VSFINDOPTIONS;

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace