C# 클래스 iRuler.iRulerMain

Summary description for Form1.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: f5devcentral/f5-irule-editor

공개 메소드들

메소드 설명
DoSearchFind ( bool bReverseDirection ) : int
DoSearchMarkAll ( ) : void
RemoteCertificateValidationCallback ( Object sender, System certificate, System chain, System sslPolicyErrors ) : bool
appendStatus ( String sText, bool bVisible ) : void
ensureRangeVisible ( int start, int end ) : void
findInTarget ( String sText, int len, int start, int end ) : int
getCurrentWord ( int position ) : String
getListOfMatches ( String word ) : String
getStatus ( ) : string
getStatusVisible ( ) : bool
iRulerMain ( ) : System
setStatus ( String sText, bool bVisible ) : void
showAutoComplete ( bool bShow ) : void
showEndOfLine ( bool bShow ) : void
showFoldMargin ( bool bShow ) : void
showHotspots ( bool bShow ) : void
showIndentionGuides ( bool bShow ) : void
showLineNumbers ( bool bShow ) : void
showMargin ( bool bShow ) : void
showSplashScreen ( bool bShow ) : void
showWhiteSpace ( bool bShow ) : void
showWordWrap ( bool bShow ) : void
updateStatusLabels ( ) : void
viewStatus ( bool bVisible ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

addEditorShortcutKeys ( ToolStripItemCollection tsic ) : void
editConfig ( ) : void
ensureLatestConfig ( ) : void
exportConfig ( ) : bool
initializeEditor ( ) : bool
loadCommandArgs ( ) : void
loadConfiguration ( ) : void
monitorNotifications ( bool bMonitor ) : void
saveConfiguration ( ) : void
updateAutoCompleteList ( ) : void
updateKeywordList ( ) : void

비공개 메소드들

메소드 설명
DefineFoldMarker ( int marker, int markerType, int fore, int back ) : void
DoCheckForUpdates ( bool prompt, bool showstatus ) : void
DoConnect ( ) : void
DoConnect ( string sHostname, string sUsername, string sPassword ) : void
DoConnect2 ( ) : void
DoCopyOffline ( TreeNode tn ) : void
DoDataGroups ( ) : void
DoDelete ( ) : bool
DoDeleteOffline ( TreeNode tn ) : bool
DoDisconnect ( ) : bool
DoDropFiles ( String fileDropList, bool bPrompt, TreeNode tnParent ) : void
DoExport ( ) : void
DoGenerateTraffic ( ) : void
DoImport ( ) : void
DoMigrateImportExport ( ) : void
DoNew ( ) : bool
DoParse ( ) : void
DoParseGTM ( ) : void
DoParseLTM ( ) : void
DoPrint ( ) : void
DoRefresh ( ) : bool
DoReload ( ) : void
DoReset ( ) : void
DoSanityCheck ( String sRuleDef ) : bool
DoSave ( ) : bool
DoSaveAll ( ) : void
DoSaveConfiguration ( ) : bool
DoSaveConfiguration ( TreeNode tn ) : bool
DoSaveConfiguration ( bool bForce ) : bool
DoSaveNode ( TreeNode tn ) : bool
DoSaveNodeGTM ( TreeNode tn ) : bool
DoSaveNodeLTM ( TreeNode tn ) : bool
DoSaveOffline ( TreeNode tn ) : bool
DoSearchFind ( ) : void
DoShare ( ) : void
DoViewStatus ( ) : void
Editor_EnsureAllChidrenVisible ( int line, int level ) : void
Editor_Expand ( int &line, bool doExpand, bool force, int visLevels, int level ) : void
Editor_FoldAll ( ) : void
Editor_ToggleFoldRecursive ( int line, int level ) : void
FileNameToRuleName ( String filename ) : String
InitializeComponent ( ) : void

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

RuleNameToFileName ( String rulename ) : String
SendMessage ( IntPtr hWnd, int wMsg, int wParam, int lParam ) : int
ToolStripMenuItem_ToolsBIGIPConfigAutoSave_Click ( object sender, EventArgs e ) : void
ToolStripMenuItem_ToolsBIGIPConfigSaveConfig_Click ( object sender, EventArgs e ) : void
ToolStripMenuItem_ToolsEditConfig_Click ( object sender, EventArgs e ) : void
ToolStripMenuItem_ViewChangeIndentionSettings_Click ( object sender, EventArgs e ) : void
autoIndentLine ( scintilla sci, char ch ) : void

Checks to see if a line needs to be auto indented and indents it if it does. Auto indenting follows these rules: If a new line has been created it is given the same indent as the previous line. If a new line is created and the previous line ends with an opening brace then the new line is indented one level more than the previous line If a closing brace is added and it is the first non-whitespace character on the line and the current line has the same indent as the previous line then the line is unindented one level.

autoSaveConfiguration ( bool bAutoSaveConfig ) : void
bookMarkRemoveAll ( ) : void
bookmarkAdd ( int linenumber ) : void
bookmarkDelete ( int linenumber ) : void
bookmarkPresent ( int linenumber ) : bool
bookmarksFromStatus ( String message ) : void
calcLengthOfIndent ( scintilla sci, int indent ) : int

Calculates the length (number of characters) of a particular indent. The length of an indent depends on whether or not tabs are enabled and the width of a tab.

contextMenuStrip_TreeView_Opened ( object sender, EventArgs e ) : void
findChildMenu ( ToolStripMenuItem tsmi, string tag ) : ToolStripMenuItem
findTreeNode ( String sName, TreeNode tnParent ) : TreeNode
getCurrentItem ( ) : TreeNode
getDragDropFileList ( DragEventArgs e ) : String[]
getEndOfLastLine ( scintilla sci, int pos ) : char

Gets the last non-whitespace character of the previous line.

getPreviousNonWhitespaceChar ( scintilla sci, int pos ) : char

Gets the previous non-whitespace character in the current line.

iRulerMain_Activated ( object sender, EventArgs e ) : void
iRulerMain_HelpButtonClicked ( object sender, CancelEventArgs e ) : void
iRulerMain_Load ( object sender, System e ) : void
m_textEditor_CharAdded ( scintilla pSender, char CharacterAdded ) : void
m_textEditor_DwellStart ( scintilla pSender, int position, int x, int y ) : int
m_textEditor_HotSpotClick ( scintilla pSender, int modifiers, int position ) : int
m_textEditor_MarginClick ( scintilla pSender, int modifiers, int position, int margin ) : int
m_textEditor_Modified ( scintilla pSender ) : int
m_textEditor_UpdateUI ( scintilla pSender ) : int
markItem ( TreeNode tn, bool bDirty ) : void
panel_Middle_Paint ( object sender, PaintEventArgs e ) : void
panel_Top_Paint ( object sender, PaintEventArgs e ) : void
parseColorValue ( String c ) : int

Same as the version below but defaults to 0 (black).

parseColorValue ( String c, int defVal ) : int

Converts a string into a color for use with the scintilla. settings. It looks like scintilla. interprets ints as being in BGR format, not RGB but the configuration file uses RGB. To accomodate this the string is converted to a number and then the first (blue) and third (red) bytes are swapped. If a default value of -1 is provided then -1 will be returned on conversion failure. Otherwise the default value will have its bytes swapped to convert from RGB to BGR format.

parseInt ( String i, int defVal ) : int

Converts a string to an integer. If the conversion fails it default to the provided default value.

refreshOffline ( ) : void
refreshiRules ( ) : void
resetPartitionMenus ( Boolean bCheckActive = true ) : void
showButtons ( bool visible ) : void
showCommandAC ( String sWord ) : bool
splitter1_SplitterMoved ( object sender, SplitterEventArgs e ) : void
textBox_Status_MouseClick ( object sender, MouseEventArgs e ) : void
toolStripButton_CheckSyntax_Click ( object sender, EventArgs e ) : void
toolStripButton_Connect_Click ( object sender, EventArgs e ) : void
toolStripButton_DataGroups_Click ( object sender, EventArgs e ) : void
toolStripButton_Delete_Click ( object sender, EventArgs e ) : void
toolStripButton_DevCentralForums_Click ( object sender, EventArgs e ) : void
toolStripButton_DevCentral_Click ( object sender, EventArgs e ) : void
toolStripButton_GenerateTraffic_Click ( object sender, EventArgs e ) : void
toolStripButton_New_Click ( object sender, EventArgs e ) : void
toolStripButton_RefreshList_Click ( object sender, EventArgs e ) : void
toolStripButton_Save_Click ( object sender, EventArgs e ) : void
toolStripButton_Share_Click ( object sender, EventArgs e ) : void
toolStripButton_TCL_Click ( object sender, EventArgs e ) : void
toolStripButton_Wiki_Click ( object sender, EventArgs e ) : void
toolStripContainer2_ContentPanel_Load ( object sender, EventArgs e ) : void
toolStripMenuItem_CheckSyntax_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_CopyOffline_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Delete_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_DynamicClick ( object sender, EventArgs e ) : void
toolStripMenuItem_EditCopy_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditCut_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditDelete_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditPaste_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditRedo_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditSelectAll_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_EditUndo_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Exit_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileArchiveExport_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileArchiveImport_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileArchiveOpen_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileArchiveSetLocation_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileConnect_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileDelete_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileNew_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileSaveAll_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FileSave_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_FolderDynamicClick ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpAbout_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpDevCentral_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpForums_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpTCLReference_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpTipOfTheDay_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpiRuler_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpiRuler_Click_1 ( object sender, EventArgs e ) : void
toolStripMenuItem_HelpiRulesReference_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Properties_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Reload_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Reset_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Save_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_SearchFindNext_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_SearchFindPrevious_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_SearchFind_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Share_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ShowSplashScreen_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsCheckForUpdates_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsDataGroupEditor_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsGenerateTraffic_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsLogViewer_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsReloadConfig_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsResetConfig_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ToolsShare_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewAutoComplete_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewBookmarks_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewEndOfLine_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewFoldMargin_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewHotspots_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewIndentionGuides_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewLineNumbers_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewMargin_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewStatus_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewWhiteSpace_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ViewWordWrap_Click ( object sender, EventArgs e ) : void
treeView_iRules_AfterSelect ( object sender, TreeViewEventArgs e ) : void
treeView_iRules_DragDrop ( object sender, DragEventArgs e ) : void
treeView_iRules_DragEnter ( object sender, DragEventArgs e ) : void
treeView_iRules_DragLeave ( object sender, EventArgs e ) : void
treeView_iRules_DragOver ( object sender, DragEventArgs e ) : void
treeView_iRules_ItemDrag ( object sender, ItemDragEventArgs e ) : void
treeView_iRules_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
treeView_iRules_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
uncheckAllChildMenus ( ToolStripMenuItem tsmi ) : void
updateFolderInfo ( ) : void
updateIndentionSettings ( ) : void
updateMenus ( ) : void
updatePartitionInfo ( ) : void
updateTitle ( bool modified ) : void

메소드 상세

Dispose() 보호된 메소드

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

DoSearchFind() 공개 메소드

public DoSearchFind ( bool bReverseDirection ) : int
bReverseDirection bool
리턴 int

DoSearchMarkAll() 공개 메소드

public DoSearchMarkAll ( ) : void
리턴 void

RemoteCertificateValidationCallback() 공개 메소드

public RemoteCertificateValidationCallback ( Object sender, System certificate, System chain, System sslPolicyErrors ) : bool
sender Object
certificate System
chain System
sslPolicyErrors System
리턴 bool

addEditorShortcutKeys() 보호된 메소드

protected addEditorShortcutKeys ( ToolStripItemCollection tsic ) : void
tsic System.Windows.Forms.ToolStripItemCollection
리턴 void

appendStatus() 공개 메소드

public appendStatus ( String sText, bool bVisible ) : void
sText String
bVisible bool
리턴 void

editConfig() 보호된 메소드

protected editConfig ( ) : void
리턴 void

ensureLatestConfig() 보호된 메소드

protected ensureLatestConfig ( ) : void
리턴 void

ensureRangeVisible() 공개 메소드

public ensureRangeVisible ( int start, int end ) : void
start int
end int
리턴 void

exportConfig() 보호된 메소드

protected exportConfig ( ) : bool
리턴 bool

findInTarget() 공개 메소드

public findInTarget ( String sText, int len, int start, int end ) : int
sText String
len int
start int
end int
리턴 int

getCurrentWord() 공개 메소드

public getCurrentWord ( int position ) : String
position int
리턴 String

getListOfMatches() 공개 메소드

public getListOfMatches ( String word ) : String
word String
리턴 String

getStatus() 공개 메소드

public getStatus ( ) : string
리턴 string

getStatusVisible() 공개 메소드

public getStatusVisible ( ) : bool
리턴 bool

iRulerMain() 공개 메소드

public iRulerMain ( ) : System
리턴 System

initializeEditor() 보호된 메소드

protected initializeEditor ( ) : bool
리턴 bool

loadCommandArgs() 보호된 메소드

protected loadCommandArgs ( ) : void
리턴 void

loadConfiguration() 보호된 메소드

protected loadConfiguration ( ) : void
리턴 void

monitorNotifications() 보호된 메소드

protected monitorNotifications ( bool bMonitor ) : void
bMonitor bool
리턴 void

saveConfiguration() 보호된 메소드

protected saveConfiguration ( ) : void
리턴 void

setStatus() 공개 메소드

public setStatus ( String sText, bool bVisible ) : void
sText String
bVisible bool
리턴 void

showAutoComplete() 공개 메소드

public showAutoComplete ( bool bShow ) : void
bShow bool
리턴 void

showEndOfLine() 공개 메소드

public showEndOfLine ( bool bShow ) : void
bShow bool
리턴 void

showFoldMargin() 공개 메소드

public showFoldMargin ( bool bShow ) : void
bShow bool
리턴 void

showHotspots() 공개 메소드

public showHotspots ( bool bShow ) : void
bShow bool
리턴 void

showIndentionGuides() 공개 메소드

public showIndentionGuides ( bool bShow ) : void
bShow bool
리턴 void

showLineNumbers() 공개 메소드

public showLineNumbers ( bool bShow ) : void
bShow bool
리턴 void

showMargin() 공개 메소드

public showMargin ( bool bShow ) : void
bShow bool
리턴 void

showSplashScreen() 공개 메소드

public showSplashScreen ( bool bShow ) : void
bShow bool
리턴 void

showWhiteSpace() 공개 메소드

public showWhiteSpace ( bool bShow ) : void
bShow bool
리턴 void

showWordWrap() 공개 메소드

public showWordWrap ( bool bShow ) : void
bShow bool
리턴 void

updateAutoCompleteList() 보호된 메소드

protected updateAutoCompleteList ( ) : void
리턴 void

updateKeywordList() 보호된 메소드

protected updateKeywordList ( ) : void
리턴 void

updateStatusLabels() 공개 메소드

public updateStatusLabels ( ) : void
리턴 void

viewStatus() 공개 메소드

public viewStatus ( bool bVisible ) : void
bVisible bool
리턴 void