BUG: text <Meta-f> and <Meta-d> bindings in tk8.0a2 
Author Message
 BUG: text <Meta-f> and <Meta-d> bindings in tk8.0a2

You have "index" instead of "insert".  Here's a patch:

--- text.tcl~   Sun Jan 26 21:28:26 1997

 }
 bind Text <Meta-d> {
     if !$tk_strictMotif {
-       %W delete insert [tkTextNextWord %W index]
+       %W delete insert [tkTextNextWord %W insert]
     }
 }
 bind Text <Meta-f> {
     if !$tk_strictMotif {
-       tkTextSetCursor %W [tkTextNextWord %W index]
+       tkTextSetCursor %W [tkTextNextWord %W insert]
     }
 }
 bind Text <Meta-less> {  

--



Mon, 19 Jul 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. ><><><><>Heeeeeeeeeeeeeeelp on INT 14!><><><><><>

2. <<<<<YOU MUST CHECK THIS OUT >>>>>>>>>> 2103

3. <><><> FLOODFILL <><><>

4. >>>HELP, DECOMPILER<<<

5. <<<XXX Password>>>

6. <<<XXX Password>>>

7. <<<XXX Password>>>

8. >>>>>>>>>>>>>>>>>>>HEY!<<<<<<<<<<<<<<<<<<<<<<<

9. ??? <<<<<<<<<<<<<<<<<<<< RGB 4 MMX >>>>>>>>>>>>>>>>>>>>>>>?

10. ??? <<<<<<<<<<<<<<<<<<<< RGB 4 MMX >>>>>>>>>>>>>>>>>>>>>>>?

11. ------>>>>> REVERSING A STRING <<<<<-----

 

 
Powered by phpBB® Forum Software