~ubuntu-branches/ubuntu/raring/wxwidgets2.8/raring

« back to all changes in this revision

Viewing changes to wxPython/wx/tools/Editra/src/autocomp/simplecomp.py

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-07 13:59:25 UTC
  • mfrom: (1.1.9) (5.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120107135925-2601miy9ullcon9j
Tags: 2.8.12.1-6ubuntu1
* Resync from Debian, changes that were kept:
  - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be
    built, as this is required by some applications (LP: #632984)
  - debian/control: Build-dep on libxt-dev for mediactrl.
  - Patches
    + fix-bashism-in-example
* Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion
  to guarantee upgrade ordering when moving from pycentral to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
"""
13
13
 
14
14
__author__ = "Giuseppe \"Cowo\" Corbelli"
15
 
__cvsid__ = "$Id: simplecomp.py 63130 2010-01-10 03:29:46Z CJP $"
16
 
__revision__ = "$Revision: 63130 $"
 
15
__cvsid__ = "$Id: simplecomp.py 67123 2011-03-04 00:02:35Z CJP $"
 
16
__revision__ = "$Revision: 67123 $"
17
17
 
18
18
#--------------------------------------------------------------------------#
19
19
# Imports
26
26
#--------------------------------------------------------------------------#
27
27
 
28
28
class Completer(completer.BaseCompleter):
29
 
    """Code completer provider"""
 
29
    """Generic word completer provider"""
30
30
    wordCharacters = "".join(['_', string.letters])
31
31
 
32
32
    def __init__(self, stc_buffer):
33
 
        completer.BaseCompleter.__init__(self, stc_buffer)
 
33
        super(Completer, self).__init__(stc_buffer)
34
34
 
35
35
        # Setup
36
36
        self.SetAutoCompKeys([])