home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / fte0827.zip / config / m_plain.fte < prev    next >
Text File  |  1999-05-26  |  3KB  |  74 lines

  1. # PLAIN mode
  2.  
  3. colorize PLAIN {
  4.     SyntaxParser = 'PLAIN';
  5.  
  6.     color {
  7.         { 'Normal',     'Editor_Default' },
  8.     };
  9. }
  10.  
  11. mode PLAIN {
  12.     ExpandTabs          = 1;         # expand tabs on display
  13.     TabSize             = 8;         # tab size 1-32
  14.     AutoIndent          = 1;         # autoindent
  15.     Insert              = 1;         # insert mode
  16.     DetectLineSep       = 1;         # autodetect eol separator
  17.     StripChar           = 13;        # remove this char at eol when loading
  18.     LineChar            = 10;        # line separator for loading
  19.     AddCR               = 1;         # add CR when saving
  20.     AddLF               = 1;         # add LF when saving
  21.     LoadMargin          = -1;        # right margin for loading
  22.     HilitOn             = 0;         # syntax hilit on
  23.     ForceNewLine        = 0;         # force CR/LF on last saved line
  24.     ShowTabs            = 0;         # show tabs as small circle on display
  25.     Colorizer           = 'PLAIN';
  26.     IndentMode          = 'PLAIN';   # indentation mode
  27.     Undo                = 1;         # undo/redo enabled
  28.     UndoLimit           = 1023;      # num of changes to save
  29.     UndoMoves           = 0;         # undo cursor movement commands
  30.     KeepBackups         = 0;         # save backup files
  31.     MatchCase           = 0;         # find text case sensitively
  32.     BackSpKillTab       = 0;         # backspace kills entire tabs
  33.     DeleteKillTab       = 0;         # delete kills entire tabs
  34.     BackSpUnindents     = 1;         # backspace at bol unindents
  35.     SpaceTabs           = 0;         # insert tabs as spaces
  36.     IndentWithTabs      = 0;         # use tabs for auto-indent
  37.     WordWrap            = 0;         # word wrap (off = 0, line = 1, paragraph=2)
  38.     LeftMargin          = 1;         # wrap left margin
  39.     RightMargin         = 72;        # wrap right margin
  40.     SeeThruSel          = 0;         # transparent selections
  41.     ShowMarkers         = 1;         # visible eol/eof markers
  42.     Trim                = 0;         # remove whitespace from eol when editing
  43.     TrimOnSave          = 0;         # remove whitespace before saving
  44.     DefFindOpt          = 'i';       # default find options
  45.     DefFindReplaceOpt   = 'a';       # default find/replace options
  46.     CursorThroughTabs   = 1;
  47.     MultiLineHilit      = 0;
  48.     WordChars           = 'A-Za-z0-9_';
  49.     Abbreviations       = 1;
  50.     PersistentBlocks    = 1;         # 1 = persistent blocks, 0 = transient
  51.     BackSpKillBlock     = 0;         # to delete block if marked
  52.     DeleteKillBlock     = 0;         #  ""
  53.     InsertKillBlock     = 0;         # inserting char kills selected block
  54. }
  55.  
  56. # for viewing nnrrooffff output (do NOT use for editing).
  57.  
  58. colorize CATBS {
  59.     SyntaxParser        = 'CATBS';
  60.     
  61.     color {
  62.         { 'Normal',      'Editor_Default' },
  63.         { 'Keyword',     'Editor_Keywords' },
  64.         { 'Symbol',      'Editor_Bold' },
  65.     };
  66. }
  67.  
  68. mode CATBS: PLAIN {
  69.     FileNameRx          = /\.\c{MAN}|{CAT}$/;   # == never
  70.     HilitOn             = 1;
  71.     Colorizer           = 'CATBS';
  72.     ReadOnly            = 1; # this mode cannot edit properly
  73. }
  74.