~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Examples/Scripting/copyright.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
aw = ViewManager.activeWindow()
5
5
if aw is not None:
6
 
    txt = "# Copyright (c) 2003 Detlev Offenbach <detlev@die-offenbachs.de>\n#\n\n"
 
6
    txt = "# Copyright (c) 2006 - 2007 Detlev Offenbach <detlev@die-offenbachs.de>\n#\n\n"
7
7
    line, index = aw.getCursorPosition()
8
8
    aw.insertAt(txt, line, index)
9
9
    aw.setCursorPosition(line+3, index)