![]() | KrViewer: Krusader's internal viewer-editor |
Prev | Krusader Tools | Next |
Pressing Enter on a selected file opens the file with the associated application.
To view a file as fast as possible according to it's type just put it under the cursor and press F3. Krusader's internal viewer is actually a Konqueror part, which can basically view every file type viewable by Konqueror (e.g. display pictures, play music, show the content of an archive), this is called the 'Generic viewer'.
The viewer works as follows:
It will try to view the file with the 'Generic viewer'.
When the file type cannot be determined or when a file (e.g. a binary) doesn't have a associated action, it disables the 'generic viewer'. The file will be treated as a text file, this is the 'Text viewer'.
The user can change in the KrViewer menu between: 'Generic viewer' (if available), 'Text viewer' and 'Hex viewer'.
Shift+F3 views a URL on demand, e.g.:
man:/ views the manpages.
man:/krusader views a manpage.
info:/ views the infopages.
http://krusader.sourceforce.net/ views a webpage.
ftp://ftp.kde.org/pub/kde/ views a ftp-server.
sftp://sftp.foo/ views a secure ftp-server.
file:/home/frank views the homedirectory of Frank.
/home/frank/archive.tar.gz views a tar.gz archive.
KrViewer can have the following menu's: File, Edit, View, Settings and Krviewer, depending on which file type is viewed. They will be discussed in the Editor section. The internal viewer can follow links on HTML pages. With Ctrl+E the viewer will start Krusader's internal editor (which is basically the same application).
The embedded viewer is not written by us, it is supplied via KDE (libs) and KIOSlave We cannot and don't want to change it, usings these libraries reduces the amount of written code. So we don't have to reinvent the weel ;-)
Krusader's internal editor has almost everything what you can expect of an editor. Editing is similar to viewing but with the F4 key. The default editor is Krusader's internal editor. You can change the used editor in the Konfigurator General page, if you prefer to use an external editor.
When you use Krusader's internal editor for the first time, It is recommended to look at each section of the Settings menu, and configure it the way you want it.
Most of the menus are pretty self-explanatory. ;-)
File menu
Save file.
Save file with an other name.
Reload file.
Export the file to html format.
Print the file.
Edit menu
Undo last action.
Redo last action.
Cut selected text to clipboard.
Copy selected text to clipboard.
Paste clipboard content to the document.
Select whole document.
Deselect current selection.
Toggle Block Selection, this will activate/deactivate the block selection possibility.
Toggle Insert mode.
Find text.
Find next text.
Find previous text.
Replace text.
Go to given linenumber.
View menu
Go to the next line at the maximum number of characters per line (default 80).
Show Folding Markers.
Show Icon Border.
Shows the line numbers.
e.g. ISO8859-1, utf8, utf16, tscii, ... .
Bookmarks menu
Toggle Bookmark.
Clear Bookmarks.
Go to the next Bookmark.
Go to the previous Bookmark.
Tools menu
Highlight mode for scripts, programming languages, markup file, etc.: e.g. html, Bash, C++, XML, Makefile, Diff, ... .
Change the end of Line termination: UNIX®, Windows®/DOS, Macintosh®.
Indent.
Unindent.
Clean Indendation.
Add appropriate comment tags, if available.
Removes the comment tags on the left.
Apply Word Wrap.
Opens a dialog box for entering a editing command.
Settings -> Configure Editor menu
Color configuration for the: background, selected text, current line and bracket highlighting.
Fonts configuration for display and printer: font, font style and size, with a preview window.
Identation configuration: automatically indent, use spaces to indent, Tab keys indent, Backspace keys indent, keep indent profile, keep extra spaces.
Selection configuration: persistent selections, overwrite selected text.
Editing configuration: word wrap config., whitespace config, auto brackets, smart home, wrap cursor, maximum undo steps.
Shortcuts configuration.
Highlighting configuration: default styles and highlight mode.
View defaults: dynamic word wrap, show line numbers, show icon border, show folder markers if available, sort bookmarks menu method.
Plugins configuration: e.g. kTexteditor incremental search plugin, kTexteditor insert file plugin, kTexteditor kdatatoolplugin...
KrViewer menu
Krusader's internal viewer is actually part of Konqueror, which can basically view every file type viewable by Konqueror (e.g. display pictures, play music, show the content of an archive).
View the file in text mode.
View the file in hex mode.
Edit the file in text mode.
Closes Krusader's viewer/editor window.
Prev | Home | Next |
KruSearcher: find what you're looking for | Up | KruSyncDir: Synchronize Directories |