Compartir a través de


__VSFINDOPTIONS Enum

Definition

Specifies text find options.

public enum class __VSFINDOPTIONS
public enum class __VSFINDOPTIONS
enum __VSFINDOPTIONS
public enum __VSFINDOPTIONS
type __VSFINDOPTIONS = 
Public Enum __VSFINDOPTIONS
Inheritance
__VSFINDOPTIONS

Fields

Name Value Description
FR_NoFind -2147483648

Suppress find.

FR_None 0

No options.

FR_Plain 0

Match exact string.

FR_MatchCase 1

Match case in search.

FR_WholeWord 2

Match whole word.

FR_Hidden 4

Search hidden text.

FR_Backwards 8

Search in reverse

FR_Selection 16

Search selection only.

FR_Block 32

Current procedure/block

FR_Procedure 32

Same as FR_Block.

FR_KeepCase 64

Keep case on replace.

FR_CommonOptions 71

FR_MatchCase | FR_WholeWord | FR_Hidden | FR_KeepCase

FR_DocOptionSet 127

FR_CommonOptions | FR_Backwards | FR_Selection | FR_Block

FR_SubFolders 256

Search subfolders.

FR_KeepOpen 512

Keep modified files open.

FR_NameOnly 1024

Display filename only.

FR_FIFOptionSet 1863

FR_CommonOptions | FR_SubFolders | FR_KeepOpen | FR_NameOnly

FR_OptionSet 1919

FR_CommonOptions | FR_Backwards | FR_Selection | FR_Block

FR_OptionMask 4095

Options. FR_MatchCase | FR_WholeWord | FR_Hidden | FR_Backwards | FR_Selection | FR_Block | FR_KeepCase | FR_SubFolders | FR_KeepOpen | FR_NameOnly.

FR_Pattern 4096

Same as FR_Wildcard.

FR_Wildcard 4096

Match wild cards.

FR_RegExpr 8192

Match regular expressions.

FR_SyntaxMask 12288

FR_Plane | FR_Wildcard | FR_RegExpr.

FR_SyntaxSet 12288

FR_Plain | FR_Wildcard | FR_RegExpr

FR_Document 65536

Search current document

FR_OpenDocuments 131072

Search open documents.

FR_Files 196608

Find in files.

FR_Project 262144

Find in project.

FR_Solution 327680

Find in solution.

FR_TargetMask 458752

FR_Document | FR_OpenDocuments | FR_Files | FR_Project | FR_Solution.

FR_MarkAll 524288

Mark all matches.

FR_Find 1048576

Find next.

FR_FindAll 2097152

Find all (bulk find)

FR_Replace 4194304

Replace text found.

FR_ReplaceAll 8388608

Replace all text found.

FR_ActionMask 16252928

Actions. FR_MarkAll | FR_Find | FR_FindAll | FR_Replace | FR_ReplaceAll.

FR_ResetPosition 16777216

Find new.

FR_FromStart 33554432

Search from beginning of doc.

FR_OneMatchPerLine 67108864

Return only one match per line (bulk find).

FR_Report 134217728

Generate a results list.

FR_SelectionDefault 268435456

GetCapabilities: force selection.

FR_Capabilities 284702591

FR_OptionSet | FR_SyntaxSet | FR_ActionMask | FR_SelectionDefault

FR_BlockThread 536870912

Blocks the thread when doing a search.

FR_InternalMask 2130706432

Internal options (no UI) FR_ResetPosition | FR_FromStart | FR_OneMatchPerLine | FR_Report | FR_SelectionDefault

FR_All 2147483647

All options.

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;  

Applies to