Package Editra :: Package src :: Package syntax :: Module diff
[hide private]

Module diff

source code

FILE: diff.py AUTHOR: Cody Precord


To Do:  

Author: Cody Precord <cprecord@editra.org

Functions [hide private]
 
Keywords(lang_id=0)
Returns Specified Keywords List
source code
 
SyntaxSpec(lang_id=0)
Syntax Specifications
source code
 
Properties(lang_id=0)
Returns a list of Extra Properties to set
source code
 
CommentPattern(lang_id=0)
Returns a list of characters used to comment a block of code
source code
 
KeywordString()
Returns the specified Keyword String
source code
Variables [hide private]
  __svnid__ = '$Id: diff.py 52852 2008-03-27 13:45:40Z CJP $'
  __revision__ = '$Revision: 52852 $'
  SYNTAX_ITEMS = [('STC_DIFF_ADDED', 'global_style'), ('STC_DIFF...
  FOLD = ('fold', '1')
  FOLD_COMPACT = ('fold.compact', '1')
Function Details [hide private]

Keywords(lang_id=0)

source code 

Returns Specified Keywords List

Parameters:
  • lang_id - used to select specific subset of keywords

SyntaxSpec(lang_id=0)

source code 

Syntax Specifications

Parameters:
  • lang_id - used for selecting a specific subset of syntax specs

Properties(lang_id=0)

source code 

Returns a list of Extra Properties to set

Parameters:
  • lang_id - used to select a specific set of properties

CommentPattern(lang_id=0)

source code 

Returns a list of characters used to comment a block of code

Parameters:
  • lang_id - used to select a specific subset of comment pattern(s)

KeywordString()

source code 

Returns the specified Keyword String

Note: not used by most modules


Variables Details [hide private]

SYNTAX_ITEMS

Value:
[('STC_DIFF_ADDED', 'global_style'),
 ('STC_DIFF_COMMAND', 'pre_style'),
 ('STC_DIFF_COMMENT', 'comment_style'),
 ('STC_DIFF_DEFAULT', 'default_style'),
 ('STC_DIFF_DELETED', 'error_style'),
 ('STC_DIFF_HEADER', 'comment_style'),
 ('STC_DIFF_POSITION', 'pre_style')]