C# Class PKStudio.Forms.Editors.SourceFileEditor

Inheritance: PKStudio.Forms.BaseForms.EditorBaseForm
Datei anzeigen Open project: AlexandrSurkov/PKStudio Class Usage Examples

Protected Properties

Property Type Description
OpenFolderToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
_editingFilePath string

Public Methods

Method Description
GotoLine ( int line ) : void
Save ( ) : void
SaveFile ( string path ) : void
SetFile ( string FilePath ) : bool
SourceFileEditor ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OpenFolderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
SearchTextMenuItem_Click ( object sender, EventArgs e ) : void
scintilla1_ModifiedChanged ( object sender, EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

UpdateCaretPositionLabels ( ) : void

Ru: Обновляет Labels с позицией carret En: Updates Labels with carret position

ZoomCB_SelectedIndexChanged ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
redoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
scintilla1_MouseClick ( object sender, MouseEventArgs e ) : void
scintilla1_SelectionChanged ( object sender, EventArgs e ) : void
searchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
undoToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GotoLine() public method

public GotoLine ( int line ) : void
line int
return void

OpenFolderToolStripMenuItem_Click() protected method

protected OpenFolderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Save() public method

public Save ( ) : void
return void

SaveFile() public method

public SaveFile ( string path ) : void
path string
return void

SearchTextMenuItem_Click() protected method

protected SearchTextMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

SetFile() public method

public SetFile ( string FilePath ) : bool
FilePath string
return bool

SourceFileEditor() public method

public SourceFileEditor ( ) : System
return System

scintilla1_ModifiedChanged() protected method

protected scintilla1_ModifiedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

OpenFolderToolStripMenuItem protected_oe property

protected ToolStripMenuItem,System.Windows.Forms OpenFolderToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

_editingFilePath protected_oe property

protected string _editingFilePath
return string