═══ 1. Help for Kon ═══ Kon Welcome to the Kon editor. Choose one of the following: Information about Kon Keys help Configure Kon Command line parameters Settings Registration Copyright ═══ 2. About Kon ═══ Kon Kon is a multi-purpose editor for any editing task. It edits text-files and binary-files with the built in hex-editor. Kon does not distinguish between text and binary files. A file is considered as a string of a certain size, therefore you have full control of the file which you are editing. The only characters that have a special meaning in Kon are LF(#10) and CR(#13) which is not displayed if it placed before an LF (Standard linebreak sequence). In some cases NULL(#0) affects editor function. Kon also feature: syntax highlighting Easily reconfigurable keys (Borland/WordStar by default) Macro support. Undo/redo on all editor functions with configurable buffer Multi-threaded operation Column block Word wrap Usable as a file viewer in read-only mode Autosave And much more... Since I have not cluttered the menu with commands that you still only will use from the keyboard, please browse through the command/keys list so that you don't miss any of the useful functions Kon provides. Kon, by BjФrn Andersson. ═══ 2.1. About BjФrn ═══ BjФrn Andersson Why? BjФrn wrote this editor because he is never satisfied with any editor, but his own. It's true. Editors are SO PERSONAL. The become your friend, since they're used for so much. He's written several editors for DOS, but never released any (which he guess is lucky), but they're probably out there somewhere anyway. Where? BjФrn lives in an apartment in the centre of Gothenburg, a wonderful town on the westcoast of Sweden. He is married to his wife Charlotta, with whom he spends most of his time. Who? BjФrn thinks the world would be a much better place without computers, but since they're here, why not make the best of them. He has worked as a programmer for some years, but after too much stress and work overload, he can't imagine himself working with computers as a profession again. So he's currently studying mathematics at the University of Gothenburg after a period of reflecting about his life. BjФrn is an enthusiast amateur photographer, he likes to draw little drawings and paint some paintings and when he's got the opportunity he really enjoys woodcrafting. BjФrn also likes to write about himself in third person. And, yes, he is very fond of cats. ═══ 3. Keys Help for Kon ═══ For a description of each command see Command list. Cursor movement ┌────────────────────────┬──────────────────────────────┐ │Line up │Up arrow │ ├────────────────────────┼──────────────────────────────┤ │Line down │Down arrow │ ├────────────────────────┼──────────────────────────────┤ │Character right │Right arrow │ ├────────────────────────┼──────────────────────────────┤ │Character left │Left arrow │ ├────────────────────────┼──────────────────────────────┤ │Beginning of line │Home │ ├────────────────────────┼──────────────────────────────┤ │End of line │End │ ├────────────────────────┼──────────────────────────────┤ │One page down │PageDown │ ├────────────────────────┼──────────────────────────────┤ │One page up │PageUp │ ├────────────────────────┼──────────────────────────────┤ │Top of file │Ctrl-Home │ ├────────────────────────┼──────────────────────────────┤ │End of file │Ctrl-End │ ├────────────────────────┼──────────────────────────────┤ │Word right │Ctrl-Right arrow │ ├────────────────────────┼──────────────────────────────┤ │Word left │Ctrl-Left arrow │ ├────────────────────────┼──────────────────────────────┤ │Set marker (0-9) │Ctrl-K+n │ ├────────────────────────┼──────────────────────────────┤ │Move to marker (0-9) │Ctrl-Q+n │ ├────────────────────────┼──────────────────────────────┤ │Move to block │Ctrl-Q+H │ ├────────────────────────┼──────────────────────────────┤ │Match bracket │Ctrl-V │ └────────────────────────┴──────────────────────────────┘ Edit keys ┌────────────────────────┬──────────────────────────────┐ │Insert new line at │Ctrl-N │ │cursor │ │ ├────────────────────────┼──────────────────────────────┤ │New line │Enter │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │Delete one character │Backspace │ │left │ │ ├────────────────────────┼──────────────────────────────┤ │Delete character at │Delete │ │cursor │ │ ├────────────────────────┼──────────────────────────────┤ │Delete line │Ctrl-Y │ ├────────────────────────┼──────────────────────────────┤ │Delete to end of line │Ctrl-Q+Y │ ├────────────────────────┼──────────────────────────────┤ │Delete word │Ctrl-T │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │Add block to clipboard │Alt-Insert │ ├────────────────────────┼──────────────────────────────┤ │Cut and add block to │Alt-Delete │ │clipboard │ │ ├────────────────────────┼──────────────────────────────┤ │Copy block to clipboard │Ctrl-Insert │ ├────────────────────────┼──────────────────────────────┤ │Cut block to clipboard │Shift-Delete │ ├────────────────────────┼──────────────────────────────┤ │Paste block from │Shift-Insert │ │clipboard │ │ ├────────────────────────┼──────────────────────────────┤ │Copy block │Ctrl-K+C │ ├────────────────────────┼──────────────────────────────┤ │Move block │Ctrl-K+V │ ├────────────────────────┼──────────────────────────────┤ │Read block from disk │Ctrl-K+R │ ├────────────────────────┼──────────────────────────────┤ │Write block to disk │Ctrl-K+W │ ├────────────────────────┼──────────────────────────────┤ │Hide block │Ctrl-K+H │ ├────────────────────────┼──────────────────────────────┤ │Clear block │Ctrl-Delete, Ctrl-K+Y │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │Toggle case in block │Ctrl-K+O │ ├────────────────────────┼──────────────────────────────┤ │Convert block to │Ctrl-K+E │ │lowercase │ │ ├────────────────────────┼──────────────────────────────┤ │Convert block to │Ctrl-K+E │ │uppercase │ │ ├────────────────────────┼──────────────────────────────┤ │Indent block │Ctrl-K+I │ ├────────────────────────┼──────────────────────────────┤ │Unindent block │Ctrl-K+U │ ├────────────────────────┼──────────────────────────────┤ │Convert tabs to spaces │Ctrl-B+S │ ├────────────────────────┼──────────────────────────────┤ │Convert spaces to tabs │Ctrl-B+T │ ├────────────────────────┼──────────────────────────────┤ │Format paragraphs in │Ctrl-B+Ctrl-R │ │block │ │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │Format paragraph │Ctrl-R │ └────────────────────────┴──────────────────────────────┘ Marking keys ┌────────────────────────┬──────────────────────────────┐ │Begin block │Ctrl-K+B │ ├────────────────────────┼──────────────────────────────┤ │End block │Ctrl-K+K │ ├────────────────────────┼──────────────────────────────┤ │Mark line down │Shift-Down arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark line up │Shift-Up arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark character left │Shift-Left arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark character right │Shift-Right arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark to beginning of │Shift-Home │ │line │ │ ├────────────────────────┼──────────────────────────────┤ │Mark to end of line │Shift-End │ ├────────────────────────┼──────────────────────────────┤ │Mark one page down │Shift-Page down │ ├────────────────────────┼──────────────────────────────┤ │Mark one page up │Shift-Page up │ ├────────────────────────┼──────────────────────────────┤ │Mark to beginning of │Shift-Ctrl-Home │ │file │ │ ├────────────────────────┼──────────────────────────────┤ │Mark to end of file │Shift-Ctrl-End │ ├────────────────────────┼──────────────────────────────┤ │Mark one word left │Shift-Ctrl-Left arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark one word right │Shift-Ctrl-Right arrow │ ├────────────────────────┼──────────────────────────────┤ │Mark line │Ctrl-K+L │ ├────────────────────────┼──────────────────────────────┤ │Mark word │Ctrl-K+T │ └────────────────────────┴──────────────────────────────┘ Toggles ┌────────────────────────┬──────────────────────────────┐ │Auto indent on/off │Ctrl-O+I │ ├────────────────────────┼──────────────────────────────┤ │Set Column block │Ctrl-K+G │ ├────────────────────────┼──────────────────────────────┤ │Set normal block │Ctrl-K+M │ ├────────────────────────┼──────────────────────────────┤ │Set column block on/off │Ctrl-K+N │ ├────────────────────────┼──────────────────────────────┤ │Insert/overwrite │Insert │ ├────────────────────────┼──────────────────────────────┤ │Word wrap on/off │Ctrl-O+W │ └────────────────────────┴──────────────────────────────┘ Misc commands ┌────────────────────────┬──────────────────────────────┐ │Find text │Ctrl-Q+F │ ├────────────────────────┼──────────────────────────────┤ │Replace text │Ctrl-Q+A │ ├────────────────────────┼──────────────────────────────┤ │Repeat last find/replace│Ctrl-L │ │operation │ │ ├────────────────────────┼──────────────────────────────┤ │Jump to line │Ctrl-J │ ├────────────────────────┼──────────────────────────────┤ │Jump to absolute pos │Ctrl-P │ ├────────────────────────┼──────────────────────────────┤ │Record macro │Ctrl-Shift-R │ ├────────────────────────┼──────────────────────────────┤ │Play macro │Ctrl-Shift-P │ ├────────────────────────┼──────────────────────────────┤ │Undo │Alt-Backspace │ ├────────────────────────┼──────────────────────────────┤ │Redo │Alt-Shift-Backspace │ ├────────────────────────┼──────────────────────────────┤ │Save text │Ctrl-K+S, F2 │ ├────────────────────────┼──────────────────────────────┤ │Save and quit buffer │Ctrl-K+D │ ├────────────────────────┼──────────────────────────────┤ │Quit buffer │Alt-X, Ctrl-F4, Ctrl-K+Q │ ├────────────────────────┼──────────────────────────────┤ │Hex edit │Ctrl-H, ESC │ ├────────────────────────┼──────────────────────────────┤ │Memo │Ctrl-M │ └────────────────────────┴──────────────────────────────┘ ═══ 4. Configure Kon ═══ Kon can easily be reconfigured for your own style. Choose one of the following: Configure keys Configure syntax highlighting ═══ 5. Command line parameters ═══ Kon <-h> <-r-> .. -h : Startup in hex mode -r : Startup in Read-only mode : File to load. Kon accepts wildcards. ═══ 5.1. Configure keys ═══ A keyboard configuration file is named anyname.KBD where "anyname" is a name of your decision. A command can appear in the configuration file several times with different key combinations, and all are valid. However, if the command appears on the menu, only the first occurence will be displayed. It is also possible to define simple macros, which are used as commands. Commands are case insensitive. The file is constructed as follows: MACRO Macro Command1, Command2 Command3 ... "string" END Command1 : Key1+Key2+Key3 Command2 : Key1+Key2+Key3 Macro : Key1+Key2+Key3 ··· Key is a key combination composed of (a) dead key(s) and another key: Ctrl-Alt-R "String" is a string to be inserted in the file. This can only be used within macros. Extract from a keyboard file: MACRO InsertDate ScreenOFF CursorEndOfLine, NewLine "Date: ",DateYYYYMMDD ScreenON END CursorPageDown : PageDown CursorPageUp : PageUp CursorDocStart : Ctrl-Home CursorDocEnd : Ctrl-End InsertDate : Ctrl-D Note: There are still some users who hasn't converted to the AT-style keyboard. When you press Shift-End on the numeric keypad and expect to get a Shift-End command you instead get a "1". In order to get a Shift-End, define MarkEndOfLine : Shift-1 This won't affect pressing Shift-1 on the alphanumeric part of the keyboard. Kon is configured for Borland/WordStar keyboard in the file STANDARD.KBD. Command list Key list ═══ 5.2. Kon commands ═══ The following list shows command whis is used in a keyboard configuration file. In order to connect a key to the command see key list. Cursor movement ┌────────────────────────┬──────────────────────────────┐ │CursorUp │Moves the cursor on line up. │ ├────────────────────────┼──────────────────────────────┤ │CursorDown │Moves the cursor one line │ │ │down. │ ├────────────────────────┼──────────────────────────────┤ │CursorRight │Moves the cursor one character│ │ │right. │ ├────────────────────────┼──────────────────────────────┤ │CursorLeft │Moves the cursor one character│ │ │left. │ ├────────────────────────┼──────────────────────────────┤ │CursorStartOfLine │Moves the cursor to the line │ │ │start. │ ├────────────────────────┼──────────────────────────────┤ │CursorEndOfLine │Moves the cursor to end of │ │ │line. │ ├────────────────────────┼──────────────────────────────┤ │CursorPageDown │Moves the cursor one │ │ │screenheight down. │ ├────────────────────────┼──────────────────────────────┤ │CursorPageUp │Moves the cursor one │ │ │screenheight up. │ ├────────────────────────┼──────────────────────────────┤ │CursorDocStart │Moves the cursor to start of │ │ │document. │ ├────────────────────────┼──────────────────────────────┤ │CursorDocEnd │Moves the cursor to the end │ │ │document. │ ├────────────────────────┼──────────────────────────────┤ │CursorWordRight │Moves the cursor on word │ │ │right. │ ├────────────────────────┼──────────────────────────────┤ │CursorWordLeft │Moves the cursor one word │ │ │left. │ ├────────────────────────┼──────────────────────────────┤ │SetMarker0-9 │Sets marker position n to │ │ │cursor position. │ ├────────────────────────┼──────────────────────────────┤ │MoveToMarker0-9 │Moves cursor postion to marker│ │ │position n. │ ├────────────────────────┼──────────────────────────────┤ │MoveToBlock │Moves the cursor to beginning │ │ │of marked block. │ ├────────────────────────┼──────────────────────────────┤ │BracketMatch │Moves cursor to matching │ │ │bracket at cursor position. │ └────────────────────────┴──────────────────────────────┘ Edit keys ┌────────────────────────┬──────────────────────────────┐ │InsertNewLine │Inserts a linebreak at cursor.│ ├────────────────────────┼──────────────────────────────┤ │NewLine │Inserts a line break at cursor│ │ │and move cursor down. │ ├────────────────────────┼──────────────────────────────┤ │Space │Inserts a space at cursor. │ ├────────────────────────┼──────────────────────────────┤ │Tab │Inserts a tab at cursor. │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │BackSpace │Deletes character left of │ │ │cursor. │ ├────────────────────────┼──────────────────────────────┤ │Delete │Delete character at cursor. │ ├────────────────────────┼──────────────────────────────┤ │DeleteLine │Delete line at cursor. │ ├────────────────────────┼──────────────────────────────┤ │DeleteToEOL │Delete from cursor to end of │ │ │line. │ ├────────────────────────┼──────────────────────────────┤ │DeleteWord │Delete word on cursor. │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │AddBlockToClipbrd │Add marked block to clipboard.│ ├────────────────────────┼──────────────────────────────┤ │CutAndAddBlockToClipbrd │Add marked block to clipboard │ │ │and delete it from file. │ ├────────────────────────┼──────────────────────────────┤ │CopyBlockToClipbrd │Copy marked block to clipboard│ ├────────────────────────┼──────────────────────────────┤ │CutBlockToClipbrd │Copy marked block to clipboard│ │ │and delete it from file. │ ├────────────────────────┼──────────────────────────────┤ │PasteBlockFromClipbrd │Paste block from clipboard. │ ├────────────────────────┼──────────────────────────────┤ │CopyBlock │Copy marked block to cursor │ │ │position. │ ├────────────────────────┼──────────────────────────────┤ │MoveBlock │Move marked block to cursor │ │ │position. │ ├────────────────────────┼──────────────────────────────┤ │ReadBlock │Read block from disk and │ │ │insert at cursor. │ ├────────────────────────┼──────────────────────────────┤ │WriteBlock │Write marked block to disk. │ ├────────────────────────┼──────────────────────────────┤ │HideBlock │Hide block. │ ├────────────────────────┼──────────────────────────────┤ │ClearBlock │Delete marked block. │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │BlockToggle │Toggles case in marked block. │ ├────────────────────────┼──────────────────────────────┤ │BlockToLower │Convert marked block to │ │ │lowercase. │ ├────────────────────────┼──────────────────────────────┤ │BlockToUpper │Convert marked block to │ │ │uppercase. │ ├────────────────────────┼──────────────────────────────┤ │IndentBlock │Indents marked block one space│ │ │right. │ ├────────────────────────┼──────────────────────────────┤ │UnindentBlock │Unindent marked block one │ │ │space left. │ ├────────────────────────┼──────────────────────────────┤ │BlockSpaceFix │Convert tabs to spaces in │ │ │marked block. │ ├────────────────────────┼──────────────────────────────┤ │BlockTabFix │Convert spaces to tabs in │ │ │marked block. │ ├────────────────────────┼──────────────────────────────┤ │FormatParagraphsInBlock │Format all paragraphs in │ │ │marked block. │ └────────────────────────┴──────────────────────────────┘ ┌────────────────────────┬──────────────────────────────┐ │FormatParagraph │Adjusts a paragraph according │ │ │to right margin. A paragraph │ │ │is ended with an empty line. │ └────────────────────────┴──────────────────────────────┘ Marking keys ┌────────────────────────┬──────────────────────────────┐ │BeginBlock │Marks the beginning of a │ │ │block. │ ├────────────────────────┼──────────────────────────────┤ │EndBlock │Marks the end of a block. │ ├────────────────────────┼──────────────────────────────┤ │MarkDown │Marks from cursor position to │ │ │the same column on the next │ │ │line. │ ├────────────────────────┼──────────────────────────────┤ │MarkUp │Marks from cursor position to │ │ │the same column on the │ │ │previous line. │ ├────────────────────────┼──────────────────────────────┤ │MarkLeft │Marks from cursor position one│ │ │character left. │ ├────────────────────────┼──────────────────────────────┤ │MarkRight │Marks from cursor position one│ │ │character right. │ ├────────────────────────┼──────────────────────────────┤ │MarkStartOfLine │Marks form cursor position to │ │ │linestart. │ ├────────────────────────┼──────────────────────────────┤ │MarkEndOfLine │Maks from cursor position to │ │ │end of line. │ ├────────────────────────┼──────────────────────────────┤ │MarkPageDown │Marks from cursor position one│ │ │screenheight down, same │ │ │column. │ ├────────────────────────┼──────────────────────────────┤ │MarkPageUp │Marks from cursor position one│ │ │screenheight up, same column. │ ├────────────────────────┼──────────────────────────────┤ │MarkStartOfDoc │Marks from cursor position to │ │ │file start. │ ├────────────────────────┼──────────────────────────────┤ │MarkEndOfDoc │Marks from cursor position to │ │ │file end. │ ├────────────────────────┼──────────────────────────────┤ │MarkWordLeft │Marks from cursor position to │ │ │one word left. │ ├────────────────────────┼──────────────────────────────┤ │MarkWordRight │Marks from cursor position to │ │ │one word right. │ ├────────────────────────┼──────────────────────────────┤ │MarkLine │Marks the current line. │ ├────────────────────────┼──────────────────────────────┤ │MarkWord │Marks the word at cursor │ │ │position. │ └────────────────────────┴──────────────────────────────┘ Toggles ┌────────────────────────┬──────────────────────────────┐ │AutoIndent │Turns autoindent on/off. │ ├────────────────────────┼──────────────────────────────┤ │SetColumnBlock │Turn column block on. │ ├────────────────────────┼──────────────────────────────┤ │SetNormalBlock │Sets normal block on. │ ├────────────────────────┼──────────────────────────────┤ │ToggleColumn │Turns columnblock on/off. │ ├────────────────────────┼──────────────────────────────┤ │ToggleInsert │Toggle insert/overwrite mode. │ ├────────────────────────┼──────────────────────────────┤ │ToggleWordWrap │Toggle Word wrap on/off. │ └────────────────────────┴──────────────────────────────┘ Misc commands ┌────────────────────────┬──────────────────────────────┐ │FindText │Find text. │ ├────────────────────────┼──────────────────────────────┤ │ReplaceText │Replace text. │ ├────────────────────────┼──────────────────────────────┤ │RepeatFind │Repeat last find/replace │ │ │operation. │ ├────────────────────────┼──────────────────────────────┤ │JumpToLine │Jump to line. │ ├────────────────────────┼──────────────────────────────┤ │JumpToPos │Jump to absolute position. │ ├────────────────────────┼──────────────────────────────┤ │NewFile │Open a new empty buffer. │ ├────────────────────────┼──────────────────────────────┤ │LoadFile │Open file in a new buffer. │ ├────────────────────────┼──────────────────────────────┤ │LoadFileInSameBuffer │Open file in same buffer. │ ├────────────────────────┼──────────────────────────────┤ │RecordMacro │Record a keyboard macro. │ ├────────────────────────┼──────────────────────────────┤ │PlayMacro │Playback recorded macro. │ ├────────────────────────┼──────────────────────────────┤ │Undo │Undo the last operation. │ ├────────────────────────┼──────────────────────────────┤ │Redo │Redo the last undone │ │ │operation. │ ├────────────────────────┼──────────────────────────────┤ │SaveText │Save text in buffer. │ ├────────────────────────┼──────────────────────────────┤ │SaveAs │Save text in buffer with a new│ │ │name. │ ├────────────────────────┼──────────────────────────────┤ │SaveAndQuit │Save text in buffer and quit. │ ├────────────────────────┼──────────────────────────────┤ │Quit │Quit buffer. │ ├────────────────────────┼──────────────────────────────┤ │HexEdit │Edit file in binary mode. │ ├────────────────────────┼──────────────────────────────┤ │Memo │Pops up a memo window. Use as │ │ │you wish. The text is stored │ │ │globally in the INI-file. │ ├────────────────────────┼──────────────────────────────┤ │DateYYYYMMDD │Inserts date at current │ │ │position in the format: │ │ │1997-01-30 │ ├────────────────────────┼──────────────────────────────┤ │DateMMDDYYYY │Inserts date at current │ │ │position in the format: │ │ │01-30-1997 │ ├────────────────────────┼──────────────────────────────┤ │DateDDMMYYYY │Inserts date at current │ │ │position in the format: │ │ │30-01-1997 │ ├────────────────────────┼──────────────────────────────┤ │ScreenOFF │Turns off screen update. (Use │ │ │in macros) │ ├────────────────────────┼──────────────────────────────┤ │ScreenON │Turns screen update back on. │ │ │(Use in macros) │ ├────────────────────────┼──────────────────────────────┤ │Print │Open the print dialog. │ └────────────────────────┴──────────────────────────────┘ ═══ 5.3. Kon keys ═══ Any "white" key. Ctrl Shift Alt UpArrow DownArrow RightArrow LeftArrow Home End PageUp PageDown Enter NewLine BackSpace Tab Delete Insert Space Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 ═══ 5.4. Configure syntax highlighting ═══ Syntax highlighting is used to display keywords in a source file with different color than the other text. This makes the code much easier to read. A syntax highlighting file is named anyname.SYN where "anyname" is a name of your decision, A syntax highlighting file consists of at least one of three type of headers: @PAIR @KEYWORD @WORDTOEOL There are also two additional headers that are used to define when case sensitive or case insensitive words follow: @CASE_SENSITIVE @CASE_INSENSITIVE Default is case sensitive. @PAIR defines bracket type of words like "", /* */ etc. @PAIR Start fg bg End m Start is the start word. fg is the foreground color. bg is the background color. Start is the end word. m is optional, and defines that the pair can stretch over several lines. Selecting this option may slow down editor operation. @KEYWORD defines single keywords. @KEYWORD KeyWord fg bg x Keyword is the keyword. fg is the foreground color. bg is the background color. x is optional, and defines that the keyword can appear anywhere in a string without delimitor chars in front of and after the keyword. @WORDTOEOL defines a keyword which affects color to end of line. @WORDTOEOL KeyWord fg bg c Keyword is the keyword. fg is the foreground color. bg is the background color. c is optional, and defines that the keyword defines a comment to end of line. Extracts from a syntax highlighting file for C: @PAIR /* 8 -1 */ m " 8 -1 " ' 8 -1 ' @WORDTOEOL #define 13 -1 #elif 13 -1 #else 13 -1 #endif 13 -1 // 8 -1 c @KEYWORD break 1 -1 case 1 -1 continue 1 -1 default 1 -1 do 1 -1 else 1 -1 Kon has configuration files for IPF, HTML and C++ in the files IPF.SYN, HTML.SYN and CPP.SYN. ═══ 6. Kon settings ═══ Editor options Editor settings Display settings Font/Color settings Syntax hilight settings Misc settings ═══ 6.1. Editor options ═══ Create backup file Check to create a backup file when saving. Word wrap Check to split lines not fitting within the right margin while typing. Auto indent Check to set autoindent on. Paste word into find dlg. Check to paste the word at cursor position into find dialog when it is opened. If Paste block into find dlg. is set, it has precedence over this setting. Paste block into find dlg. Check to paste the marked block into find dialog when it is opened. Optimal fill Check to fill with tabs instead of spaces if possible. Use tab character Check to set autoindent on. Column blocks Check to use column blocks. Persistent blocks With persistent blocks checked, blocks remain marked until it is deleted, or until another block is marked. With persistent block unchecked, selected text will be unmarked if the cursor moves. If the delete or backspace key is pressed, the entire block will be removed. Inserting text will replace the marked block with the inserted text. CR+LF Insert CR+LF at line end. LF Insert LF at line end. Cursor after block Check to move the cursor to end of block when a block is pasted or copied. ═══ 6.2. Editor settings ═══ Tab size Set the size in spaces of a tab. Right margin Set the right margin. This has only effect if "show right margin" is set. Default extension Fill in the extension to add to the filename. Separators Fill in the chars that separate words. Chars req. space Fill in the chars that require a space afterwards. (for word wrap) ═══ 6.3. Font/Color settings ═══ Font Choose a font from the list to use in the editing window. Kon only uses non-proportional fonts. Size Choose a font size from the list. Color index Select the color you want to set. Foreground Select foreground color of the text item selected. Background Select background color of the text item selected. Text item Select the text item which you want to change colors on. ═══ 6.4. Display settings ═══ Syntax highlighting Check to set syntax highlighting on. Show right margin Check to display where the right margin is with a gray line on Show tabs Check to display tabs as "·" instead of as a space. Width Enter the size in characters for the initial width of editor window. Height Enter the size in characters for the initial height of editor window. Save window pos & size Check to save the window coordinates when a window is closed. Next opened window will open at the same position. This setting overrides the Width and Height settings above. ═══ 6.5. Syntax hilight settings ═══ Extension Select which extension to connect a syntax hilighting file for. Syntax file Select the syntax highlight file to connect to chosen extension. Add extension Add extension to extension list. Remove extension Remove selected extension from list. ═══ 6.6. Misc settings ═══ Autosave in s. Set the delay between autosaves. Files will be stored in the directory where KON.EXE resides. If the system hangs and you lose edits, search in that directory for *.SAV files. Undo buffer size (bytes) Set the size of the undo buffer in bytes. The undo buffer is a circular buffer, which means that the first edits will be removed from the undo buffer if the buffer becomes full, First In First Out. The number of bytes doesn't reflect the actual number of chars which can be undone, since there is an overhead for each edit to store position, size etc.. Key binding Choose the keyboard configuration file to be used. The list displays all *.KBD files found in the startup directory. Save local INI Check to save a local configuration file. Local INI-file are saved each time you quit your editor. This means that your whole harddisk can be cluttered with INI-files. Use with caution. Msg box on string not found Check to display a message box when a string is not found, instead of only a message at the status line. ═══ 7. Register Kon! ═══ Kon is a shareware program. That means that you may use and evaluate Kon for a period of 30 days, before you decide if you want to buy the program or not. Since I have not crippled the program, except for a notice at program exit, the program should be considered complete and fully functional for you to fully test and avaluate it. Therefore, if you do not pay for the program after 30 days, you are not allowed to use it and if you use it anyway, you're a thief. That's it. If you register the program you will receive a license number which allows you to use this version of Kon and all versions and bugfixes up to the next major revision (i.e. 2.x). As a registered user you will of course get a discount on the next major revision. When you register Kon, the registration notice at program exit will of course disappear. How to register Where to get the latest version Disclaimer ═══ 7.1. How to register ═══ The price of Kon is US$20. There are two ways of registering: 1. Send me cash or a cheque by mail. If you send a cheque, add $5 for the cashing fee. 2. Register through BMT Micro. Please read BMTMICRO.TXT for further information. Along with the registration fee, please also supply the following information: Your full name and adress Fax number (if applicable) E-mail adress (if applicable) Version number of Kon. (See Help-About...) Where you received Kon. For what tasks you're using Kon. What you think of Kon, improvements etc. Send to: BjФrn Andersson Vidblicksg. 13A S-412 57 Gothenburg Sweden E-mail: bjorn_and@geocities.com In return, I will send you your license information the fastest way. If you do not have e-mail or fax-number, please supply an adressed envelope. You can always get in touch with me by e-mail, for suggestions, bugs etc. Disclaimer ═══ 7.2. Where to get the latest version ═══ The latest version of Kon is available on the WWW at: http://www.geocities.com/SiliconValley/Pines/1827 ═══ 7.3. Disclaimer ═══ IMPORTANT: Kon is provided "as is". The author is not responsible for any damage that Kon might cause, directly or indirectly. There is no warranty of any kind. By using the shareware version or the registered version, you agree to these terms. ═══ 8. Copyright ═══ KON is Copyright(c) 1997 BjФrn Andersson ═══ 9. Find dialog ═══ Text to find Enter the text to find, or choose a previous from the drop-down list. Case sensitive Check to set case sensitive Whole words Check to search for whole words only. The word can not be part of a string. From cursor Check to seek from cursor position. Entire scope Check to seek from file start. Forward Check to seek forward. Backward Check to seek backward. Global Check to seek in the whole file. Selected Check to seek within marked block only. ═══ 10. Replace dialog ═══ Text to find Enter the text to find, or choose a previous from the drop-down list. New text Enter the text to replace with, or choose a previous from the drop-down list. Case sensitive Check to set case sensitive Whole words Check to search for whole words only. The word can not be part of a string. Prompt on replace Check to ask before replace. Repeat Set the number of replaces to do. From cursor Check to seek from cursor position. Entire scope Check to seek from file start. Forward Check to seek forward. Backward Check to seek backward. Global Check to seek in the whole file. Selected Check to seek within marked block only. ═══ 11. Register ═══ Register Zed by entering your name and license number, which you receive upon registration. Be sure to enter both name and license number exactly as entered. ═══ 11.1. Print dialog ═══ Scope All Print the whole document. Selected Print selected text. Lines/Limit Print specified lines. If the file is viewed in the hexeditor, entry fields specifies byte positions in the file. Target Init codes Enter a string to send to the printer before printing the document. The codes used are the same as for header and footer. See below. Kon does not use the printer driver in OS/2. Port Select a printer port to print to. You can also specify a file where to send the printed document. Page Left margin Enter the left margin in characters. Page length Enter the page length in lines. Header Enter the header for the page. You can enter certain control-codes in this field and the footer field. &l: Print an empty line &n: Print the name of the printed document. &p: Print the current page number. &f: Send a form-feed. &e: Escape character Footer Enter the footer for the page. You can enter the same control-codes in this field as in the Header field. ═══ ═══ The NULL character can cause unexpected behaviour in columnblock editing if it appears within a block. It also truncates text copied to the clipboard. Use Copy/Move block instead. ═══ ═══ Borland is a registered trademark of Borland International, Inc. WordStar is a registered trademark. ═══ ═══ 0 = Background(White) 1 = Blue 2 = Red 3 = Pink 4 = Green 5 = Cyan 6 = Foreground(black) 7 = Yellow 8 = Dark gray 9 = Dark blue 10 = Dark red 11 = Dark pink 12 = Dark green 13 = Dark cyan 14 = Brown 15 = Pale gray -1 = Background color