C# Class MonoDevelop.SourceEditor.SourceEditorView

Inheritance: MonoDevelop.Ide.Gui.AbstractViewContent, IExtensibleTextEditor, IBookmarkBuffer, IClipboardHandler, ICompletionWidget, ISplittable, IFoldable, IToolboxDynamicProvider, IEncodedTextContent, ICustomFilteringToolboxConsumer, IZoomable, ITextEditorResolver, Mono.TextEditor.ITextEditorDataProvider, ICodeTemplateHandler, ICodeTemplateContextProvider, ISupportsProjectReload, IPrintable
Afficher le fichier Open project: slluis/monodevelop Class Usage Examples

Private Properties

Свойство Type Description
AddBreakpoint void
AddWatch void
CheckFrameIsInFile Mono.Debugging.Client.StackFrame
CheckReadOnly bool
CorrectIndenting void
DisposeErrorMarkers void
EmacsFindNext void
EmacsFindPrevious void
FindNext SearchResult
FindNextSelection SearchResult
FindPrevious SearchResult
FindPreviousSelection SearchResult
FireCompletionContextChanged void
GetDragPreviewText string
GetLine Mono.TextEditor.LineSegment
GotFileChanged void
HandleDragDataGet void
HandleDragEnd void
HandleErrorListPadTaskToggled void
HandleFileChanged void
HandleIdeAppPreferencesDefaultHideMessageBubblesChanged void
HandleIdeAppPreferencesShowMessageBubblesChanged void
HandleTaskServiceJumpedToTask void
HandleTextEditorVAdjustmentChanged void
HandleWidgetTextEditorOptionsChanged void
ICustomFilteringToolboxConsumer bool
IExtensibleTextEditor ITextEditorExtension
ISupportsProjectReload void
IToolboxConsumer bool
IToolboxConsumer void
IToolboxConsumer void
IZoomable void
IndentSelection void
LoadSettings void
MonodocResolver void
MonodocResolverUpdate void
OnBreakpointAdded void
OnBreakpointRemoved void
OnBreakpointStatusChanged void
OnCurrentFrameChanged void
OnDebugSessionStarted void
OnFileChanged void
OnGotoMatchingBrace void
OnIconButtonPress void
OnMoveBlockDown void
OnMoveBlockUp void
OnTextReplaced void
OnTextReplacing void
OnToggleBlockSelectionMode void
OnToggleErrorTextMarker void
OnUpdateToggleComment void
OnUpdateToggleErrorTextMarker void
OnUpdateUseSelectionForFind void
OnUpdateUseSelectionForReplace void
OnWatchAdded void
OnWatchChanged void
OnWatchRemoved void
RemoveDebugMarkers void
RunPrintOperation void
ShowExpressionEvaluator void
ShowGotoLineNumberWidget void
ShowReplaceWidget void
ShowSearchWidget void
StoreSettings void
ToggleCodeComment void
UnIndentSelection void
UpdateBreakpoints void
UpdateExecutionLocation void
UpdateMimeType void
UpdatePinnedWatches void
UpdateShowExpressionEvaluator void
UpdateTasks void
UpdateToggleBlockSelectionMode void
UseSelectionForFind void
UseSelectionForReplace void

Méthodes publiques

