fix for line selection
@@ -1307,6 +1307,15 @@ class BackingTextBuffer(Mutator):
self.doSelectionMode(app.selectable.kSelectionWord)
def selectLineAt(self, row):
+ if 1:
+ self.cursorMove(row - self.penRow, 0)
+ self.redo()
+ self.selectionLine()
+ self.cursorMoveAndMark(*self.extendSelection())
+ self.redo()
+ else:
+ # TODO(dschuyler): reverted to above to fix line selection in the line
+ # numbers column. To be investigated further.
if row >= len(self.lines):
return
self.selectText(row, 0, 0, app.selectable.kSelectionLine)
