|
Class: TextDiff2Tool (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::TextDiffTool
|
+--Tools::TextDiff2Tool
- Package:
- stx:libtool
- Category:
- Interface-Diff
- Version:
- rev:
1.10
date: 2022/02/10 11:52:49
- user: cg
- file: Tools__TextDiff2Tool.st directory: libtool
- module: stx stc-classLibrary: libtool
a little UI around the DiffTextView,
to show two texts side by side.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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::TextDiff2Tool andSelector:#nothingSpec
Tools::TextDiff2Tool 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'
|
|