Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /plugins/interpreter.py [a37b2b] .. [66fabf] Maximize Restore

  Switch to side-by-side view

--- a/plugins/interpreter.py
+++ b/plugins/interpreter.py
@@ -96,7 +96,7 @@
     if " " in command:
         command = '"%s"'%command
 elif sys.platform == 'linux2':
-    command = '/bin/sh --noediting -i'
+    command = '/bin/sh -i'
 else:
     command = '/bin/sh'
 
@@ -321,6 +321,7 @@
         stc.StyledTextCtrl.__init__(self, parent, id)
         self.lines = lineabstraction.LineAbstraction(self)
         self.NEWDOCUMENT = _pype.NEWDOCUMENT+1
+        self.loaded = True
         
         global pypestc
         if not pypestc:
@@ -896,6 +897,7 @@
 
     def CanPaste(self):
         return stc.StyledTextCtrl.CanPaste(self) and self.CanEdit()
+
     def Paste(self):
         success = False
         do = wx.TextDataObject()
@@ -916,6 +918,7 @@
         self.ReplaceSelection('')
         
         self.queue.extend(spliti(do.GetText(), '\n'))
+
     def Cut(self):
         if self.CanCut:
             stc.StyledTextCtrl.Cut(self)
@@ -927,6 +930,7 @@
             if x[-1:] == '\n':
                 self.processLine()
         ## wx.FutureCall(pushlines_t, self.pushlines)
+
     def MakeDirty(self, e=None):
         f = self.filename
         if f == ' ':
@@ -938,6 +942,7 @@
             c += 1
         self.root.control.SetPageText(c, f)
         self.root.redrawvisible(self)
+
     def DeleteSelection(self, e=None):
         range = self.GetSelection()
         mi = min(range)