Méthode Description
BeginAtomicUndo ( ) : void
ClearBookmarks ( ) : void
Copy ( ) : void
CreateCodeCompletionContext ( int triggerOffset ) : MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Cut ( ) : void
Delete ( ) : void
DeleteText ( int position, int length ) : void
DiscardChanges ( ) : void
Dispose ( ) : void
DocumentToScreenLocation ( Mono.TextEditor.DocumentLocation location ) : Gdk.Point
EndAtomicUndo ( ) : void
FoldDefinitions ( ) : void
GetAmbience ( ) : MonoDevelop.Projects.Dom.Output.Ambience
GetChar ( int offset ) : char
GetCharAt ( int position ) : char
GetCodeTemplateContext ( ) : CodeTemplateContext
GetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx ) : string
GetDynamicItems ( IToolboxConsumer consumer ) : IEnumerable
GetLanguageItem ( int offset ) : MonoDevelop.Projects.Dom.ResolveResult
GetLanguageItem ( int offset, string expression ) : MonoDevelop.Projects.Dom.ResolveResult
GetLineColumnFromPosition ( int position, int &line, int &column ) : void
GetParserContext ( ) : MonoDevelop.Projects.Dom.Parser.ProjectDom
GetPositionFromLineColumn ( int line, int column ) : int
GetText ( int startPosition, int endPosition ) : string
GetTextEditorData ( ) : TextEditorData
InsertTemplate ( MonoDevelop.Ide.CodeTemplates.CodeTemplate template, MonoDevelop doc ) : void
InsertText ( int position, string text ) : int
IsBookmarked ( int position ) : bool
Load ( string fileName ) : void
Load ( string fileName, string encoding ) : void
Load ( string fileName, string content, string encoding ) : void
LoadNew ( Stream content, string mimeType ) : void
NextBookmark ( ) : void
Paste ( ) : void
PrevBookmark ( ) : void
PrintDocument ( MonoDevelop.Ide.Gui.Content.PrintingSettings settings ) : void
PrintPreviewDocument ( MonoDevelop.Ide.Gui.Content.PrintingSettings settings ) : void
Redo ( ) : void
Replace ( int offset, int count, string text ) : void
Save ( string fileName ) : void
Save ( string fileName, string encoding ) : void
Select ( int startPosition, int endPosition ) : void
SelectAll ( ) : void
SetBookmarked ( int position, bool mark ) : void
SetCaretTo ( int line, int column ) : void
SetCaretTo ( int line, int column, bool highlight ) : void
SetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, string partial_word, string complete_word ) : void
SetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, string partial_word, string complete_word, int wordOffset ) : void
ShowPosition ( int position ) : void
SourceEditorView ( ) : System
SplitHorizontally ( ) : void
SplitVertically ( ) : void
SwitchWindow ( ) : void
ToggleAllFoldings ( ) : void
ToggleFolding ( ) : void
Undo ( ) : void
Unsplit ( ) : void
UpdateClipboardRing ( object sender, EventArgs e ) : void

Méthodes protégées

Méthode Description
OnCaretPositionSet ( EventArgs args ) : void

Private Methods

Méthode Description
AddBreakpoint ( Mono.Debugging.Client.Breakpoint bp ) : void
AddWatch ( MonoDevelop.Debugger.PinnedWatch w ) : void
CheckFrameIsInFile ( Mono.Debugging.Client.StackFrame frame ) : Mono.Debugging.Client.StackFrame
CheckReadOnly ( int line ) : bool
CorrectIndenting ( ) : void
DisposeErrorMarkers ( ) : void
EmacsFindNext ( ) : void
EmacsFindPrevious ( ) : void
FindNext ( ) : SearchResult
FindNextSelection ( ) : SearchResult
FindPrevious ( ) : SearchResult
FindPreviousSelection ( ) : SearchResult
FireCompletionContextChanged ( ) : void
GetDragPreviewText ( ItemToolboxNode item ) : string
GetLine ( int position ) : Mono.TextEditor.LineSegment
GotFileChanged ( object sender, FileEventArgs args ) : void
HandleDragDataGet ( object o, Gtk.DragDataGetArgs args ) : void
HandleDragEnd ( object o, DragEndArgs args ) : void
HandleErrorListPadTaskToggled ( object sender, TaskEventArgs e ) : void
HandleFileChanged ( string fileName ) : void
HandleIdeAppPreferencesDefaultHideMessageBubblesChanged ( object sender, MonoDevelop.Core.PropertyChangedEventArgs e ) : void
HandleIdeAppPreferencesShowMessageBubblesChanged ( object sender, MonoDevelop.Core.PropertyChangedEventArgs e ) : void
HandleTaskServiceJumpedToTask ( object sender, TaskEventArgs e ) : void
HandleTextEditorVAdjustmentChanged ( object sender, EventArgs e ) : void
HandleWidgetTextEditorOptionsChanged ( object sender, EventArgs e ) : void
ICustomFilteringToolboxConsumer ( ItemToolboxNode item ) : bool
IExtensibleTextEditor ( ITextEditorExtension extension ) : ITextEditorExtension
ISupportsProjectReload ( Project project ) : void
IToolboxConsumer ( ItemToolboxNode item ) : bool
IToolboxConsumer ( ItemToolboxNode item ) : void
IToolboxConsumer ( ItemToolboxNode item, Gtk source, Gdk ctx ) : void
IZoomable ( ) : void
IndentSelection ( ) : void
LoadSettings ( ) : void
MonodocResolver ( ) : void
MonodocResolverUpdate ( MonoDevelop.Components.Commands.CommandInfo cinfo ) : void
OnBreakpointAdded ( object s, Mono.Debugging.Client.BreakpointEventArgs args ) : void
OnBreakpointRemoved ( object s, Mono.Debugging.Client.BreakpointEventArgs args ) : void
OnBreakpointStatusChanged ( object s, Mono.Debugging.Client.BreakpointEventArgs args ) : void
OnCurrentFrameChanged ( object s, EventArgs args ) : void
OnDebugSessionStarted ( object sender, EventArgs e ) : void
OnFileChanged ( object sender, FileSystemEventArgs args ) : void
OnGotoMatchingBrace ( ) : void
OnIconButtonPress ( object s, Mono.TextEditor.MarginMouseEventArgs args ) : void
OnMoveBlockDown ( ) : void
OnMoveBlockUp ( ) : void
OnTextReplaced ( object s, Mono.TextEditor.ReplaceEventArgs a ) : void
OnTextReplacing ( object s, Mono.TextEditor.ReplaceEventArgs a ) : void
OnToggleBlockSelectionMode ( ) : void
OnToggleErrorTextMarker ( ) : void
OnUpdateToggleComment ( MonoDevelop info ) : void
OnUpdateToggleErrorTextMarker ( MonoDevelop.Components.Commands.CommandInfo info ) : void
OnUpdateUseSelectionForFind ( MonoDevelop.Components.Commands.CommandInfo info ) : void
OnUpdateUseSelectionForReplace ( MonoDevelop.Components.Commands.CommandInfo info ) : void
OnWatchAdded ( object s, PinnedWatchEventArgs args ) : void
OnWatchChanged ( object s, PinnedWatchEventArgs args ) : void
OnWatchRemoved ( object s, PinnedWatchEventArgs args ) : void
RemoveDebugMarkers ( ) : void
RunPrintOperation ( PrintOperationAction action, MonoDevelop.Ide.Gui.Content.PrintingSettings settings ) : void
ShowExpressionEvaluator ( ) : void
ShowGotoLineNumberWidget ( ) : void
ShowReplaceWidget ( ) : void
ShowSearchWidget ( ) : void
StoreSettings ( ) : void
ToggleCodeComment ( ) : void
UnIndentSelection ( ) : void
UpdateBreakpoints ( bool forceUpdate = false ) : void
UpdateExecutionLocation ( ) : void
UpdateMimeType ( string fileName ) : void
UpdatePinnedWatches ( ) : void
UpdateShowExpressionEvaluator ( CommandInfo cinfo ) : void
UpdateTasks ( object sender, TaskEventArgs e ) : void
UpdateToggleBlockSelectionMode ( CommandInfo cinfo ) : void
UseSelectionForFind ( ) : void
UseSelectionForReplace ( ) : void

