UpdateCompletionFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies completion set flags.
This enumeration supports a bitwise combination of its member values.
public enum class UpdateCompletionFlags
public enum class UpdateCompletionFlags
enum UpdateCompletionFlags
[System.Flags]
public enum UpdateCompletionFlags
[<System.Flags>]
type UpdateCompletionFlags =
Public Enum UpdateCompletionFlags
- Inheritance
-
UpdateCompletionFlags
- Attributes
Fields
Name | Value | Description |
---|---|---|
GBM_SELECT | 1 | The returned index should be selected. |
UCS_NAMESCHANGED | 1 | Names or name count has changed. |
GBM_UNIQUE | 2 | The returned index is the only appropriate match. |
UCS_EXTENTCHANGED | 2 | Extent changed. |
CSF_CUSTOMMATCHING | 4 | Indicates that the language service handles custom completion matching of text typed by the user. Use IVsCompletionSet::GetBestMatch(String, Int32, Int32, UInt32) to manage selections. If you do not specify CSF_CUSTOMMATCHING, then the view handles matching text to the available options in the completion set. |
UCS_FLAGSCHANGED | 4 | Flags have changed. |
CSF_CUSTOMCOMMIT | 8 | Indicates that the language service handles how an item selected from the completion box is entered into the text editor. Use OnCommit(String, Int32, Int32, UInt16, String) to commit completions. |
UCS_COMPLETEWORD | 8 | Attempt word completion. |
CSF_HAVEDESCRIPTIONS | 16 | Provides a tip for items in the completion box. Use GetDescriptionText(Int32, String) to provide text for at least some of the entries. |
CSF_INITIALEXTENTKNOWN | 32 | Indicates that the language service knows where on a line it wants to display items, and where the word boundaries are. Use GetInitialExtent(Int32, Int32, Int32) to determine the initial word extent. |
CSF_NOCASEMATCHING | 64 | Do not apply case sensitive matching. |
CSF_NOCASEUNIQUENESS | 128 | Do not apply case or character matching to determine uniqueness (for word completion). For example, "WEAR" could be matched to "year" using this setting, if "year" was the closest character match. |
Remarks
UCS_* flags are passed to UpdateCompletionStatus.
CSF_* flags are returned from GetFlags.
GBM_* flags are returned from GetBestMatch.
COM Signature
From textmgr.idl: