[Idle-dev] CVS: idle CallTipWindow.py,1.6,1.7 CallTips.py,1.8,1.9 ColorDelegator.py,1.9,1.10 Debugger.py,1.18,1.19 EditorWindow.py,1.41,1.42 IOBinding.py,1.11,1.12 OutputWindow.py,1.7,1.8 PyShell.py,1.50,1.51 RemoteDebugger.py,1.7,1.8 ScriptBinding.py,1.14,1.15 ZoomHeight.py,1.4,1.5

Kurt B. Kaiser kbk@users.sourceforge.net
Tue, 31 Dec 2002 07:59:19 -0800


Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv28296

Modified Files:
	CallTipWindow.py CallTips.py ColorDelegator.py Debugger.py 
	EditorWindow.py IOBinding.py OutputWindow.py PyShell.py 
	RemoteDebugger.py ScriptBinding.py ZoomHeight.py 
Log Message:
Whitespace Normalization


Index: CallTipWindow.py
===================================================================
RCS file: /cvsroot/idlefork/idle/CallTipWindow.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** CallTipWindow.py	12 Dec 2002 19:15:39 -0000	1.6
--- CallTipWindow.py	31 Dec 2002 15:59:14 -0000	1.7
***************
*** 38,42 ****
              # Without it, call tips intrude on the typing process by grabbing
              # the focus.
!             tw.tk.call("::tk::unsupported::MacWindowStyle", "style", tw._w, 
                         "help", "noActivates")
          except TclError:
--- 38,42 ----
              # Without it, call tips intrude on the typing process by grabbing
              # the focus.
!             tw.tk.call("::tk::unsupported::MacWindowStyle", "style", tw._w,
                         "help", "noActivates")
          except TclError:

Index: CallTips.py
===================================================================
RCS file: /cvsroot/idlefork/idle/CallTips.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** CallTips.py	12 Dec 2002 19:15:39 -0000	1.8
--- CallTips.py	31 Dec 2002 15:59:14 -0000	1.9
***************
*** 82,89 ****
              i -= 1
          return str[i:]
!         
      def fetch_tip(self, name):
!         """Return the argument list and docstring of a function or class 
!         
          If there is a Python subprocess, get the calltip there.  Otherwise,
          either fetch_tip() is running in the subprocess itself or it was called
--- 82,89 ----
              i -= 1
          return str[i:]
! 
      def fetch_tip(self, name):
!         """Return the argument list and docstring of a function or class
! 
          If there is a Python subprocess, get the calltip there.  Otherwise,
          either fetch_tip() is running in the subprocess itself or it was called
***************
*** 94,98 ****
          module may be inoperative if the module was not the last to run.
  
!         """  
          try:
              rpcclt = self.editwin.flist.pyshell.interp.rpcclt
--- 94,98 ----
          module may be inoperative if the module was not the last to run.
  
!         """
          try:
              rpcclt = self.editwin.flist.pyshell.interp.rpcclt
***************
*** 212,216 ****
  
      tc = TC()
!     tests = (t1, t2, t3, t4, t5, t6, 
               TC, tc.t1, tc.t2, tc.t3, tc.t4, tc.t5, tc.t6)
  
--- 212,216 ----
  
      tc = TC()
!     tests = (t1, t2, t3, t4, t5, t6,
               TC, tc.t1, tc.t2, tc.t3, tc.t4, tc.t5, tc.t6)
  

Index: ColorDelegator.py
===================================================================
RCS file: /cvsroot/idlefork/idle/ColorDelegator.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ColorDelegator.py	17 Dec 2002 21:16:12 -0000	1.9
--- ColorDelegator.py	31 Dec 2002 15:59:14 -0000	1.10
***************
*** 53,57 ****
                  apply(self.tag_configure, (tag,), cnf)
          self.tag_raise('sel')
!     
      def LoadTagDefs(self):
          theme = idleConf.GetOption('main','Theme','name')
--- 53,57 ----
                  apply(self.tag_configure, (tag,), cnf)
          self.tag_raise('sel')
! 
      def LoadTagDefs(self):
          theme = idleConf.GetOption('main','Theme','name')
***************
*** 68,72 ****
              "hit": idleConf.GetHighlight(theme, "hit"),
              }
!         
      if DEBUG: print 'tagdefs',tagdefs
  
--- 68,72 ----
              "hit": idleConf.GetHighlight(theme, "hit"),
              }
! 
      if DEBUG: print 'tagdefs',tagdefs
  

Index: Debugger.py
===================================================================
RCS file: /cvsroot/idlefork/idle/Debugger.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** Debugger.py	14 Dec 2002 04:38:51 -0000	1.18
--- Debugger.py	31 Dec 2002 15:59:14 -0000	1.19
***************
*** 16,23 ****
  
          co_filename = frame.f_code.co_filename
!         co_name = frame.f_code.co_name 
  
          ## print>>sys.__stderr__, "*function: ", frame.f_code.co_name
!         ## print>>sys.__stderr__, "*file: ", frame.f_code.co_filename        
          ## print>>sys.__stderr__, "*line number: ", frame.f_code.co_firstlineno
          ## print>>sys.__stderr__, "*name: ", co_name
--- 16,23 ----
  
          co_filename = frame.f_code.co_filename
!         co_name = frame.f_code.co_name
  
          ## print>>sys.__stderr__, "*function: ", frame.f_code.co_name
!         ## print>>sys.__stderr__, "*file: ", frame.f_code.co_filename
          ## print>>sys.__stderr__, "*line number: ", frame.f_code.co_firstlineno
          ## print>>sys.__stderr__, "*name: ", co_name
***************
*** 26,30 ****
          try:
              # XXX 12 Dec 2002 CGT TO DO: Find way to get a reference to the
!             # XXX currently running function. If the function has an 
              #     attribute called "DebuggerStepThrough", prevent the debugger
              #     from stepping through Idle code. The following doesn't work
--- 26,30 ----
          try:
              # XXX 12 Dec 2002 CGT TO DO: Find way to get a reference to the
!             # XXX currently running function. If the function has an
              #     attribute called "DebuggerStepThrough", prevent the debugger
              #     from stepping through Idle code. The following doesn't work
***************
*** 76,80 ****
          self.make_gui()
          self.interacting = 0
!         
      def run(self, *args):
          try:
--- 76,80 ----
          self.make_gui()
          self.interacting = 0
! 
      def run(self, *args):
          try:

Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/idlefork/idle/EditorWindow.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -r1.41 -r1.42
*** EditorWindow.py	29 Dec 2002 22:48:52 -0000	1.41
--- EditorWindow.py	31 Dec 2002 15:59:14 -0000	1.42
***************
*** 112,116 ****
          text.bind("<<toggle-tabs>>",self.toggle_tabs_event)
          text.bind("<<change-indentwidth>>",self.change_indentwidth_event)
!         
          if flist:
              flist.inversedict[self] = key
--- 112,116 ----
          text.bind("<<toggle-tabs>>",self.toggle_tabs_event)
          text.bind("<<change-indentwidth>>",self.change_indentwidth_event)
! 
          if flist:
              flist.inversedict[self] = key
***************
*** 187,191 ****
              self.extensions['AutoIndent'].set_indentation_params(
                  self.ispythonsource(filename))
!  
      def set_status_bar(self):
          self.status_bar = self.MultiStatusBar(self.top)
--- 187,191 ----
              self.extensions['AutoIndent'].set_indentation_params(
                  self.ispythonsource(filename))
! 
      def set_status_bar(self):
          self.status_bar = self.MultiStatusBar(self.top)
***************
*** 274,281 ****
      def about_dialog(self, event=None):
          aboutDialog.AboutDialog(self.top,'About IDLEfork')
!         
      def config_dialog(self, event=None):
          configDialog.ConfigDialog(self.top,'Settings')
!         
      def good_advice(self, event=None):
          tkMessageBox.showinfo('Advice', "Don't Panic!", master=self.text)
--- 274,281 ----
      def about_dialog(self, event=None):
          aboutDialog.AboutDialog(self.top,'About IDLEfork')
! 
      def config_dialog(self, event=None):
          configDialog.ConfigDialog(self.top,'Settings')
! 
      def good_advice(self, event=None):
          tkMessageBox.showinfo('Advice', "Don't Panic!", master=self.text)
***************
*** 283,292 ****
      def view_readme(self, event=None):
          fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'README.txt')
!         textView.TextViewer(self.top,'IDLEfork - README',fn)        
  
      def help_dialog(self, event=None):
          fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt')
!         textView.TextViewer(self.top,'Help',fn)        
!         
      help_url = "http://www.python.org/doc/current/"
      if sys.platform[:3] == "win":
--- 283,292 ----
      def view_readme(self, event=None):
          fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'README.txt')
!         textView.TextViewer(self.top,'IDLEfork - README',fn)
  
      def help_dialog(self, event=None):
          fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt')
!         textView.TextViewer(self.top,'Help',fn)
! 
      help_url = "http://www.python.org/doc/current/"
      if sys.platform[:3] == "win":
***************
*** 470,474 ****
          self.color = None
          self.per.insertfilter(self.undo)
!         
      def ResetColorizer(self):
          "Update the colour theme if it is changed"
--- 470,474 ----
          self.color = None
          self.per.insertfilter(self.undo)
! 
      def ResetColorizer(self):
          "Update the colour theme if it is changed"
***************
*** 479,483 ****
  
      def ResetFont(self):
!         "Update the text widgets' font if it is changed" 
          # Called from configDialog.py
          fontWeight='normal'
--- 479,483 ----
  
      def ResetFont(self):
!         "Update the text widgets' font if it is changed"
          # Called from configDialog.py
          fontWeight='normal'
***************
*** 536,548 ****
                          command=self.__DisplayExtraHelpCallback(menuItem[1]))
          else: #no extra help items
!             if hasattr(self,'menuExtraHelp'): 
!                 helpMenu.delete(cascadeIndex-1)                    
                  del(self.menuExtraHelp)
!     
      def __DisplayExtraHelpCallback(self,helpFile):
          def DisplayExtraHelp(helpFile=helpFile):
              self.display_docs(helpFile)
          return DisplayExtraHelp
!                     
      def UpdateRecentFilesList(self,newFile=None):
          "Load or update the recent files list, and menu if required"
--- 536,548 ----
                          command=self.__DisplayExtraHelpCallback(menuItem[1]))
          else: #no extra help items
!             if hasattr(self,'menuExtraHelp'):
!                 helpMenu.delete(cascadeIndex-1)
                  del(self.menuExtraHelp)
! 
      def __DisplayExtraHelpCallback(self,helpFile):
          def DisplayExtraHelp(helpFile=helpFile):
              self.display_docs(helpFile)
          return DisplayExtraHelp
! 
      def UpdateRecentFilesList(self,newFile=None):
          "Load or update the recent files list, and menu if required"
***************
*** 554,558 ****
              finally:
                  RFfile.close()
!         if newFile: 
              newFile=os.path.abspath(newFile)+'\n'
              if newFile in rfList:
--- 554,558 ----
              finally:
                  RFfile.close()
!         if newFile:
              newFile=os.path.abspath(newFile)+'\n'
              if newFile in rfList:
***************
*** 568,572 ****
                  menu = instance.menuRecentFiles
                  menu.delete(1,END)
!                 i = 0 ; ul = 0; ullen = len(ullist)                
                  for file in rfList:
                      fileName=file[0:-1]
--- 568,572 ----
                  menu = instance.menuRecentFiles
                  menu.delete(1,END)
!                 i = 0 ; ul = 0; ullen = len(ullist)
                  for file in rfList:
                      fileName=file[0:-1]
***************
*** 578,582 ****
                                       underline=ul)
                      i += 1
!                     
      def __CleanRecentFiles(self,rfList):
          origRfList=rfList[:]
--- 578,582 ----
                                       underline=ul)
                      i += 1
! 
      def __CleanRecentFiles(self,rfList):
          origRfList=rfList[:]
***************
*** 584,588 ****
          nonFiles=[]
          for path in rfList:
!             if not os.path.exists(path[0:-1]): 
                  nonFiles.append(count)
              count=count+1
--- 584,588 ----
          nonFiles=[]
          for path in rfList:
!             if not os.path.exists(path[0:-1]):
                  nonFiles.append(count)
              count=count+1
***************
*** 600,609 ****
              RFfile.close()
          return rfList
