Export (0) Print
Expand All
Expand Minimize

__VSFINDOPTIONS Enumeration

Specifies text find options

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

public enum __VSFINDOPTIONS
public enum __VSFINDOPTIONS
public enum __VSFINDOPTIONS

 Member nameDescription
FR_ActionMaskActions. FR_MarkAll | FR_Find | FR_FindAll | FR_Replace | FR_ReplaceAll. 
FR_AllAll options. 
FR_BackwardsSearch in reverse 
FR_BlockCurrent procedure/block 
FR_BlockThread 
FR_CapabilitiesFR_OptionSet | FR_SyntaxSet | FR_ActionMask | FR_SelectionDefault 
FR_CommonOptionsFR_MatchCase | FR_WholeWord | FR_Hidden | FR_KeepCase 
FR_DocOptionSetFR_CommonOptions | FR_Backwards | FR_Selection | FR_Block 
FR_DocumentSearch current document 
FR_FIFOptionSetFR_CommonOptions | FR_SubFolders | FR_KeepOpen | FR_NameOnly 
FR_FilesFind in files. 
FR_FindFind next. 
FR_FindAllFind all (bulk find) 
FR_FromStartSearch from beginning of doc. 
FR_HiddenSearch hidden text. 
FR_InternalMaskInternal options (no UI) FR_ResetPosition | FR_FromStart | FR_OneMatchPerLine | FR_Report | FR_SelectionDefault 
FR_KeepCaseKeep case on replace. 
FR_KeepOpenKeep modified files open. 
FR_MarkAllMark all matches. 
FR_MatchCaseMatch case in search. 
FR_NameOnlyDisplay filename only. 
FR_NoFindSuppress find. 
FR_NoneNo options. 
FR_OneMatchPerLineReturn only one match per line (bulk find). 
FR_OpenDocumentsSearch open documents. 
FR_OptionMaskOptions. FR_MatchCase | FR_WholeWord | FR_Hidden | FR_Backwards | FR_Selection | FR_Block | FR_KeepCase | FR_SubFolders | FR_KeepOpen | FR_NameOnly. 
FR_OptionSetFR_CommonOptions | FR_Backwards | FR_Selection | FR_Block 
FR_PatternSame as FR_Wildcard. 
FR_PlainMatch exact string. 
FR_ProcedureSame as FR_Block. 
FR_ProjectFind in project. 
FR_RegExprMatch regular expressions. 
FR_ReplaceReplace text found. 
FR_ReplaceAllReplace all text found. 
FR_ReportGenerate a results list. 
FR_ResetPositionFind new. 
FR_SelectionSearch selection only. 
FR_SelectionDefaultGetCapabilities: force selection. 
FR_SolutionFind in solution. 
FR_SubFoldersSearch subfolders. 
FR_SyntaxMaskFR_Plane | FR_Wildcard | FR_RegExpr. 
FR_SyntaxSetFR_Plain | FR_Wildcard | FR_RegExpr 
FR_TargetMaskFR_Document | FR_OpenDocuments | FR_Files | FR_Project | FR_Solution. 
FR_WholeWordMatch whole word. 
FR_WildcardMatch wild cards. 

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;

Community Additions

ADD
Show:
© 2014 Microsoft