共用方式為


LANGPREFERENCES Struct

Definition

Used to communicate user preferences with the text manager, views, and language services. View settings follow the text manager's settings unless a specific set of forced settings are specified when Initialize(IVsTextLines, IntPtr, UInt32, INITVIEW[]) is called.

public value class LANGPREFERENCES
struct LANGPREFERENCES
public struct LANGPREFERENCES
type LANGPREFERENCES = struct
Public Structure LANGPREFERENCES
Inheritance
LANGPREFERENCES

Fields

fAutoListMembers

Determines whether a proposed list of members is produced on the fly.

fAutoListParams

Determines whether a proposed list of parameters is produced on the fly.

fDropdownBar

Determines whether language services support the dropdown or navigation bar.

fHideAdvancedAutoListMembers

Hide advanced members. This parameter is irrelevant if the fAutoListMembers parameter is set to false.

fHotURLs

Allows for single-click URL navigation.

fInsertTabs

Determines whether the tab character or spaces are inserted for a tab.

fLineNumbers

Determines whether line numbers are shown in the selection margin.

fShowCompletion

Determines whether statement completion is set through the user interface.

fShowSmartIndent

Determines whether the smart indent option is set through the user interface.

fTwoWayTreeview

Determines whether the tree view is shown.

fVirtualSpace

Determines whether virtual space navigation and selection are allowed.

fWordWrap

Determines whether word wrap occurs.

guidLang

Specifies the Language service GUID.

IndentStyle

Specifies no indenting, block indenting, or smart indenting.

szFileType

Specifies the file type.

uIndentSize

Limit of MAX_EDITOR_TAB_SIZE.

uTabSize

Limit of MAX_EDITOR_TAB_SIZE.

Applies to