~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to wxPython/wx/tools/Editra/src/syntax/mssql.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2008-06-30 22:02:17 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080630220217-vag3tkfp91t0453d
Tags: 2.8.8.0-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.8.0.tar.bz2, remove upstream debian dir (LP: #244355).
* Add debian/watch file, LP: #242164.
* Edit get-orig-source target to provide a .orig.tar.gz with the same md5 for
  each .orig.tar.gz generated.
* debian/rules: remove get-orig-source from .PHONY target.
* debian/control.in: add python-wxtools in python-wxgtk=V=U Suggests field.
* Do not apply fix_from_upstream_svn_r52465 patch, not needed.
* Regenerate octave_oct, tcl_tk_tcl patches for the new version.
* Fix spelling-error-in-description lintian warning.
* Fix depends-on-obsolete-package lintian error.
* Fix executable-not-elf-or-script lintian warnings.
* Fix script-not-executable lintian warnings.
* Fix missing-dependency-on-libc lintian error.
* Fix dbg-package-missing-depends lintian warnings.
* Fix package-contains-empty-directory lintian warnings.
* Fix manpage-has-errors-from-man lintian warning.
* Fix image-file-in-usr-lib lintian warnings:
  - add editra_pixmaps patch
  - add xrced_bitmaps patch
* Fix unused-override lintian info.
* Fix malformed-override lintian errors.
* Fix extra-license-file lintian warnings.
* Install upstream wx.pth instead of generated file links (LP: #211553).
* Add editra.png, pyshell.png (encoded using uuencode) icons, LP: #236876:
  - debian/rules: use uudecode to decode .png icons.
* Add a new pyshell.xpm icon.
* Fix doc-base-file-references-missing-file lintian error.
* Fix doc-base-unknown-section lintian warning.
* Fix ruby-script-but-no-ruby-dep lintian errors.
* Fix wish-script-but-no-wish-dep lintian errors.
* Fix missing-dep-for-interpreter errors.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Purpose: Define Microsoft SQL syntax for highlighting and other features    #
4
4
# Author: Cody Precord <cprecord@editra.org>                                  #
5
5
# Copyright: (c) 2007 Cody Precord <staff@editra.org>                         #
6
 
# Licence: wxWindows Licence                                                  #
 
6
# License: wxWindows License                                                  #
7
7
###############################################################################
8
8
 
9
9
"""
10
 
#-----------------------------------------------------------------------------#
11
 
# FILE: mssql.py                                                              #
12
 
# AUTHOR: Cody Precord                                                        #
13
 
#                                                                             #
14
 
# SUMMARY:                                                                    #
15
 
# Lexer configuration module for Microsoft SQL.                               #
16
 
#                                                                             #
17
 
# @todo: too many to list                                                     #
18
 
#-----------------------------------------------------------------------------#
 
10
FILE: mssql.py                                                              
 
11
AUTHOR: Cody Precord                                                        
 
12
@summary: Lexer configuration module for Microsoft SQL.
 
13
@todo: too many to list                                                     
 
14
 
19
15
"""
20
16
 
21
17
__author__ = "Cody Precord <cprecord@editra.org>"
22
 
__svnid__ = "$Id: mssql.py 49250 2007-10-20 02:40:49Z CJP $"
23
 
__revision__ = "$Revision: 49250 $"
 
18
__svnid__ = "$Id: mssql.py 52852 2008-03-27 13:45:40Z CJP $"
 
19
__revision__ = "$Revision: 52852 $"
24
20
 
25
21
#-----------------------------------------------------------------------------#
26
22
# Dependancies
27
 
 
 
23
import synglob
28
24
#-----------------------------------------------------------------------------#
29
25
 
30
26
#---- Keyword Specifications ----#
81
77
    @param lang_id: used for selecting a specific subset of syntax specs
82
78
 
83
79
    """
84
 
    return SYNTAX_ITEMS
 
80
    if lang_id == synglob.ID_LANG_MSSQL:
 
81
        return SYNTAX_ITEMS
 
82
    else:
 
83
        return list()
85
84
 
86
85
def Properties(lang_id=0):
87
86
    """Returns a list of Extra Properties to set
88
87
    @param lang_id: used to select a specific set of properties
89
88
 
90
89
    """
91
 
    return [FOLD]
 
90
    if lang_id == synglob.ID_LANG_MSSQL:
 
91
        return [FOLD]
 
92
    else:
 
93
        return list()
92
94
 
93
95
def CommentPattern(lang_id=0):
94
96
    """Returns a list of characters used to comment a block of code
95
97
    @param lang_id: used to select a specific subset of comment pattern(s)
96
98
 
97
99
    """
98
 
    return [u'--']
 
100
    if lang_id == synglob.ID_LANG_MSSQL:
 
101
        return [u'--']
 
102
    else:
 
103
        return list()
 
104
 
99
105
#---- End Required Module Functions ----#
100
106
 
101
107
#---- Syntax Modules Internal Functions ----#