19 from . import Lexers |
19 from . import Lexers |
20 from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION |
20 from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION |
21 |
21 |
22 import Preferences |
22 import Preferences |
23 import UI.PixmapCache |
23 import UI.PixmapCache |
24 ##from Utilities import toUnicode |
|
25 |
24 |
26 from Debugger.DebugClientCapabilities import HasShell, HasCompleter |
25 from Debugger.DebugClientCapabilities import HasShell, HasCompleter |
27 |
26 |
28 from .ShellHistoryDialog import ShellHistoryDialog |
27 from .ShellHistoryDialog import ShellHistoryDialog |
29 |
28 |
574 |
573 |
575 @param s text to be displayed (string) |
574 @param s text to be displayed (string) |
576 """ |
575 """ |
577 line, col = self.__getEndPos() |
576 line, col = self.__getEndPos() |
578 self.setCursorPosition(line, col) |
577 self.setCursorPosition(line, col) |
579 ## self.insert(toUnicode(s)) |
|
580 self.insert(s) |
578 self.insert(s) |
581 self.prline, self.prcol = self.getCursorPosition() |
579 self.prline, self.prcol = self.getCursorPosition() |
582 self.ensureCursorVisible() |
580 self.ensureCursorVisible() |
583 self.ensureLineVisible(self.prline) |
581 self.ensureLineVisible(self.prline) |
584 |
582 |