Contents

Component IDEEditor

comment:
Xotcl Text Editing

Find and Replace Object

In the future place for such things as
1. syntax hightlighting
2. indenting
3. delegation to syntax checker in IDETclParser component
Classes Classes Hierarchy Objects

Class IDE::FindReplaceDestroyHelper

comment:
This class is using for mixin with IDE::Text for
recognize destroying of based window. In this case (destroy)
also Find/Replace dialog will be closed

Instprocs:

destroy {}

Class IDE::TclModeEdit

parameter: {editMode none}
superclasses:
IDE::MethodEdit
comment:
Tcl Mode

supports function
1. code completion
 - self xotcl call
 - tcl procedures/commands
 - tcl subcommands
 - variables
2. Selecting parenthesis areas by double-click
3. interface to syntax hightlighting
4. Statix Syntax Checking

Instprocs:

complexSyntaxHighlight {}
doubleButton {}
getIdent {}
return count of ident space or minus count of ident space if new open brace {
getInstanceCommand {pattern}
getPopdown {}
getProcSubcommand {command pattern}
getVariable {pattern}
hidePopdown {}
init {args}
initTags {}
invokePopDown {mlist pattern}
isPopdownVisible {}
keyReturn {}
lintIfWanted {text}
menuInsertions {ms}
saveSource {text}
saveValue {value}
searchCloseBrace {text obrace cbrace}
searchCloseQuote {text}
searchOpenBrace {text obrace cbrace}
selectDropDown {}
setText {text}
setType {type}
simpleSyntaxHighlight {}
syntaxCheck {}
syntaxHighlight {}
syntaxHighlightIfWanted {}
syntaxHighlightRemove {}
tabPress {}
xotclLint {text}

Class PrsSyntaxHightlight

parameter: text
superclasses:
PrsContext
comment:
This Class is special tcl parser context that can be used
for syntax hightlight into IDE::Text (View for parsed method).
How tokens will be handled is specified in syntaxHightlight method (PrsElem)

Instprocs:

checkObjectSelfCall {command notifier}
checkTclCommand {name command notifier}
hightlightElement {prsElem tag shiftLeft shiftRight}
visit {prsElem}

Object IDE::FindReplace

Procs:
actionClear {}
actionClose {}
actionFind {}
actionReplace {}
actionSetDefaults {}
bindToView {tview}
buildWindow {twin}
destroySignalFromView {tview}
findArea {}
hideWindow {}
showWindow {}