/[fenfire]/fenfire/org/fenfire/demo/fenpdfcontext.py
ViewVC logotype

Diff of /fenfire/org/fenfire/demo/fenpdfcontext.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mudyc, Mon Jul 7 22:56:06 2003 UTC revision 1.8 by mudyc, Mon Jul 14 14:08:40 2003 UTC
# Line 71  class KeyHandler: Line 71  class KeyHandler:
71              cur.setCursorOffset(offs + 1)              cur.setCursorOffset(offs + 1)
72              return              return
73    
74            if stroke == 'Ctrl-B':
75                p('change the bg texture..')
76                v = main.getView2D()
77                while v != None:
78                    if isinstance(v, ff.view.PaperView2D):
79                        v.drawPaper = not v.drawPaper
80                    v = v.getChildView2D()
81                    
82          if acc == None: return          if acc == None: return
83            
84          if stroke == 'Return':          if stroke == 'Return':
85              if dbg: p('Insert \\n')              if dbg: p('Insert \\n')
86                            

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26