~toolpart/+junk/pythoncard

« back to all changes in this revision

Viewing changes to debug.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-03-04 23:55:10 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100304235510-3v6lbhzwrgm0pcca
Tags: 0.8.2-1
* QA upload.
* New upstream release
* debian/control
  - set maintainer to QA group
  - set Homepage field, removing the URL from packages description
  - bump versioned b-d-i on python-support, to properly support Python module
  - replace b-d on python-all-dev with python-all, since building only
    arch:all packages
  - replace Source-Version substvar with source:Version
  - add ${misc:Depends} to binary packages Depends
* debian/watch
  - updated to use the SourceForge redirector; thanks to Raphael Geissert for
    the report and to Dario Minnucci for the patch; Closes: #449904
* debian/{pythoncard-doc, python-pythoncard}.install
  - use wildcards instead of site-packages to fix build with python 2.6;
    thanks to Ilya Barygin for the report and patch; Closes: #572332
* debian/pythoncard-doc.doc-base
  - set section to Programmin/Python
* debian/pythoncard-tools.menu
  - set menu main section to Applications
* debian/pythoncard-tools.postinst
  - removed, needed only to update the menu, but it's now created by debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
"""
3
 
__version__ = "$Revision: 1.134 $"
4
 
__date__ = "$Date: 2004/10/03 19:21:33 $"
 
3
__version__ = "$Revision: 1.135 $"
 
4
__date__ = "$Date: 2005/12/25 16:40:08 $"
5
5
"""
6
6
 
7
7
import wx
86
86
 
87
87
        sizer2.Add(self.hideTimers, 0, wx.LEFT | wx.RIGHT | wx.BOTTOM, 5)
88
88
        sizer2.Add((5, 5), 1)  # spacer
89
 
        self.hideUnused = wx.CheckBox(panel, -1, 'Hide unused',
 
89
        self.hideUnused = wx.CheckBox(panel, -1, 'Hide unused (#)',
90
90
                                     wx.DefaultPosition, wx.DefaultSize,
91
91
                                     wx.NO_BORDER)
92
92
        # KEA 2004-04-10
107
107
            self.msgHistory.StyleSetSpec(stc.STC_STYLE_DEFAULT, "face:Arial,size:9")
108
108
        else:
109
109
            self.msgHistory.StyleSetSize(stc.STC_STYLE_DEFAULT, wx.NORMAL_FONT.GetPointSize())
 
110
        # KEA 2005-12-25
 
111
        # change the lexer to Python
 
112
        # and denote unused messages as comments (e.g. #mouseUp
 
113
        self.msgHistory.StyleSetSpec(stc.STC_P_COMMENTLINE, "fore:#7F7F7F")
 
114
        self.msgHistory.SetLexer(stc.STC_LEX_PYTHON)
110
115
        self.msgHistory.SetUseHorizontalScrollBar(0)
111
116
        self.msgHistory.SetMarginWidth(1,0)
112
117
        self.msgHistory.SetUndoCollection(0)
133
138
        if used:
134
139
            eventText = eventName + ' : '  + sourceName
135
140
        else:
136
 
            eventText = '(' + eventName + ' : '  + sourceName + ')'
 
141
            eventText = '# ' + eventName + ' : '  + sourceName
137
142
 
138
143
        # show timer events?
139
144
        if (eventName == 'timer' and self.hideTimers.GetValue()):