!     
      def __RecentFileCallback(self,fileName):
          def OpenRecentFile(fileName=fileName):
              self.io.open(editFile=fileName)
          return OpenRecentFile
!     
      def saved_change_hook(self):
          short = self.short_title()
--- 600,609 ----
              RFfile.close()
          return rfList
! 
      def __RecentFileCallback(self,fileName):
          def OpenRecentFile(fileName=fileName):
              self.io.open(editFile=fileName)
          return OpenRecentFile
! 
      def saved_change_hook(self):
          short = self.short_title()
***************
*** 673,677 ****
          if self.io:
              if not self.get_saved():
!                 if self.top.state()!='normal': 
                      self.top.deiconify()
                  self.top.lower()
--- 673,677 ----
          if self.io:
              if not self.get_saved():
!                 if self.top.state()!='normal':
                      self.top.deiconify()
                  self.top.lower()

Index: IOBinding.py
===================================================================
RCS file: /cvsroot/idlefork/idle/IOBinding.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** IOBinding.py	14 Dec 2002 04:38:51 -0000	1.11
--- IOBinding.py	31 Dec 2002 15:59:14 -0000	1.12
***************
*** 104,108 ****
          self.fileencoding = None
          self.__id_print = self.text.bind("<<print-window>>", self.print_window)
!         
      def close(self):
          # Undo command bindings
--- 104,108 ----
          self.fileencoding = None
          self.__id_print = self.text.bind("<<print-window>>", self.print_window)
! 
      def close(self):
          # Undo command bindings
***************
*** 367,371 ****
              master = self.text)
          return chars
!  
      def fixlastline(self):
          c = self.text.get("end-2c")
--- 367,371 ----
              master = self.text)
          return chars
! 
      def fixlastline(self):
          c = self.text.get("end-2c")
***************
*** 404,411 ****
                  tkMessageBox.showerror("Print status", output, master=self.text)
          else:  #no printing for this platform
!             message="Printing is not enabled for this platform: %s" % platform 
              tkMessageBox.showinfo("Print status", message, master=self.text)
          return "break"
!     
      opendialog = None
      savedialog = None
--- 404,411 ----
                  tkMessageBox.showerror("Print status", output, master=self.text)
          else:  #no printing for this platform
!             message="Printing is not enabled for this platform: %s" % platform
              tkMessageBox.showinfo("Print status", message, master=self.text)
          return "break"
! 
      opendialog = None
      savedialog = None

Index: OutputWindow.py
===================================================================
RCS file: /cvsroot/idlefork/idle/OutputWindow.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** OutputWindow.py	27 Sep 2002 00:34:31 -0000	1.7
--- OutputWindow.py	31 Dec 2002 15:59:14 -0000	1.8
***************
*** 147,155 ****
  #      def flush(self):
  #          pass
- 
- 
- 
- 
- 
- 
- 
--- 147,148 ----

Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -r1.50 -r1.51
*** PyShell.py	29 Dec 2002 22:03:38 -0000	1.50
--- PyShell.py	31 Dec 2002 15:59:14 -0000	1.51
***************
*** 63,67 ****
      orig_checkcache()
      cache.update(save)
!     
  # Patch linecache.checkcache():
  linecache.checkcache = extended_linecache_checkcache
--- 63,67 ----
      orig_checkcache()
      cache.update(save)
! 
  # Patch linecache.checkcache():
  linecache.checkcache = extended_linecache_checkcache
***************
*** 195,199 ****
              for line in lines:
                  if line.startswith(filename + '='):
!                     breakpoint_linenumbers = eval(line[len(filename)+1:]) 
                      for breakpoint_linenumber in breakpoint_linenumbers:
                          self.set_breakpoint(breakpoint_linenumber)
--- 195,199 ----
              for line in lines:
                  if line.startswith(filename + '='):
!                     breakpoint_linenumbers = eval(line[len(filename)+1:])
                      for breakpoint_linenumber in breakpoint_linenumbers:
                          self.set_breakpoint(breakpoint_linenumber)
***************
*** 227,231 ****
          self.clear_file_breaks()
          EditorWindow._close(self)
!                                 
  
  class PyShellFileList(FileList):
--- 227,231 ----
          self.clear_file_breaks()
          EditorWindow._close(self)
! 
  
  class PyShellFileList(FileList):
