|
Class: TextDiff2Tool (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::TextDiffTool
|
+--Tools::TextDiff2Tool
- Package:
- stx:libtool
- Category:
- Interface-Diff
- Version:
- rev:
1.7
date: 2019/03/16 13:53:39
- user: cg
- file: Tools__TextDiff2Tool.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Jan Vrany <jan.vrany@fit.cvut.cz>
a little UI around the DiffTextView,
to show two texts side by side.
[instance variables:]
[class variables:]
interface opening
-
openOn: textA label: labelA and: textB label: labelB
-
interface specs
-
diffSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::TextDiff2Tool andSelector:#diffSpec
Tools::TextDiff2Tool new openInterface:#diffSpec
|
-
nothingSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::TextDiffTool andSelector:#nothingSpec
Tools::TextDiffTool new openInterface:#nothingSpec
|
-
textAViewSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
-
textBViewSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
-
versionAOnlySpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::TextDiffTool andSelector:#versionAOnlySpec
Tools::TextDiffTool new openInterface:#versionAOnlySpec
|
-
versionBOnlySpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:Tools::TextDiffTool andSelector:#versionBOnlySpec
Tools::TextDiffTool new openInterface:#versionBOnlySpec
|
plugIn spec
-
aspectSelectors
-
This resource specification was automatically generated
by the UIPainter of ST/X.
accessing
-
title: aString
-
aspects
-
showDiffHolder
-
return/create the 'showDiffHolder' value holder (automatically generated)
-
showDiffHolder: something
-
set the 'showDiffHolder' value holder (automatically generated)
change & update
-
codeAspect
-
-
update: something with: aParameter from: changedObject
-
Invoked when an object that I depend upon sends a change notification.
-
updateAfterAorBorCChanged
-
(comment from inherited method)
Called whenever one of the texts changes
-
updateDiffFromChangedText
-
-
updateViews
-
hooks
-
postBuildCodeView: aScrollableView
-
-
postBuildDiffView: aScrollableView
-
initialization
-
initializeDiffView
-
superclass Tools::TextDiffTool says that I am responsible to implement this method
private
-
showDiff
-
-
showNothing
-
-
showTextOnly
-
-
showVersionA
-
-
showVersionB
-
testing
-
isDiff2
-
|text1 text2|
text1 := 'hello world
here is some difference
more text
this line has been removed
more text
more text
'.
text2 := 'hello world
where is the difference ?
more text
more text
more text
this line has been added
'.
TextDiff2Tool openOn:text1 label:'text1'
and:text2 label:'text2'
|
|