Fan

 

pod

fluxText

Pod Facets

@podBuildHost = "BLAZE"
@podResDirs = [`locale/`]
@podBuildTime = DateTime("2009-07-24T12:27:37.015-04:00 New_York")
@podBuildUser = "Brian"
@podDepends = [Depend("sys 1.0"), Depend("gfx 1.0"), Depend("fwt 1.0"), Depend("flux 1.0")]
@podSrcDirs = [`fan/`, `test/`]

Symbols

charset

Charset charset := Charset("UTF-8")

Default char encoding to use when load/saving text files. Defaults to utf8.

convertTabsToSpaces

Bool convertTabsToSpaces := true

If true, then all tabs to converted to space characters based on the configured @tabSpacing. The default is true.

extToRules

Str:Str extToRules := ["fan":"fan"]

Map of file extension to rule names. The rule name should map to a SyntaxRules file called "syntax/syntax-{name}.fog". Extensions are matched to rules as follows:

  1. if match found for file.ext, then it takes precedence
  2. if the first line has shebang, then we attempt to match as "#!/bin/ext" or "#!/bin/env ext"
  3. use default rules
lineDelimiter

Str lineDelimiter := "\n"

Default line end delimiter to use when saving text files. Note that loading text files will accept any combination of "\n", "\r", or "\r\n" - but that if the doc is saved then this line ending is applied. Default is "\n".

stripTrailingWhitespace

Bool stripTrailingWhitespace := true

If true, then trailing whitespace on each text line is strip on save. Default is true.

styleBracket

RichTextStyle styleBracket := Color("#f00");}

styleBracketMatch

RichTextStyle styleBracketMatch := ...

styleComment

RichTextStyle styleComment := Color("#007700");}

styleFont

Font? styleFont := null

styleHighlightCurLine

Color styleHighlightCurLine := Color("#fff")

styleKeyword

RichTextStyle styleKeyword := Color("#00f");}

styleLiteral

RichTextStyle styleLiteral := Color("#007777");}

styleText

RichTextStyle styleText := Color("#000");}

tabSpacing

Int tabSpacing := 2

Number of spaces to use for a tab. Default is 2.