***************
*** 247,251 ****
  class ModifiedColorDelegator(ColorDelegator):
      "Extend base class: colorizer for the shell window itself"
!     
      def __init__(self):
          ColorDelegator.__init__(self)
--- 247,251 ----
  class ModifiedColorDelegator(ColorDelegator):
      "Extend base class: colorizer for the shell window itself"
! 
      def __init__(self):
          ColorDelegator.__init__(self)
***************
*** 256,260 ****
          self.tag_add("SYNC", "1.0", "iomark")
          ColorDelegator.recolorize_main(self)
!     
      def LoadTagDefs(self):
          ColorDelegator.LoadTagDefs(self)
--- 256,260 ----
          self.tag_add("SYNC", "1.0", "iomark")
          ColorDelegator.recolorize_main(self)
! 
      def LoadTagDefs(self):
          ColorDelegator.LoadTagDefs(self)
***************
*** 301,305 ****
      rpcpid = None
  
!     def spawn_subprocess(self):         
          args = self.build_subprocess_arglist()
          self.rpcpid = os.spawnv(os.P_NOWAIT, args[0], args)
--- 301,305 ----
      rpcpid = None
  
!     def spawn_subprocess(self):
          args = self.build_subprocess_arglist()
          self.rpcpid = os.spawnv(os.P_NOWAIT, args[0], args)
***************
*** 313,317 ****
              #
              # framework applet: sys.executable + -p is correct
!             # python 2.2 + pure python main applet: 
              #                   sys.executable + -p is correct
              # pythonw idle.py:  sys.executable + -c is correct
--- 313,317 ----
              #
              # framework applet: sys.executable + -p is correct
!             # python 2.2 + pure python main applet:
              #                   sys.executable + -p is correct
              # pythonw idle.py:  sys.executable + -c is correct
***************
*** 361,365 ****
          debug = self.getdebugger()
          if debug:
!             RemoteDebugger.close_subprocess_debugger(self.rpcclt)           
          # kill subprocess, spawn a new one, accept connection
          self.rpcclt.close()
--- 361,365 ----
          debug = self.getdebugger()
          if debug:
!             RemoteDebugger.close_subprocess_debugger(self.rpcclt)
          # kill subprocess, spawn a new one, accept connection
          self.rpcclt.close()
***************
*** 435,439 ****
              for rpcfile in exclude:
                  if tb[-1][0].count(rpcfile):
!                     break       
              else:
                  break
--- 435,439 ----
              for rpcfile in exclude:
                  if tb[-1][0].count(rpcfile):
!                     break
              else:
                  break
***************
*** 526,530 ****
          linecache.cache[filename] = len(source)+1, 0, lines, filename
          return filename
!     
      def showsyntaxerror(self, filename=None):
          """Extend base class method: Add Colorizing
--- 526,530 ----
          linecache.cache[filename] = len(source)+1, 0, lines, filename
          return filename
! 
      def showsyntaxerror(self, filename=None):
          """Extend base class method: Add Colorizing
***************
*** 588,592 ****
              "please wait until it is finished.",
              master=self.tkconsole.text)
!         
      def runcommand(self, code):
          "Run the code without invoking the debugger"
--- 588,592 ----
              "please wait until it is finished.",
              master=self.tkconsole.text)
! 
      def runcommand(self, code):
          "Run the code without invoking the debugger"
***************
*** 1076,1083 ****
  usage_msg = """\
  
! USAGE: idle  [-deis] [-t title] [file]*             
         idle  [-ds] [-t title] (-c cmd | -r file) [arg]*
         idle  [-ds] [-t title] - [arg]*
!        
    -h         print this help message and exit
  
--- 1076,1083 ----
  usage_msg = """\
  
! USAGE: idle  [-deis] [-t title] [file]*
         idle  [-ds] [-t title] (-c cmd | -r file) [arg]*
         idle  [-ds] [-t title] - [arg]*
! 
    -h         print this help message and exit
  
***************
*** 1176,1180 ****
          cmd = sys.stdin.read()
          enable_shell = True
!         
      use_subprocess = True
  
--- 1176,1180 ----
          cmd = sys.stdin.read()
          enable_shell = True
! 
      use_subprocess = True
  
