Next Previous Table of Contents
KEdit is a simple text editor. It supports basic text with no formatting.
KEdit makes use of the KDE Drag and Drop protocol. This means that you can drag and drop files from the Desktop or kfm or some remote ftp site that you have open in one of kfm's windows on to KEdit.
You can open and save files transparently on the Internet. For example, choose File, Open URL and type
ftp://ftp.kde.org/pub/kde/Welcome.msg
in the edit field.
KEdit supports printing. You can either print the document your are editing or the selection you made directly to your default printer. Print will print the document that is written in the file and not what is displayed in the Editor. If changes are made without saving before printing, the changes will not be reflected in the printout. Optionally you can specify the printing command of your choice. There exist a number of printing utilities in the Unix world which are excellent. It would make little sense to try reimplement their efforts. Explicitly let me mention to you the following two printing utilites:
Markku Rossi has written a powerful reincarnation of Adobe's enscript ascii to postscript utility. My favorite usage is enscript -2rG text.txt, but GNU enscript goes far beyond that. Make sure you have the latest version from http://www.hut.fi/~mtr/genscript/, or any GNU mirror.
Akim Demaille and Miguel Santana have written a powerful ascii to Postscript conversion utility which will format your output depending on the document type. Whether you want to print out C++ sources or an email message, the default styles are very nice. Get it from: http://www-inf.enst.fr/~demaille/a2ps.html
Make sure your system is set up for printing PostScript documents. If you don't have a native PostScript printer get yourself ghostscript/ghostview version 4.03 or higher from http://www.cs.wisc.edu/%7Eghost/. Note, that there are now commercial grade ps fonts available that come with the ghostview/ghostscript package. These fonts are a must for any quality printing of Postscript documents on a non-postscript printer. If you were disappointed with the results you got from ghostscript on your printer so far then get the new fonts, this will give you the best possible results.
KEdit honors the following key bindings:
Insert
Toggle between Insert
and Overwrite modeLeft Arrow
Move the cursor one character leftwards Right Arrow
Move the cursor one character rightwards Up Arrow
Move the cursor one line upwards Down Arrow
Move the cursor one line downwards Page Up
Move the cursor one page upwards Page Down
Move the cursor one page downwards Backspace
Delete the character to the left of the cursor Home
Move the cursor to the beginning of the line End
Move the cursor to the end of the line Delete
Delete the character to the right of the cursor Shift - Left Arrow
Mark text one character leftwards Shift - Right Arrow
Mark text one character rightwards CTRL-A
Move the cursor to the beginning of the line CTRL-B
Move the cursor one character leftwards CTRL-C
Copy the marked text to the clipboard. CTRL-D
Delete the character to the right of the cursor if no
text is selected. If text is selected to the right or left of the
cursor, the selected text is deleted.CTRL-E
Move the cursor to the end of the line CTRL-F
Bring up the Find dialog box F3
Find againCTRL-H
Delete the character to the left of the cursor if no
text is selected. If text is selected to the right or left of the
cursor, the selected text is deleted.CTRL-J
Format the Paragraph with the right margin determined
by the "Options/KDE Options.../Set Fill Column at:" value. The left
margin is determined by the position of the first character of the
paragraph. CTRL-K
Delete to end of line and place content into the kill-bufferCTRL-N
Exit the document and opens a new document or prompts
before exiting document if changes have been madeCTRL-O
Open CTRL-P
Bring up the Print dialog box or the Save Before
Printing message if changes have been madeCTRL-Q
QuitCTRL-R
Find & replaceCTRL-S
Save CTRL-V
Paste the clipboard text into line edit. CTRL-X
Cut the marked text, copy to clipboard. CTRL-Y
Yank content of the kill-buffer into the document at the
current cursor position.CTRL-W
CloseALT-F4
Exit the window on the screen. Prompt to save if the application has unsaved changes.ESC
Cancel any dialog box.
Next Previous Table of Contents