Hex Artifact Content

Artifact 07a20f06887ca05742605709cbc1d81fa4ac54c2:


0000: 49 6e 64 65 78 3a 20 74 63 6c 72 65 61 64 6c 69  Index: tclreadli
0010: 6e 65 2f 74 63 6c 72 65 61 64 6c 69 6e 65 2e 63  ne/tclreadline.c
0020: 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  .===============
0030: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0040: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0050: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0060: 3d 3d 3d 3d 3d 3d 0a 2d 2d 2d 20 74 63 6c 72 65  ======.--- tclre
0070: 61 64 6c 69 6e 65 2e 6f 72 69 67 2f 74 63 6c 72  adline.orig/tclr
0080: 65 61 64 6c 69 6e 65 2e 63 0a 2b 2b 2b 20 74 63  eadline.c.+++ tc
0090: 6c 72 65 61 64 6c 69 6e 65 2f 74 63 6c 72 65 61  lreadline/tclrea
00a0: 64 6c 69 6e 65 2e 63 0a 40 40 20 2d 37 34 35 2c  dline.c.@@ -745,
00b0: 37 20 2b 37 34 35 2c 37 20 40 40 0a 20 20 20 20  7 +745,7 @@.    
00c0: 20 7d 0a 20 0a 20 20 20 20 20 69 66 20 28 21 6d   }. .     if (!m
00d0: 61 74 63 68 65 73 20 26 26 20 74 63 6c 72 6c 5f  atches && tclrl_
00e0: 75 73 65 5f 62 75 69 6c 74 69 6e 5f 63 6f 6d 70  use_builtin_comp
00f0: 6c 65 74 65 72 29 20 7b 0a 2d 09 6d 61 74 63 68  leter) {.-.match
0100: 65 73 20 3d 20 63 6f 6d 70 6c 65 74 69 6f 6e 5f  es = completion_
0110: 6d 61 74 63 68 65 73 28 74 65 78 74 2c 20 54 63  matches(text, Tc
0120: 6c 52 65 61 64 6c 69 6e 65 30 67 65 6e 65 72 61  lReadline0genera
0130: 74 6f 72 29 3b 0a 2b 09 6d 61 74 63 68 65 73 20  tor);.+.matches 
0140: 3d 20 72 6c 5f 63 6f 6d 70 6c 65 74 69 6f 6e 5f  = rl_completion_
0150: 6d 61 74 63 68 65 73 28 74 65 78 74 2c 20 28 72  matches(text, (r
0160: 6c 5f 63 6f 6d 70 65 6e 74 72 79 5f 66 75 6e 63  l_compentry_func
0170: 5f 74 20 2a 29 54 63 6c 52 65 61 64 6c 69 6e 65  _t *)TclReadline
0180: 30 67 65 6e 65 72 61 74 6f 72 29 3b 0a 20 20 20  0generator);.   
0190: 20 20 7d 0a 20 0a 20 20 20 20 20 72 65 74 75 72    }. .     retur
01a0: 6e 20 6d 61 74 63 68 65 73 3b 0a                 n matches;.