parent
a003addde9
commit
38697b8796
28
method.py
28
method.py
|
@ -105,6 +105,34 @@ class Method:
|
|||
def _execute(self, w, **vargs):
|
||||
raise Exception, "Unimplemented Method: %s %r" % (self.name, vargs)
|
||||
|
||||
class AboutPmacs(Method):
|
||||
'''print some information about pmacs'''
|
||||
data = '''
|
||||
|
||||
================================================================================
|
||||
|
||||
|
||||
************ ********** ****** ****** **** ******** *********
|
||||
************** ****************** ************* ********** ***********
|
||||
******* ***** ****** ***** **** **** ****** **** **** ***** ****
|
||||
*** *** *** *** *** **** **** **** *******
|
||||
*** *** *** *** *** **** **** **** *******
|
||||
***** ***** ***** ***** **** **** ****** **** **** **** *****
|
||||
************ ***** ***** **** ************* ********** ***********
|
||||
********** ***** ***** **** ****** **** ******** *********
|
||||
***
|
||||
*** a python-based text editor by Erik Osheim, (c) 2005-2007
|
||||
***** available to you under the GNU General Public License v2
|
||||
*****
|
||||
***** to see all commands type: C-c M-h (show-bindings-buffer)
|
||||
|
||||
|
||||
================================================================================
|
||||
|
||||
'''
|
||||
def _execute(self, w, **vargs):
|
||||
w.application.data_buffer("*About*", self.data, switch_to=True)
|
||||
|
||||
class GotoChar(Method):
|
||||
'''Jump to the specified character'''
|
||||
args = [Argument("charno", type=type(0), prompt="Goto char: ")]
|
||||
|
|
Loading…
Reference in New Issue