|
Class: GutterView (private in CodeView2
This class is only visible from within
CodeView2.
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--Tools::CodeView2::GutterView
- Package:
- stx:libtool
- Category:
- Interface-CodeView
- Owner:
- Tools::CodeView2
- Author:
- stefan
documentation to be added.
[instance variables:]
[class variables:]
accessing
-
compareAction
-
-
compareAction: something
-
-
menuHolder: aValueThing
-
-
setTextView: aTextView
-
self backgroundPaint: textView backgroundPaint darkened lighter.
-
setTextViewScroller: aScr
-
-
showLineNumbers: aBoolean
-
can be used to turn off linenumber drawing,
in case the gutter is used with another view anf only the other features (breakpoints) are needed
accessing-dimensions
-
acceptButtonBottom
-
-
acceptCancelRight
-
-
cancelButtonBottom
-
-
padding
-
-
paddingLeft
-
px
-
paddingRight
-
px
-
preferredExtent
-
(comment from inherited method)
return my preferred extent - this is the minimum size I would like to have.
If the preferredExtent has been set, that one is returned.
Otherwise, if there are any components, a rectangle enclosing them
is returned. Otherwise, the actual extent is returned.
-
usedWidthForAcceptCancel
-
actions
-
accept
-
-
cancel
-
-
compare
-
diff agains original version
-
inspectView
-
-
middleButtonMenu
-
aspects
-
currentBlockNodeHolder
-
return/create the 'currentBlockNodeHolder' value holder (automatically generated)
-
currentBlockNodeHolder: something
-
set the 'currentBlockNodeHolder' value holder (automatically generated)
change & update
-
adjustSizeForLongestLine
-
recompute the required width (longest linenumber present, not shown)
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
adjustSizeForLongestLineNumber
-
recompute the required width (longest linenumber present, not shown)
-
update: something with: aParameter from: changedObject
-
false
event handling
-
buttonMultiPress: btn x: x y: y
-
for the embedded accept-cancel bar, if enabled
-
buttonPress: btn x: x y: y
-
-
nonMultiButtonPress: btn x: x y: y
-
this is now called delayed for a single button press
(i.e. if there is not other click within some time)
-
sizeChanged: how
-
self invalidateAcceptCancelBar.
help
-
helpTextAt: aPointOrNil
-
which service has an annotation for that line
initialize & release
-
initialize
-
16
-
release
-
(comment from inherited method)
remove all dependencies from the receiver
-
setCodeView: aCodeView2
-
codeView currentBlockNodeHolder addDependent: self. - not needed; currentBlockNodeHolder: does it
queries
-
displayedString: lineNr
-
get text to display in gutter for specified list line number
-
lineColorForLine: lineNr
-
return special color for given line if required, nil otherwise
-
lineDisplayable: lineNr
-
true if this list line can be displayed
-
lineFontForLine: lineNr
-
return special font for given line if required, nil otherwise
-
wantsFocusWithButtonPress
-
-
yOfTextViewLine: lineNr
-
defined to allow computation of a line below what is visible in
the textView (because gutter may become higher than textView, iff
the textView has a horizontal scrollbar
redrawing
-
invalidateAcceptCancelBar
-
-
invalidateDeviceRectangle: aRectangle repairNow: doRepairNow
-
-
invalidateLines
-
+ 1
-
redrawAcceptCancelBarX: x y: y width: w height: h
-
-
redrawBackgroundX: x y: y width: w height: h
-
redraws gutter background
-
redrawLine: line
-
-
redrawLine: line cleared: cleared
-
redraws specified line. Returns width of drawn object. Color of drawn objects should be taken from lineFont, lineColor
-
redrawLine: line cleared: cleared drawServices: drawServices
-
redraws specified line. Returns width of drawn object.
Color of drawn objects should be taken from lineFont, lineColor
-
redrawLinesFrom: start
-
cg: obsolete?
-
redrawVisibleLine: line
-
-
redrawX: x y: y width: w height: h
-
textview may be nil, if Gutter is shown in the UIPainter!
|