Method Details

BeginAtomicUndo() public méthode

public BeginAtomicUndo ( ) : void
Résultat void

ClearBookmarks() public méthode

public ClearBookmarks ( ) : void
Résultat void

Copy() public méthode

public Copy ( ) : void
Résultat void

CreateCodeCompletionContext() public méthode

public CreateCodeCompletionContext ( int triggerOffset ) : MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
triggerOffset int
Résultat MonoDevelop.Ide.CodeCompletion.CodeCompletionContext

Cut() public méthode

public Cut ( ) : void
Résultat void

Delete() public méthode

public Delete ( ) : void
Résultat void

DeleteText() public méthode

public DeleteText ( int position, int length ) : void
position int
length int
Résultat void

DiscardChanges() public méthode

public DiscardChanges ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DocumentToScreenLocation() public méthode

public DocumentToScreenLocation ( Mono.TextEditor.DocumentLocation location ) : Gdk.Point
location Mono.TextEditor.DocumentLocation
Résultat Gdk.Point

EndAtomicUndo() public méthode

public EndAtomicUndo ( ) : void
Résultat void

FoldDefinitions() public méthode

public FoldDefinitions ( ) : void
Résultat void

GetAmbience() public méthode

public GetAmbience ( ) : MonoDevelop.Projects.Dom.Output.Ambience
Résultat MonoDevelop.Projects.Dom.Output.Ambience

GetChar() public méthode

public GetChar ( int offset ) : char
offset int
Résultat char

GetCharAt() public méthode

public GetCharAt ( int position ) : char
position int
Résultat char

GetCodeTemplateContext() public méthode

public GetCodeTemplateContext ( ) : CodeTemplateContext
Résultat CodeTemplateContext

GetCompletionText() public méthode

public GetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx ) : string
ctx MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat string

GetDynamicItems() public méthode

public GetDynamicItems ( IToolboxConsumer consumer ) : IEnumerable
consumer IToolboxConsumer
Résultat IEnumerable

GetLanguageItem() public méthode

public GetLanguageItem ( int offset ) : MonoDevelop.Projects.Dom.ResolveResult
offset int
Résultat MonoDevelop.Projects.Dom.ResolveResult

GetLanguageItem() public méthode

public GetLanguageItem ( int offset, string expression ) : MonoDevelop.Projects.Dom.ResolveResult
offset int
expression string
Résultat MonoDevelop.Projects.Dom.ResolveResult