***************
*** 1203,1209 ****
      # check the IDLE settings configuration (but command line overrides)
      edit_start = idleConf.GetOption('main', 'General',
!                                     'editor-on-startup', type='bool') 
      enable_edit = enable_edit or edit_start
!     enable_shell = enable_shell or not edit_start  
      # start editor and/or shell windows:
      root = Tk(className="Idle")
--- 1203,1209 ----
      # check the IDLE settings configuration (but command line overrides)
      edit_start = idleConf.GetOption('main', 'General',
!                                     'editor-on-startup', type='bool')
      enable_edit = enable_edit or edit_start
!     enable_shell = enable_shell or not edit_start
      # start editor and/or shell windows:
      root = Tk(className="Idle")
***************
*** 1259,1263 ****
  
  IDLE makes and accepts connections only with this computer, and does not
! communicate over the internet in any way. Its use of port 8833 should not 
  be a security risk on a single-user machine.
  """
--- 1259,1263 ----
  
  IDLE makes and accepts connections only with this computer, and does not
! communicate over the internet in any way. Its use of port 8833 should not
  be a security risk on a single-user machine.
  """

Index: RemoteDebugger.py
===================================================================
RCS file: /cvsroot/idlefork/idle/RemoteDebugger.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** RemoteDebugger.py	5 Sep 2002 02:31:20 -0000	1.7
--- RemoteDebugger.py	31 Dec 2002 15:59:14 -0000	1.8
***************
*** 122,126 ****
          msg = self.idb.clear_all_file_breaks(filename)
          return msg
!     
      #----------called by a FrameProxy----------
  
--- 122,126 ----
          msg = self.idb.clear_all_file_breaks(filename)
          return msg
! 
      #----------called by a FrameProxy----------
  
***************
*** 367,371 ****
      is deleted in PyShell.close_remote_debugger().)
  
!     """    
      close_subprocess_debugger(rpcclt)
      rpcclt.unregister(gui_adap_oid)
--- 367,371 ----
      is deleted in PyShell.close_remote_debugger().)
  
!     """
      close_subprocess_debugger(rpcclt)
      rpcclt.unregister(gui_adap_oid)
***************
*** 378,380 ****
                                           (gui_adap_oid,), {})
      assert idb_adap_oid_ret == idb_adap_oid, 'Idb restarted with different oid'
- 
--- 378,379 ----

Index: ScriptBinding.py
===================================================================
RCS file: /cvsroot/idlefork/idle/ScriptBinding.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** ScriptBinding.py	19 Dec 2002 03:25:34 -0000	1.14
--- ScriptBinding.py	31 Dec 2002 15:59:14 -0000	1.15
***************
*** 100,104 ****
                            "There's an error in your program:\n" + msg)
              return False
!         
      def colorize_syntax_error(self, msg, lineno, offset):
          text = self.editwin.text
--- 100,104 ----
                            "There's an error in your program:\n" + msg)
              return False
! 
      def colorize_syntax_error(self, msg, lineno, offset):
          text = self.editwin.text
***************
*** 113,117 ****
              text.mark_set("insert", pos + "+1c")
          text.see(pos)
!         
      def run_script_event(self, event):
          "Check syntax, if ok run the script in the shell top level"
--- 113,117 ----
              text.mark_set("insert", pos + "+1c")
          text.see(pos)
! 
      def run_script_event(self, event):
          "Check syntax, if ok run the script in the shell top level"

Index: ZoomHeight.py
===================================================================
RCS file: /cvsroot/idlefork/idle/ZoomHeight.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ZoomHeight.py	20 Dec 2002 01:22:01 -0000	1.4
--- ZoomHeight.py	31 Dec 2002 15:59:14 -0000	1.5
***************
*** 11,15 ****
           ])
      ]
!  
      def __init__(self, editwin):
          self.editwin = editwin
--- 11,15 ----
           ])
      ]
! 
      def __init__(self, editwin):
          self.editwin = editwin
***************
*** 34,38 ****
          newy = 0
          #newheight = newheight - 96
!         newheight = newheight - 88       
      if height >= newheight:
          newgeom = ""
--- 34,38 ----
          newy = 0
          #newheight = newheight - 96
!         newheight = newheight - 88
      if height >= newheight:
          newgeom = ""