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