1
###############################################################################
4
# Author: AUTHOR <email address> #
5
# Copyright: (c) 2008 Cody Precord <staff@editra.org> #
6
# License: wxWindows License #
7
###############################################################################
18
__svnid__ = "$Id: Exp $"
19
__revision__ = "$Revision: $"
21
#--------------------------------------------------------------------------#
25
#--------------------------------------------------------------------------#
28
"""Code completer provider"""
30
"""Initiliazes the completer"""
31
# Key values to activate autocompletion on
32
self._autocomp_keys = []
33
# Character values to stop autocompletion on
34
self._autocomp_stop = u' '
35
# Key values to activate a calltip call on
36
self._calltip_keys = []
37
# List for collecting atoms in
40
def GetAutoCompKeys(self):
41
"""Returns the list of key codes for activating the
45
if hasattr(self, "_autocomp_keys"):
46
return self._autocomp_keys
50
def GetAutoCompStops(self):
51
"""Returns a string of characters that should cancel
52
the autocompletion lookup.
55
if hasattr(self, '_autocomp_stop'):
56
return self._autocomp_stop
60
def GetCallTipKeys(self):
61
"""Returns the list of keys to activate a calltip on"""
62
if hasattr(self, '_calltip_keys'):
63
return self._calltip_keys