GetLineColumnFromPosition() public méthode

public GetLineColumnFromPosition ( int position, int &line, int &column ) : void
position int
line int
column int
Résultat void

GetParserContext() public méthode

public GetParserContext ( ) : MonoDevelop.Projects.Dom.Parser.ProjectDom
Résultat MonoDevelop.Projects.Dom.Parser.ProjectDom

GetPositionFromLineColumn() public méthode

public GetPositionFromLineColumn ( int line, int column ) : int
line int
column int
Résultat int

GetText() public méthode

public GetText ( int startPosition, int endPosition ) : string
startPosition int
endPosition int
Résultat string

GetTextEditorData() public méthode

public GetTextEditorData ( ) : TextEditorData
Résultat Mono.TextEditor.TextEditorData

InsertTemplate() public méthode

public InsertTemplate ( MonoDevelop.Ide.CodeTemplates.CodeTemplate template, MonoDevelop doc ) : void
template MonoDevelop.Ide.CodeTemplates.CodeTemplate
doc MonoDevelop
Résultat void

InsertText() public méthode

public InsertText ( int position, string text ) : int
position int
text string
Résultat int

IsBookmarked() public méthode

public IsBookmarked ( int position ) : bool
position int
Résultat bool

Load() public méthode

public Load ( string fileName ) : void
fileName string
Résultat void

Load() public méthode

public Load ( string fileName, string encoding ) : void
fileName string
encoding string
Résultat void

Load() public méthode

public Load ( string fileName, string content, string encoding ) : void
fileName string
content string
encoding string
Résultat void

LoadNew() public méthode

public LoadNew ( Stream content, string mimeType ) : void
content Stream
mimeType string
Résultat void

NextBookmark() public méthode

public NextBookmark ( ) : void
Résultat void

OnCaretPositionSet() protected méthode

protected OnCaretPositionSet ( EventArgs args ) : void
args System.EventArgs
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

PrevBookmark() public méthode

public PrevBookmark ( ) : void
Résultat void

PrintDocument() public méthode

public PrintDocument ( MonoDevelop.Ide.Gui.Content.PrintingSettings settings ) : void
settings MonoDevelop.Ide.Gui.Content.PrintingSettings
Résultat void

PrintPreviewDocument() public méthode

public PrintPreviewDocument ( MonoDevelop.Ide.Gui.Content.PrintingSettings settings ) : void
settings MonoDevelop.Ide.Gui.Content.PrintingSettings
Résultat void

Redo() public méthode

public Redo ( ) : void
Résultat void

Replace() public méthode

public Replace ( int offset, int count, string text ) : void
offset int
count int
text string
Résultat void

Save() public méthode

public Save ( string fileName ) : void
fileName string
Résultat void

Save() public méthode

public Save ( string fileName, string encoding ) : void
fileName string
encoding string
Résultat void

Select() public méthode

public Select ( int startPosition, int endPosition ) : void
startPosition int
endPosition int
Résultat void

SelectAll() public méthode

public SelectAll ( ) : void
Résultat void

SetBookmarked() public méthode

public SetBookmarked ( int position, bool mark ) : void
position int
mark bool
Résultat void

SetCaretTo() public méthode

public SetCaretTo ( int line, int column ) : void
line int
column int
Résultat void

SetCaretTo() public méthode

public SetCaretTo ( int line, int column, bool highlight ) : void
line int
column int
highlight bool
Résultat void

SetCompletionText() public méthode

public SetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, string partial_word, string complete_word ) : void
ctx MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
partial_word string
complete_word string
Résultat void

SetCompletionText() public méthode

public SetCompletionText ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext ctx, string partial_word, string complete_word, int wordOffset ) : void
ctx MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
partial_word string
complete_word string
wordOffset int
Résultat void

ShowPosition() public méthode

public ShowPosition ( int position ) : void
position int
Résultat void

SourceEditorView() public méthode

public SourceEditorView ( ) : System
Résultat System

SplitHorizontally() public méthode

public SplitHorizontally ( ) : void
Résultat void

SplitVertically() public méthode

public SplitVertically ( ) : void
Résultat void

SwitchWindow() public méthode

public SwitchWindow ( ) : void
Résultat void

ToggleAllFoldings() public méthode

public ToggleAllFoldings ( ) : void
Résultat void

ToggleFolding() public méthode

public ToggleFolding ( ) : void
Résultat void

Undo() public méthode

public Undo ( ) : void
Résultat void

Unsplit() public méthode

public Unsplit ( ) : void
Résultat void

UpdateClipboardRing() public méthode

public UpdateClipboardRing ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void