KrViewer: &krusader;'s internal
viewer-editorViewerEditorPressing &Enter; on a selected file
opens the file with the associated
application. The editor-viewer is tabbed, configure it
on the &konfiggereral-lnk;ViewerTo view a file as fast as possible according to its type,
just put it under the cursor and press
F3. &krusader;'s internal viewer is
actually a part of &konqueror;, which can basically
view every file type viewable by &konqueror;
(⪚ display pictures, play music, show the content
of an archive). This is called the 'Generic viewer', for which
you need to configure the mime types.The viewer works as follows:
It tries to view the file with the
'Generic viewer'.When the file type (mime type) cannot be determined or
when a file (⪚ a binary) doesn't have an
associated action, it disables the 'generic viewer'. The
file is treated as a text file, which is the
'Text viewer'.The user can change in the
KrViewer
menu between: 'Generic viewer' (if available), 'Text
viewer' and
'Hex viewer'.You can configure the default viewer mode on the
&konfiggereral-lnk; .&Shift;
F3views a &URL; on
demand, ⪚:
man:/views the manpages.man:/krusaderviews 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/frankviews the homedirectory of Frank./home/frank/archive.tar.gzviews a
tar.gz archive.KrViewer can have the following menus:
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 can 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
&tdeioslaves1-url; We cannot and do not want to
change it, usings these libraries reduces the amount of
written code. So we do not have to reinvent the wheel
;-)EditorEditor&krusader;'s internal editor has almost
everything that 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
default editor in the &konfiggereral-lnk;, 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
Settingsmenu, and
configure it the way you want it.Menu overviewMost of the menus are quite self-explanatory. ;-)Filemenu&Ctrl;
SFileSaveSave file.FileSave AsSave file with another name.F5FileReloadReload file.FileExportExport the file to
HTML format.&Ctrl;
PFilePrintPrint the file.Edit menu&Ctrl;
ZEditUndoUndo last action.
&Ctrl;&Shift;
ZEditRedoRedo last action.&Ctrl;
XEditCutCut selected text to clipboard.&Ctrl;
CEditCopyCopy selected text to clipboard.&Ctrl;
VEditPastePaste clipboard content to the document.&Ctrl;
AEditSelect AllSelect whole document.
&Ctrl;&Shift;
AEditDeselectDeselect current selection.
&Ctrl;&Shift;
BEditBlock Selection ModeToggle Block Selection, which will
activate/deactivate the block selection
possibility.InsertEditOverwrite ModeToggle Insert/Overwrite Mode.&Ctrl;
FEditFindFind text.F3EditFind NextFind next text.&Shift;
F3EditFind PreviousFind previous text.&Ctrl;
REditReplaceReplace text.&Ctrl;
GEditGo to lineGo to given line number.ViewmenuF7ViewSwitch to Command Line.Display Command Line.ViewSchema.Set Schema ⪚ &krusader;
Normal, &krusader; Printing, &kate;
Normal, &kwrite; Normal.F10ViewDynamic Word WrapGo to the next line at the maximum number of
characters per line (default 80).ViewDynamic Word Wrap IndicatorsOff, Follow Line Numbers, Always On.ViewShows Static Word Wrap
markerF6ViewShow Icon BorderShows Icon Border.F11ViewShow Line NumbersShows the line numbers.ViewShow Scrollbar Marks.F9ViewHide Folding MarkersViewCode Folding.ViewSet Encoding⪚ ISO8859-1, utf8, utf16, tscii, ...
.Bookmarksmenu&Ctrl;
BBookmarkSet BookmarkBookmarkClear All BookmarksToolsmenuToolsRead Only ModeToolsFiletype ModeToolsHighlight modeHighlight mode for scripts, programming languages,
markup file, &etc;: ⪚
HTML, Bash, C++, XML, Makefile,
Diff, ....ToolsEnd of LineChange the end of Line termination:
&UNIX;, &Windows;/DOS,
Macintosh.&Ctrl;
IToolsIndent
&Ctrl;&Shift;
IToolsUnindentToolsClean Indentation&Ctrl;
DToolsCommentAdd appropriate comment tags, if available.
&Ctrl;&Shift;
DToolsUncommentRemoves the comment tags on the left.&Ctrl;
UToolsUppercase
&Ctrl;&Shift;
UToolsLowercase
&Alt;&Ctrl;
UToolsCapitalize&Ctrl;
JToolsJoin LinesToolsWord Wrap DocumentSettings -> Configure
EditormenuSettingsConfigure EditorColorsColor configuration for the: Background, Selected
text, Current line and Bracket highlighting.SettingsConfigure EditorFontsFonts configuration for display and printer: Font,
font Style and Size, with a preview window.SettingsConfigure EditorIndentationIndentation configuration: Automatically indent,
use Spaces to indent, 	 Keys indent,
&Backspace; key unindents, keep indent
profile, keep extra spaces.SettingsConfigure EditorSelectionSelection configuration: Persistent selections,
Overwrite selected text.SettingsConfigure EditorEditingEditing configuration: Word Wrap config.,
Whitespace config, Auto brackets, Smart home, Wrap
cursor, Maximum undo steps.SettingsConfigure EditorShortcutsShortcuts configuration.SettingsConfigure EditorHighlightingHighlighting configuration: Default styles and
Highlight mode.SettingsConfigure EditorView defaultsView defaults: Dynamic word wrap, show Line
numbers, show Icon border, show Folder markers if
available, sort Bookmarks menu method.SettingsConfigure EditorPluginsPlugins configuration: ⪚ kTexteditor
incremental search plugin, kTexteditor insert file
plugin, kTexteditor kdatatoolplugin...KrViewermenu
&Ctrl;&Shift;
GKrViewerGeneric viewer&krusader;'s internal viewer is actually
part of Konqueror, which can basically view every file
type viewable by &konqueror; (⪚
display pictures, play music, show the content of an
archive).&Ctrl;
TKrViewerText viewerView the file in text mode.
&Ctrl;&Shift;
HKrViewerHex viewerView the file in hex mode.
&Ctrl;&Shift;
EKrViewerText editorEdit the file in text mode.&Alt;
RightKrViewerNext TabNext browsing Tab.&Alt;
LeftKrViewerPrevious TabPrevious browsing Tab.
&Ctrl;&Shift;
DKrViewerDetach TabDetach browsing Tab and open in a new
window.&Esc;KrViewerClose current Tab.Close current browsing Tab.&Ctrl;
QKrViewerCloseCloses &krusader;'s viewer/editor
window.