# Config file for Code-Genie 3.0
# Edit the file to tailor it to your needs.
# Just save the file, and your settings will be applied immediately.

# For the further info on the usage of a given command just press F1
# while the cursor is over the name of the command.

# empty lines and lines starting with # will be treated as comment and will be skipped;
# separate variables from values with spaces and/or tabs

#special characters:
# \s      = space character
# \n      = newline character
# \t      = tabulator
# \\      = a single backslash
# \0      = null character (for examples see AddUserTool below)


# ----::[ general settings ]::----

StartWithLastEdited true
MinimizeToAppBar    false
LockEditedFiles     false
# if a file changed outside of the editor:
NotifyFileChanges   true
ShowTipOfTheDay     false
# to disable autosave set the interval to 0. The number here means minutes between two autosave events
AutosaveInterval    1

# ----::[ appearance ]::----

# comment out the line to set to its default value
#BgColor                #000000
#FgColor                #9BB396
#SelectedBgColor        #000000
#SelectedFgColor        #ffffff
#ActiveLine             #00FFFF
#Gutter                 #E0E0E0
Gutter                 #C1B396
#Whitespace             #AAAAAA
SelectorAllowDocking    false

# ----::[ text editor ]::----

TabSize                 4
ReplaceTabsWithSpaces   true
EnableVirtualSpace      false
ColorizeHyperlinks      false
LineNumbering           false
# DefaultLineSeparator specifies the line separator used for new files
# possible values are:
#     dos         (means \r\n at the end of line)
#     unix        (means a \n at the eol)
#     mac         (means a \r at the eol)
DefaultLineSeparator         unix

# ----::[ file associations ]::----
# associate file extensions to syntax files
#
# usage:
# DefaultSyntax syntaxFileTitle [extensions]
#

DefaultSyntax     c++          cpp,h,hpp,cc,c
DefaultSyntax     html         html,htm,mht,shtml
DefaultSyntax     php          php,php3,phtml
DefaultSyntax     javascript   js
DefaultSyntax     css          css
DefaultSyntax     conf         conf
DefaultSyntax     cgsyn        cgsyn
DefaultSyntax     vbscript     vbs
DefaultSyntax     java         java
DefaultSyntax     perl         pl
DefaultSyntax     euphoria     e,ex,exw,exu



# ----::[ binary editor ]::----

BytesPerRow          64
MotorolaByteOrder    false
HighLightActiveLine  false

# ----::[ accessing Code-Genie from outside of the program ]::----
# the followings are three-state switches:
#    set to true to set/update the shortcut
#    set to false to remove the shortcut
#    or comment it out to do nothing

# add Code-Genie to:
#AddCGToStartMenu             true
#AddCGToProgramsMenu          false
#AddCGToDesktop               false
AddCGToQuickLaunchBar        true
AddCGToEditWithMenu          true
AddCGToSendToMenu            true
#AddCGToIExplorerEditWithMenu true

# note: you can add Code-Genie to the View Source... menu of IE by replacing the original
# Notepad.exe file in the Windows and System32 directories with the notepad.exe file
# shipped with Code-Genie. Of course I suggest you back-up the original Notepad.exe before.

# ----::[ Page Setup for printing ]::----

# possible wildcards for Header and Footer:
# File name:          $FN
# File title:         $FT
# File path:          $FP
# File dir:           $FD
# File extension:     $FE
# Current directory:  $CD
# Page Number:        $PN
# Total No. of pages: $PT
# Time of printing:   $TP
# Time of file:       $TF
# Date of printing:   $DP
# Date of file:       $DF
# align Left:         $L
# align Center:       $C
# align Right:        $R

PrintHeader         $C$FN$R$PN/$PT
PrintFooter         $C$DP\s$TP
PrintMarginLeft     0.5
PrintMarginRight    0.5
PrintMarginTop      0.5
PrintMarginBottom   0.5
PrintInColor        true

# ----::[ user tools ]::----
# you have the ability to launch programs from within Code-Genie

# usage:
#
# AddUserTool MenuName Command [args] [options] [InintialDir]
#
# here arguments in [brackets] are optional.
# options can be one or more of the followings:
#         CaptureOutput
#         PromptForArgs
#
# you can use \0 to indicate that an argument is empty
#
# one default command is ShellExecute:
AddUserTool ShellExecute   \0    $FP
# it will e.g. launch your browser for .html files or InterDev for .asp files
#AddUserTool Euphoria_DOS_cap Ex.exe $FN CaptureOutput $FD
AddUserTool Euphoria_cap Exw.exe $FN CaptureOutput $FD
AddUserTool Euphoria_Ed Ed.pif $FN \0 $FD
AddUserTool Euphoria_DOS Ex.pif $FN \0 $FD
AddUserTool Euphoria_Win Exw.exe $FN \0 $FD
# some example commands to get you started:
#AddUserTool Running\sarj.exe    arj.exe    \0    CaptureOutput
#AddUserTool ls    du    -h    CaptureOutput
#AddUserTool tail
#            tail
#            -20l\s$FP
#            CaptureOutput|PromptForArgs
#            $FD

# shortcuts for user defined macros and code-fragments
# usage:
#   Shortcut macro_file function_name shortcut
# example:
Shortcut  vbs\sExamples.vbs  vbGreetings  Ctrl+Shift+G
Shortcut  html.cfl  html            Ctrl+Shift+N
Shortcut  html.cfl  paragraph       Ctrl+Shift+P
Shortcut  html.cfl  anchor          Ctrl+Shift+A
Shortcut  html.cfl  hyperlink       Ctrl+Shift+L
Shortcut  html.cfl  image           Ctrl+Shift+I
Shortcut  html.cfl  table           Ctrl+Shift+T
Shortcut  html.cfl  table_row       Ctrl+Alt+R
Shortcut  html.cfl  table_data      Ctrl+Alt+D
Shortcut  html.cfl  underline       Ctrl+Shift+U
Shortcut  html.cfl  bold            Ctrl+Shift+B
Shortcut  html.cfl  strong          Ctrl+Shift+S
Shortcut  html.cfl  ordered_list    Ctrl+Shift+O
Shortcut  html.cfl  unordered_list  Ctrl+Alt+U
Shortcut  html.cfl  definition_list Ctrl+Shift+D
Shortcut  html.cfl  list_item       Ctrl+Alt+L
Shortcut  html.cfl  line_break      Ctrl+Shift+K
Shortcut  html.cfl  pre_section     Ctrl+Shift+R
Shortcut  html.cfl  tag_line        Ctrl+Alt+T
Shortcut  html.cfl  superscript     Ctrl+Alt+J
Shortcut  html.cfl  subscript       Ctrl+Alt+N



# eof