SimpleEditorView Class
The abstract class that represents a generalized simple editor view.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.SimpleEditorView
Microsoft.VisualStudio.Package.EditorControl
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
‘선언
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class SimpleEditorView _
Implements IOleCommandTarget, IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, _
IVsWindowPaneCommit, IOleComponent
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public abstract class SimpleEditorView : IOleCommandTarget,
IVsWindowPane, IVsToolboxUser, IVsStatusbarUser, IVsWindowPaneCommit, IOleComponent
The SimpleEditorView type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleEditorView | Initializes a new instance of SimpleEditorView for the supplied text buffer. |
Top
Properties
Name | Description | |
---|---|---|
Buffer | Gets or sets the text buffer. | |
ComponentId | Gets or sets the component ID of the editor view. | |
ComponentManager | Gets or sets the component manager for this view. | |
MenuCommandService | ||
Site | Gets or sets the IServiceProvider for this view. |
Top
Methods
Name | Description | |
---|---|---|
ClosePane | Closes the window and unregisters the component. | |
CommitPendingEdit | Commits any changes made to the file. | |
CreatePaneWindow | Creates the window. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Exec | Executes the specified command. | |
ExecCommand | Executes specific commands. | |
FContinueMessageLoop | Called during each iteration of the message loop. | |
FDoIdle | Called to do idle time tasks. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FPreTranslateMessage | Called to process or modify the message before it is translated and dispatched. | |
FQueryTerminate | Called when the component manager wishes to know whether the view is in a state in which it can terminate. | |
FReserved1 | Reserved method. | |
GetDefaultSize | Gets the default size of the window. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HwndGetWindow | Gets a window associated with the component. | |
IsSupported | Determines whether the toolbox user supports the referenced data object. | |
ItemPicked | Sends notification that an item in the toolbox has been selected (by clicking the mouse or by pressing ENTER). | |
LoadViewState | When implemented in a derived class, loads the view state of the window pane. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnActivationChange | Called when a new object is being activated. | |
OnAppActivate | Notifies the component whenever the host application is activated or deactivated. | |
OnEnterState | Notifies the view when the application enters or exits a given state. | |
OnLoseActivation | Notifies the active view that it has lost its active status because the host or another component has become active. | |
QueryCommandStatus | Gets the status of the specified command. | |
QueryParameterList | Gets the parameters for a command. | |
QueryStatus | Gets the status of the specified commands. | |
SaveViewState | Saves the loaded view state. | |
SetInfo | Sets the information in the status bar to reflect this view. | |
SetSite | Initializes this view. | |
Terminate | Called by the component manager when it wishes to terminate the view's registration. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TranslateAccelerator | Handles the translation of special navigation keys. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.