##// END OF EJS Templates
Address @takluyver's comments.
Jonathan Frederic -
Show More
@@ -698,8 +698,6 b' class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin):'
698 698 # to spaces so that output looks as expected regardless of this
699 699 # widget's tab width.
700 700 text = text.expandtabs(8)
701
702 print([ord(c) for c in text])
703 701 self._append_plain_text(text, before_prompt=True)
704 702 self._control.moveCursor(QtGui.QTextCursor.End)
705 703
@@ -710,7 +708,7 b' class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin):'
710 708 self.clear_output()
711 709
712 710 def clear_output(self):
713 """Clear the output area."""
711 """Clears the current line of output."""
714 712 cursor = self._control.textCursor()
715 713 cursor.beginEditBlock()
716 714 cursor.movePosition(cursor.StartOfLine, cursor.KeepAnchor)
General Comments 0
You need to be logged in to leave comments. Login now