ShellTextEditorControl 类

定义

public ref class ShellTextEditorControl abstract : System::Windows::Forms::Control, IDisposable, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameNotify, Microsoft::VisualStudio::TextManager::Interop::IVsTextViewEvents
public abstract class ShellTextEditorControl : System.Windows.Forms.Control, IDisposable, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify, Microsoft.VisualStudio.TextManager.Interop.IVsTextViewEvents
type ShellTextEditorControl = class
    inherit Control
    interface IDisposable
    interface IOleCommandTarget
    interface IVsWindowFrameNotify
    interface IVsTextViewEvents
Public MustInherit Class ShellTextEditorControl
Inherits Control
Implements IDisposable, IOleCommandTarget, IVsTextViewEvents, IVsWindowFrameNotify
继承
ShellTextEditorControl
派生
实现

构造函数

ShellTextEditorControl()

字段

languageServiceDefaultGuid
languageServiceGuid
m_borderStyle
m_bWantCustomPopupMenu
m_sp
m_textBuffer
m_textCmdTarget
textWindowPane
textWndFrameNotify
TName

属性

BorderStyle
CreateParams
CurrentView
DocData
EditorHandle
FindTarget
IsEditorInstanceCreated
LanguageService
LanguageServiceDefault
TextBuffer
WantCustomPopupMenu
WithEncoding

方法

ApplyLS(Guid)
CreateAndInitEditorWindow(Object)
CreateAndInitTextBuffer(Object)
CreateEditorWindow(Object)
CreateHandle()
Dispose(Boolean)
Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)
GetCoordinatesForPopupMenu(Object[], Int32, Int32)
GetParent(HandleRef)
GetParent(IntPtr)
IsWindow(IntPtr)
LoadViewState(IStream)
OnDockableChange(Int32)
OnGotFocus(EventArgs)
OnMove()
OnShow(Int32)
OnSize()
OnSizeChanged(EventArgs)
OnTextBufferCreated(ShellTextBuffer)
PrepareForHandleRecreation()
PreProcessMessage(Message)
QueryStatus(Guid, UInt32, OLECMD[], IntPtr)
Release(Object)
ResetFontAndColor(Font, Guid, Guid)
SaveViewState(IStream)
SetParent(HandleRef, HandleRef)
ShouldDistroyNativeControl()
SinkEventsAndCacheInterfaces()
UnsinkEventsAndFreeInterfaces()
VerifyBeforeInstanceProperty()
WndProc(Message)

事件

ShowPopupMenu

显式接口实现

IVsTextViewEvents.OnChangeCaretLine(IVsTextView, Int32, Int32)
IVsTextViewEvents.OnChangeScrollInfo(IVsTextView, Int32, Int32, Int32, Int32, Int32)
IVsTextViewEvents.OnKillFocus(IVsTextView)
IVsTextViewEvents.OnSetBuffer(IVsTextView, IVsTextLines)
IVsTextViewEvents.OnSetFocus(IVsTextView)

适用于