This document explains how to configure Thot Editor. A user
configures Thot Editor by means of the .thotrc
registry file, normaly located in the HOME directory of the user. In this file
there is a section [thot]
where user can change configuration
options concerning :
User interface colors have default values that can be modified in the
.thotrc
registry file of the user. The following parameters are
used:
BackgroundColor=
background color of document windows.
DocSelectColor=
background color of the selected part and of
the insertion cursor.
The default value for Black and White screens is
Black
. If you can't see a selection in your screen,
change this value to White
.
ForegroundColor=
default color of text in documents.
MenuBgColor=
Background color of: menu bars at the top of
windows, the area where the selection message is displayed at the top of
document windows, menus, dialogue boxes.
ButtonColor=
background color of buttons in dialogue forms.
ScrollColor=
color of the scrolling bars.
Once the .thotrc
file has been modified, restart Thot
Editor.
Thot Editor allows the user to color documents with one of the 152 predefined
colors. During initialization, the editor loads its color table to present
them in a palette. The number of colors loaded by the editor can be divided by
two by editing the .thotrc
file.
ReduceColor= yes
Once the .thotrc
file has been modified, restart Thot
Editor.
The dialogue language is defined by the LANG
registry variable.
The default language is English (value en_US
).
For other languages support, please contact us.
The standard printer command is defined by the THOTPRINTER
registry variable. If this command is not well adapted of the current system,
the user have to update it in the print form or change this variable in its
thot.ini
registry.
It is convenient to be able to invoke menu commands from the keyboard. The Thot toolkit provides a facility that let user accomplish this. When the application starts, the Thot toolkit looks for the keyboard shortcuts file for the application. This file defines a list of associations between a keyboard sequence an the invoked corresponding command.
The syntax used to define association is:
Directive = KeySeq ':' IdentCommand ; KeysSeq = KeySet [ ',' KeySet ] ; KeySet = [ Modifier ] [ 'Shift' ] Key ; Key = '<Key>' KeyValue / '<Key>' SpecialKey ; Modifier = 'Ctrl' / 'Alt' / 'Meta' ; KeyValue = 'a' / 'b' / ... ; SpecialKey = 'Escape' / 'Delete' / 'Space' / 'BackSpace' / 'Return' / 'Up' / 'Down' / 'Left' / 'Right' / 'Home' / 'End' / 'F1' / ... / 'L1' / ... / 'R1' / ... ; IdentCommand = 'TtcInsertChar(' Char ')' / NAME '()' ; Char = KeyValue / OctalValue ; OctalValue = '\' NUMBER ;
See standard amaya.keyboard file in bin directory.
The list of available commands is:
TtcCreateDocument, TtcOpenDocument, TtcQuit.
Setschemapath, Setdocumentpath, TraiteMenuSpaces.
TtcDisplayMathKeyboard, TtcDisplayGraphicsKeyboard, TtcDisplayGreekKeyboard, TtcDisplayLatinKeyboard.
TraiteMenuHelp.
TtcSaveDocument, TtcSaveDocumentAs, LocSetBackupInterval, TtcSetupAndPrint, TtcOpenView, TtcCloseView, TtcCloseDocument.
TtcInsert, TtcCopySelection, TtcCopyToClipboard, TtcPaste, TtcPasteFromClipboard, TtcCutSelection, TtcDeleteSelection, TtcInclude, LocSplit, LocSurround, TtcChangeType, TtcHolophrast, TtcSearchText, TtcSearchEmptyElement, TtcSearchEmptyReference, TtcSearchReference, TtcSpellCheck.
LocChangePresentation, TtcSetVisibilityView, TtcSetZoomView, LocChangesynchronize, LocLister, TtcChangeCharacters, TtcChangeGraphics, TtcChangeColors, TtcChangeFormat, TtcStandardPresentation.
LocPaginateDocument, LocPaginateview, LocInsertpagebreak, LocGotopage.