home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20994 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!sicsun!slhp1.epfl.ch!lecom
  2. From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: Deleting Mouse Selected text in "xedit"
  5. Message-ID: <4590@sicsun.epfl.ch>
  6. Date: 11 Jan 93 15:32:37 GMT
  7. References: <1iruvrINNnnk@shelley.u.washington.edu>
  8. Sender: news@sicsun.epfl.ch
  9. Organization: Ecole Polytechnique Federale de Lausanne
  10. Lines: 35
  11.  
  12. In article <1iruvrINNnnk@shelley.u.washington.edu>, zzz@byron.u.washington.edu (Sample) writes:
  13. |> Could someone email me here (zzz@byron.u.washington.edu)
  14. |> and tell me of an easier why to delete mouse
  15. |> selected text in "/usr/bin/X11/xedit".  I know that
  16. |> the '^W' key works but there should be a quicker
  17. |> way (like a signle key press (no control press) or
  18. |> adding a delete to the "Quit", "Save" and "Load"
  19. |> menues.
  20. |> 
  21. |> Jeff
  22.  
  23.    The quickest thing you can imagine is to have :
  24.  
  25. xedit*editWindow.translations:  #override \n\
  26.    <Btn1Up>: extend-end(PRIMARY, CUT_BUFFER0) kill-selection()
  27.  
  28.    When you release button1, the text gets automatically deleted. A more
  29. reasonable solution is :
  30.  
  31. xedit*editWindow.translations:  #override \n\
  32.    Shift<Btn1Up>: extend-end(PRIMARY, CUT_BUFFER0) kill-selection()
  33.  
  34.    This the setting i use. If i want to delete a text, i press shift before
  35. releasing button1.
  36.  
  37.  
  38. -- 
  39.  
  40.  
  41.                     Claude Lecommandeur
  42.                     Service Informatique Central
  43.                     Ecole Polytechnique Federale de Lausanne
  44.                     1015 LAUSANNE (SWITZERLAND)
  45.                     E-Mail : lecom@sic.epfl.ch
  46.                     Tel : (41 21) 693-22-97
  47.