home *** CD-ROM | disk | FTP | other *** search
- # This is a description of the wimp interface for Gnu diff
-
- tool_details_start
- name "Diff";
- command_is "Diff";
- version "1.15";
- wimpslot 70k;
- has_extended_cmdline;
- tool_details_end
-
-
- metaoptions_start
- has_auto_save "Merged" from icn 3;
- has_text_window;
- has_summary_window;
- metaoptions_end
-
-
- fileoutput_start
- output_option_is ">";
- output_dft_string "Merged";
- output_dft_is produces_no_output;
- fileoutput_end
-
- dbox_start
- icons_start
- icn 3 maps_to string not_saved;
- icn 5 maps_to string not_saved;
- icn 8 maps_to "-c"; # context diff
- icn 9 maps_to "-u"; # unified diff
- icn 10 maps_to "-D" followed_by icn 11
- produces_output; # ifdef output
- icn 12 maps_to "-n"; # RCS output
- icn 13 maps_to "-e"; # ed script output
- icn 14 maps_to "-f"; # reversed ed script
- icn 15 maps_to "-q"; # summary report
- icn 18 maps_to "-s"; # report identical files
- icn 19 maps_to "-r"; # recursive search
- icons_end
-
- defaults
- icn 3 "",
- icn 5 "",
- icn 8 off,
- icn 9 off,
- icn 10 off,
- icn 11 "",
- icn 12 off,
- icn 13 off,
- icn 14 off,
- icn 15 off,
- icn 18 off,
- icn 19 off;
-
- imports_start
- drag_to icn 3 inserts icn 3;
- drag_to icn 5 inserts icn 5;
- drag_to iconbar inserts icn 3;
- imports_end
- dbox_end
-
-
- menu_start
- "Expand tabs" maps_to "-t";
- "Force comparison" maps_to "-a";
- "Minimal changes" maps_to "-d";
- "Speed up large files" maps_to "-H";
- "Missing file is empty" maps_to "-N";
- "File label" maps_to "" sub_menu " Label: " 255 prefix_by "-L";
-
- "Lines of context" maps_to "" sub_menu " Lines: " 3
- integer prefix_by "-";
- "Context header" maps_to "-F" sub_menu " Matches: " 255;
-
- "Ignore case" maps_to "-c";
- "Ignore blank lines" maps_to "-B";
- "Ignore changes in space" maps_to "-b";
- "Ignore all space" maps_to "-w";
- "Ignore regex" maps_to "-I" sub_menu " Regex: " 255;
-
- defaults
- menu 1 on, # Expand tabs in output (-t)
- menu 2 off, # Force comparison (-a)
- menu 3 off, # Minimal changes (-d)
- menu 4 off, # Speed up large files (-H)
- menu 5 off, # Missing file is empty (-N)
- menu 6 off sub_menu "", # File label (-L)
- menu 7 off sub_menu 3, # Lines of context (-99)
- menu 8 off
- sub_menu "^[a-zA-Z_].*\(", # Context header (-F)
- menu 9 off, # Ignore case (-c)
- menu 10 off, # Ignore blank lines (-B)
- menu 11 off, # Ignore changes in space (-b)
- menu 12 off, # Ignore all space (-w)
- menu 13 off sub_menu ""; # Ignore regex (-I)
- menu_end
-
-
- deselections_start
- icn 8 deselects icn 9, icn 10, icn 12, icn 13, icn 14, icn 15;
- icn 9 deselects icn 8, icn 10, icn 12, icn 13, icn 14, icn 15;
- icn 10 deselects icn 8, icn 9, icn 12, icn 13, icn 14, icn 15;
- icn 12 deselects icn 8, icn 9, icn 10, icn 13, icn 14, icn 15;
- icn 13 deselects icn 8, icn 9, icn 10, icn 12, icn 14, icn 15;
- icn 14 deselects icn 8, icn 9, icn 10, icn 12, icn 13, icn 15;
- icn 15 deselects icn 8, icn 9, icn 10, icn 12, icn 13, icn 14;
-
- icn 10 deselects menu 7, menu 8;
- icn 12 deselects menu 7, menu 8;
- icn 13 deselects menu 7, menu 8;
- icn 14 deselects menu 7, menu 8;
- icn 15 deselects menu 7, menu 8;
-
- icn 10 deselects menu 1;
- deselections_end
-