home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
fte_036b.zip
/
fte-0.36
/
config
/
main.fte
< prev
next >
Wrap
Text File
|
1995-10-16
|
6KB
|
142 lines
#
# main configuration file
#
object GLOBAL {
# ScreenSizeX = 80; ScreenSizeY = 25;
CursorInsertStart = 84; CursorInsertEnd = 100; # % size in ins mode
CursorOverStart = 0; CursorOverEnd = 100; # % size in over mode
SysClipboard = 1; # use system (PM) clipboard if available
SelectPathname = 0; # select pathname when asking for file
LoadAfterQuit = 0; # prompt to load file after exit
LoadAfterClose = 1; # prompt to load new file after closing last
ShowMenuBar = 1; # show main menu bar
ShowScrollBar = 1; # show scroll bar
ScrollBarWidth = 1; # scroll bar width
WindowedPrompts = 0; #
DefaultModeName = 'PLAIN';
CompletionFilter = '^{\\c.+\\.o|a|{obj}|{bak}|{exe}|{lib}}|{.+~}|{CVS}$';
WSStyleSearch = 1;
PrintDevice = '\\DEV\\PRN';
CompileCommand = 'make';
# smart indentation.
C_Indent = 4;
C_BraceOfs = 0;
C_CaseOfs = 0;
C_CaseDelta = 4;
C_ClassOfs = 0;
C_ClassDelta = 4;
C_ColonOfs = -4;
C_CommentOfs = 0;
C_CommentDelta = 1;
REXX_Indent = 4;
# Grep
CompileRx = { 1, 2, 3, '^([\\w.\\\\_/\\-\\/]+):(\\d+):' };
# GCC
CompileRx = { 1, 2, 3, '^([\\w._/:\\-\\\\\\/]+):(\\d+):\\s(.*)$' };
# Borland C++
CompileRx = { 1, 2, 3, '^{Error}|{Warning}\\s(\\S+)\\s(\\d+):\\s(.*)$' };
# CSet++
CompileRx = { 1, 2, 3, '^([\\w:\\\\._\\-\\/]+)\\((\\d+):\\d+\\)(.*)$' };
# Watcom C++
CompileRx = { 1, 2, 3, '^([\\w:\\\\._\\-\\/]+)\\((\\d+)\\):\\x20{Error!}|{Warning!}(.*)$' };
# TI CC ?
CompileRx = { 1, 2, 3, '^"([\\w:\\\\._\\-\\/]+)", line (\\d+): (.*)$' };
}
#
# default mode settings
#
mode MODEOPTS {
ExpandTabs = 1; # expand tabs on display
TabSize = 8; # tab size 1-32
AutoIndent = 1; # autoindent
Insert = 1; # insert mode
StripChar = 13; # remove this char at eol when loading
LineChar = 10; # line separator for loading
AddCR = 1; # add CR when saving
AddLF = 1; # add LF when saving
LoadMargin = -1; # right margin for loading
HilitOn = 0; # syntax hilit on
ForceNewLine = 0; # force CR/LF on last saved line
ShowTabs = 0; # show tabs as small circle on display
IndentMode = 'PLAIN'; # indentation mode
Undo = 1; # undo/redo enabled
UndoLimit = 1023; # num of changes to save
KeepBackups = 1; # save backup files
MatchCase = 0; # find text case sensitively
BackSpKillTab = 0; # backspace kills entire tabs
DeleteKillTab = 0; # delete kills entire tabs
BackSpUnindents = 1; # backspace at bol unindents
SpaceTabs = 0; # insert tabs as spaces
IndentWithTabs = 0; # use tabs for auto-indent
WordWrap = 0; # word wrap (off = 0, line = 1, paragraph=2)
LeftMargin = 1; # wrap left margin
RightMargin = 72; # wrap right margin
SeeThruSel = 1; # transparent selections
ShowMarkers = 1; # visible eol/eof markers
Trim = 0; # remove spaces from eol when editing
DefFindOpt = 'i'; # default find options
DefFindReplaceOpt = ''; # default find/replace options
CursorThroughTabs = 1;
MultiLineHilit = 0;
WordChars = 'A-Za-z0-9';
MainMenu = 'Main'; # menu for menubar
LocalMenu = 'Local'; # local menu
}
include 'color.fte';
include 'menu.fte';
include 'keys.fte';
include 'm_plain.fte';
# these are dynamically loaded below
#include 'm_c.fte';
#include 'm_fte.fte';
#include 'm_ada.fte';
#include 'm_html.fte';
#include 'm_ipf.fte';
#include 'm_make.fte';
#include 'm_resdlg.fte';
#include 'm_diff.fte';
#include 'm_sh.fte';
#include 'm_pascal.fte';
#include 'm_perl.fte';
#include 'm_rexx.fte';
#include 'm_bin.fte';
#include 'm_vi.fte';
# first (PLAIN) must be loaded immediately
#mode PLAIN: MODEOPTS extern 'm_plain.fte';
#mode TEXT: PLAIN, '\\.\\c{TXT}|{DOC}$' extern 'm_plain.fte';
#mode MSG: PLAIN, '\\.\\cMSG$' extern 'm_plain.fte';
mode C: PLAIN, '\\.\\c{C|H|{CPP}|{HPP}|{CC}|{XS}}$' extern 'm_c.fte';
mode Ada: PLAIN, '\\.\\c{ADS}|{ADB}$' extern 'm_ada.fte';
mode HTML: PLAIN, '\\.\\c{HTML?}|{SGML?}$' extern 'm_html.fte';
mode IPF: PLAIN, '\\.\\cIPF$' extern 'm_ipf.fte';
mode MAKE: PLAIN, '\\c{makefile}|{\.{MAK}|{MK}$}' extern 'm_make.fte';
mode FTE: PLAIN, '\\.fte$', '^\\#\\# ww \\#\\#$' extern 'm_fte.fte';
mode RESOURCE: PLAIN, '\\.\\c{RC}|{DLG}$' extern 'm_resdlg.fte';
mode DIFF: PLAIN, '\\.\\c{DIFF?}$', '^diff ' extern 'm_diff.fte';
mode MERGE: PLAIN, '\\.\cMRG$' extern 'm_diff.fte';
mode SH: PLAIN, '\\.\\cSH$', '^\\#\\![^ ]*sh>' extern 'm_sh.fte';
mode PASCAL: PLAIN, '\\.\\cPAS$' extern 'm_pascal.fte';
mode PERL: PLAIN, '\\.\\cPL|M$',
'^{\\#\\! *}|{EXTPROC *}[^ ]*perl' extern 'm_perl.fte';
mode REXX: PLAIN, '\\.\\c{CMD}$' extern 'm_rexx.fte';
mode JAVA: PLAIN, '\\.\\c{JAVA}$' extern 'm_java.fte';
mode BIN: PLAIN, '.EXE.DLL.LIB.OBJ.BIN.ZIP.TAR.Z.GZ.COM.',
'[^\\t -~]' extern 'm_bin.fte';
#mode VIMODE: MODEOPTS extern 'm_vi.fte';