Eskil

Check-in [1d4acbe241]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Made a patched version of tablelist for table diff. Patch stored in src dir.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1d4acbe241daf59961acf50b032b5c9455339e54
User & Date: peter 2015-06-03 22:03:54.693
Context
2015-06-03
22:22
Added doc for table check-in: 445a0958f0 user: peter tags: trunk
22:03
Made a patched version of tablelist for table diff. Patch stored in src dir. check-in: 1d4acbe241 user: peter tags: trunk
21:45
Use color callback from patched tablelist check-in: 87b8685b79 user: peter tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Changes.




1
2
3
4
5
6
7




2015-04-19
 Started working on table diff.
 Added grep plugin.

2015-04-09
 Started working on a edit buttons shown between diffs.

>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
2015-06-02
 Made a patched version of tablelist for table diff. Patch stored in src dir.
 Table diff works reasonable now

2015-04-19
 Started working on table diff.
 Added grep plugin.

2015-04-09
 Started working on a edit buttons shown between diffs.

Changes to Makefile.
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# If you do not have access to all these, you can get them from an Eskil kit
# as explained below.
TEXTSEARCH = /home/peter/src/textsearch
DIFFUTIL   = /home/peter/src/DiffUtilTcl/lib.vfs/DiffUtil
WCB        = /home/peter/src/packages/wcb3.4
PDF4TCL    = /home/peter/src/pdf4tcl/pkg
SNIT       = /home/peter/src/packages/tcllib/modules/snit
TABLELIST  = /home/peter/src/packages/tablelist5.12.1
TWAPI      = /home/peter/src/packages/twapi
TKDND      = /home/peter/src/packages/tkdnd/lib/tkdnd2.4
EMBEDFONT  = /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf

# Tools
NAGELFAR    = nagelfar








|







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# If you do not have access to all these, you can get them from an Eskil kit
# as explained below.
TEXTSEARCH = /home/peter/src/textsearch
DIFFUTIL   = /home/peter/src/DiffUtilTcl/lib.vfs/DiffUtil
WCB        = /home/peter/src/packages/wcb3.4
PDF4TCL    = /home/peter/src/pdf4tcl/pkg
SNIT       = /home/peter/src/packages/tcllib/modules/snit
TABLELIST  = /home/peter/src/packages/tablelist5.13
TWAPI      = /home/peter/src/packages/twapi
TKDND      = /home/peter/src/packages/tkdnd/lib/tkdnd2.4
EMBEDFONT  = /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf

# Tools
NAGELFAR    = nagelfar

Added src/tablelist5.13.patch.






























































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff -ur tablelist5.13.orig/scripts/tablelistConfig.tcl tablelist5.13/scripts/tablelistConfig.tcl
--- tablelist5.13.orig/scripts/tablelistConfig.tcl	2015-01-01 16:07:23.784270154 +0100
+++ tablelist5.13/scripts/tablelistConfig.tcl	2015-06-03 23:52:28.584316642 +0200
@@ -23,6 +23,7 @@
     lappend configSpecs(-activestyle)		frame
     lappend configSpecs(-autoscan)		1
     lappend configSpecs(-collapsecommand)	{}
+    lappend configSpecs(-colorizecommand)	{}
     lappend configSpecs(-columns)		{}
     lappend configSpecs(-columntitles)		{}
     lappend configSpecs(-customdragsource)	0
@@ -559,6 +560,7 @@
 		-acceptchildcommand -
 		-acceptdropcommand -
 		-collapsecommand -
+		-colorizecommand -
 		-editendcommand -
 		-editstartcommand -
 		-expandcommand -
diff -ur tablelist5.13.orig/scripts/tablelistUtil.tcl tablelist5.13/scripts/tablelistUtil.tcl
--- tablelist5.13.orig/scripts/tablelistUtil.tcl	2015-01-01 20:08:52.271490592 +0100
+++ tablelist5.13/scripts/tablelistUtil.tcl	2015-06-03 23:52:28.584316642 +0200
@@ -3394,6 +3394,13 @@
 			}
 		    }
 		}
+                set cmdPre $data(-colorizecommand)
+                if {$cmdPre ne ""} {
+                    set tabIdx1 [$w index $textIdx1+1c]
+                    lappend cmdPre $win $w $key $row $col \
+                            $tabIdx1 $tabIdx2 $inStripe $selected
+                    uplevel \#0 $cmdPre
+                }
 
 		set textIdx1 $textIdx2
 	    }
diff -ur tablelist5.13.orig/scripts/tablelistWidget.tcl tablelist5.13/scripts/tablelistWidget.tcl
--- tablelist5.13.orig/scripts/tablelistWidget.tcl	2015-01-01 16:08:26.801266763 +0100
+++ tablelist5.13/scripts/tablelistWidget.tcl	2015-06-03 23:52:28.584316642 +0200
@@ -105,6 +105,7 @@
 	-borderwidth		 {borderWidth		  BorderWidth	      f}
 	-bd			 -borderwidth
 	-collapsecommand	 {collapseCommand	  CollapseCommand     w}
+	-colorizecommand	 {colorizeCommand	  ColorizeCommand     w}
 	-columns		 {columns		  Columns	      w}
 	-columntitles		 {columnTitles		  ColumnTitles	      w}
 	-cursor			 {cursor		  Cursor	      c}