|
Class: NewSystemBrowserCodeView (in Tools)
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--ListView
|
+--TextView
|
+--EditTextView
|
+--TextCollector
|
+--Workspace
|
+--CodeView
|
+--Tools::NewSystemBrowserCodeView
- Package:
- stx:libtool
- Category:
- Interface-Browsers-New
- Version:
- rev:
1.20
date: 2019/07/31 15:49:25
- user: cg
- file: Tools__NewSystemBrowserCodeView.st directory: libtool
- module: stx stc-classLibrary: libtool
initialization
-
initialize
-
self initialize
menu specs
-
editMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:Tools::NewSystemBrowserCodeView andSelector:#editMenuSpec
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowserCodeView editMenuSpec)) startUp
|
accessing
-
browser
-
-
browser: something
-
-
findNode
-
-
findNodeForInterval: anInterval
-
An empty interval check based on Claus' suggestion
(email Fri, 10 Oct 2008 16:10:25 +0200)
-
findNodeIn: tree forInterval: interval
-
|node wouldReturn|
-
selectedClass
-
-
selectedNode
-
-
selectedSelector
-
accessing-contents
-
list: anObject
-
(comment from inherited method)
replace the whole contents by something new.
this is not undoably, unless you care for yourself.
Positions the cursor as defined in cursorMovementWhenUpdating
(which defaults to: home)
change & update
-
updateParseTree
-
Transcript showCR:'Updating parse tree'
event handling
-
buttonMotion: button x: x y: y
-
-
buttonPress: button x: x y: y
-
(comment from inherited method)
hide the cursor when button is activated
-
handleNonCommandKey: keyArg
-
(comment from inherited method)
pasted selection will NOT be replaced by keystroke
-
keyPress: key x: x y: y
-
key = #Alt_L ifTrue: [self highlightParseTreeNodeAtX: x y: y; redraw]
menu
-
browseClassesMenu: classes
-
-
editMenu
-
(comment from inherited method)
return the popUpMenu;
to make this independent from what is defined in superclasses,
get the superclass menu and add my functions.
-
messageNodeContextMenu: messageNode
-
-
messageNodeImplementorsMenu: messageNode
-
-
messageNodeSendersMenu: messageNode
-
-
openMenu: aMenuOrNil
-
-
variableNodeMenuContext: variableNode
-
menu - actions
-
accept
-
(comment from inherited method)
redefined accept action;
save cursor and selection to allow restore in case of an error
(we are typically compiling here ... and the compiler may show
errors by highlighting them)
-
browseClass: class
-
-
browseImplementorsOfIt
-
(comment from inherited method)
open a browser on the implementors of the selected text,
or - if I support syntax elements, on the syntax element at the cursor position
-
browseMethod: method label: label
-
-
browseMethods: methods label: label
-
-
browseSendersOfIt
-
(comment from inherited method)
open a browser on the senders of the selected text
-
goBack
-
-
inspectParseTree
-
-
inspectSelectedSelector
-
-
refactorMenuRenameInstanceVariable
-
-
refactorMenuRenameLocalVariable
-
menu - double dispatch
-
blueButtonMenuForMessageNode: messageNode
-
-
blueButtonMenuForVariableNode: messageNode
-
-
leftClickMenuForMessageNode: messageNode
-
-
leftClickMenuForVariableNode: varNode
-
-
middleClickMenuForMessageNode: messageNode
-
-
redButtonMenuForMessageNode: messageNode
-
-
rightClickMenuForMessageNode: messageNode
-
-
rightClickMenuForVariableNode: variableNode
-
-
yellowButtonMenuForMessageNode: messageNode
-
private
-
implementorsOf: selector
-
-
sendersOf: selector
-
private - highlighting
-
highlightClear
-
-
highlightFrom: start to: end
-
Remove underlined emphasis
-
highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol emphasis: em
-
-
highlightNode: node
-
-
highlightNodeAtCursor
-
-
highlightNodeAtLine: line col: col
-
-
highlightNodeAtX: x y: y
-
-
highlightWithoutClearFrom: start to: end
-
Remove underlined emphasis
-
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol
-
-
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol emphasis: em
-
-
selectorEmphasis
-
private - highlighting - nodes
-
highlightLiteralNode: node
-
-
highlightMessageNode: node
-
-
highlightVariableNode: node
-
private - parsing
-
parseTree
-
-
parseTree: something
-
-
parseTree: something sequenceNumber: givenSeqNum
-
-
startParsingProcess
-
-
stopParsingProcess
-
raise its prio to make it terminate quickly
private - testing
-
isInstanceVariableNode: node
-
-
isLocalVariableNode: node
-
|