1. biolab
  2. Untitled project
  3. orange

Commits

Aleš Erjavec  committed 7df0d34

Added a writelines method to PythonConsole widget.

  • Participants
  • Parent commits 7c9baec
  • Branches default

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/Data/OWPythonScript.py

View file
  • Ignore whitespace
         self.setTextCursor(cursor)
         self.ensureCursorVisible()
 
+    def writelines(self, lines):
+        for line in lines:
+            self.write(line)
+
     def push(self, line):
         if self.history[0] != line:
             self.history.insert(0, line)