I want to configure coloring preferences for my Tkdiff tool, but I'd like to get introduced to all available colors we can use. Does anyone know? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-04-18
(Just search for tkdiff colors and this came up as a top result so I'm hoping this is helpful)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-04-18
Here's my updated .tkdiffrc file, which in my humble opinion is much nicer on the eye:
# This file was generated by TkDiff 4.1.4# Wed Apr 18 03:44:22 PM PDT 2012setprefsFileVersion{4.1.4}# Automatically center current diff regiondefineautocenter{1}# Automatically select the nearest diff region while scrollingdefineautoselect{0}# Tag options for characters in line viewdefinebytetag{-underline1-foregroundwhite-backgroundblack}# Tag options for changed diff regiondefinechgtag{-backgroundAntiqueWhite-foregroundblack}# Color change bars to match the diff mapdefinecolorcbs{0}# Tag options for the current diff regiondefinecurrtag{-backgroundPeachPuff-foregroundblack}# Tag options for deleted diff regiondefinedeltag{-backgroundWhite-foregroundblack}# diff commanddefinediffcmd{diff}# Tag options for diff regionsdefinedifftag{-backgroundAntiqueWhite-foregroundblack-font6x13}# Program for editing filesdefineeditor{}# Windows-style toolbar buttonsdefinefancyButtons{1}# Text window sizedefinegeometry{180x130}# Ignore blanks when diffingdefineignoreblanks{0}# Ignore blanks optiondefineignoreblanksopt{-b}# Tag options for diff region inline differencesdefineinlinetag{-backgroundLightBlue-foregroundDarkOrchid-font{Courier-12bold}}# Tag options for inserted diff regiondefineinstag{-backgroundLightGreen-foregroundDarkOrchid-font{Courier-12bold}}# Tag options for overlap diff regiondefineoverlaptag{-backgroundBurlyWood-foregroundblack}# Show change barsdefineshowcbs{1}# Show inline diffs (byte comparisons)defineshowinline1{0}# Show inline diffs (recursive matching algorithm)defineshowinline2{1}# Show current line comparison windowdefineshowlineview{1}# Show line numbersdefineshowln{1}# Show graphical map of diffsdefineshowmap{1}# Synchronize scrollbarsdefinesyncscroll{1}# Tab stopsdefinetabstops{8}# Highlight change barsdefinetagcbs{0}# Highlight line numbersdefinetagln{0}# Highlight file contentsdefinetagtext{1}# Text widget optionsdefinetextopt{-backgroundAntiqueWhite-foregroundblack-font6x13}# Directory for scratch filesdefinetmpdir{/tmp}# Use icons instead of labels in the toolbardefinetoolbarIcons{1}# custom code# put any custom code you want to be executed in the# following block. This code will be automatically executed# after the GUI has been set up but before the diff is # performed. Use this code to customize the interface if# you so desire.# # Even though you can't (as of version 3.09) edit this # code via the preferences dialog, it will be automatically# saved and restored if you do a SAVE from that dialog.# Unless you really know what you are doing, it is probably# wise to leave this unmodified.definecustomCode{}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The colors are from the X11/rgb.txt file on all *nix machines. The "choosexcolor" Tk script downloadable from http://www.twobarleycorns.net/ demonstrates them in a "paint chips" kind of way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to configure coloring preferences for my Tkdiff tool, but I'd like to get introduced to all available colors we can use. Does anyone know? Thanks!
(Just search for tkdiff colors and this came up as a top result so I'm hoping this is helpful)
My early experiments suggest it uses these:
http://www.w3schools.com/tags/ref_color_tryit.asp?color=DodgerBlue
Here's my updated .tkdiffrc file, which in my humble opinion is much nicer on the eye:
The colors are from the X11/rgb.txt file on all *nix machines. The "choosexcolor" Tk script downloadable from http://www.twobarleycorns.net/ demonstrates them in a "paint chips" kind of way.