EditorFactory Members

Include Protected Members
Include Inherited Members

This class provides a default editor factory implementation that hosts the Visual Studio core editor.

The EditorFactory type exposes the following members.

Constructors

 

Name

Description

Public method

EditorFactory

Overloaded. Initializes a new instance of [EditorFactory].

Top

Methods

 

Name

Description

Public method

Close

Releases all service provides and sets the package object to nulla null reference (Nothing in Visual Basic).

Public method

CreateEditorInstance

Used by the EditorFactory class to create the Visual Studio core editor, an editor that supports data/view separation.

Public method

CreateEditorView

Creates a code window with the Visual Studio core editor.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Destructor for the EditorFactory class. (Overrides Object.Finalize().)

Public method

GetExtensions

Returns a list of file extensions registered for this editor factory.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLanguageService

Gets the GUID of the language service registered for this file extension under the registry key HKLM\Software\Microsoft\Visual Studio\8.0\Language Services\Extensions.

Public method

GetLanguageServiceGuid

gETs the language service GUID.

Protected method

GetPackage

Gets the Package object.

Public method

GetRegisteredEditor

Gets the GUID of the highest-priority editor registered for this extension. This will also pick up user-defined associations between file extensions and editors

Public method

GetRegisteredEditorInfo

Gets the [EditorFactory.EditorInfo] for the specified extension.

Protected method

GetSite

Gets the main service provider.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

GetUserDefinedEditor

Gets the GUID of the editor that the user has defined for this file extension.

Public method

IsOurFileFormat

Checks whether there is an editor that can handle this extension.

Public method

IsRegisteredExtension

Determines if a file extension is registered with this editor factory.

Public method

MapLogicalView

Maps a logical view to a physical view.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

SetSite

Sets the service provider.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

 

Name

Description

Public fieldStatic member

GuidVSBufferDetectLangSid

Gets a GUID value in IVsUserData that, when set to false, will stop the core editor for searching for a different language service.

Top

Properties

 

Name

Description

Public property

CodePagePrompt

Gets and sets flags to prompt user for an encoding on an open with specified codepage.

Top

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.Package Namespace