|
Class: MergeService (private in TextDiff3Tool
This class is only visible from within
TextDiff3Tool.
Object
|
+--Tools::CodeViewService
|
+--Tools::TextDiff3Tool::MergeService
- Package:
- stx:libtool
- Category:
- Interface-Diff
- Owner:
- Tools::TextDiff3Tool
accessing
-
label
-
Answers short label - for UI
queries
-
isUsefulFor: aCodeView
-
this filters useful services.
must be redefined to return true in subclasses (but each class must do it only
for itself - not for subclasses
testing
-
isAvailable
-
Should be installed explicitly"
accessing
-
infoAtLine: lineNr
-
-
sectionInterval
-
-
sectionInterval: anObject
-
aspects
-
dataHolder
-
return/create the 'dataHolder' value holder (automatically generated)
-
dataHolder: something
-
set the 'dataHolder' value holder (automatically generated)
-
sectionIntervalHolder
-
return/create the 'sectionIntervalHolder' value holder (automatically generated)
-
sectionIntervalHolder: something
-
set the 'sectionIntervalHolder' value holder (automatically generated)
change & update
-
dataChanged
-
Merge data has changes, update text view
-
dataHolderChanged
-
-
update: something with: aParameter from: changedObject
-
Invoked when an object that I depend upon sends a change notification.
-
updateSelection: lineNr
-
For given number, update sectionInterval
drawing
-
drawLine: lineNo in: view atX: x y: yBaseline width: w height: hFont ascent: aFont from: startCol to: endColOrNil with: fg and: bg
-
Called by both gutterView and textView (well, not yet) to
allow services to draw custom things on text view.
Ask JV what the args means if unsure (I'm lazy to document
them, now it is just an experiment...)
event handling
-
buttonPress: button x: x y: y in: view
-
Handles an event in given view (a subview of codeView).
If the method returns true, it has eaten the event and it will not be processed
by the view or other services.
Notice, that this is called both for events in the gutter AND for events in the text.
-
linesModifiedFrom: start to: end
-
registering
-
registerIn: aCodeView
-
Installs myself in aCodeView
testing
-
isMergeService
-
|