9079: Fix delete error in undoable entry widget
This commit is contained in:
parent
e2c76dfb12
commit
f11c7b9de0
@ -69,7 +69,7 @@ class UndoableInsertEntry(object):
|
|||||||
class UndoableDeleteEntry(object):
|
class UndoableDeleteEntry(object):
|
||||||
"""something that has been deleted from our textbuffer"""
|
"""something that has been deleted from our textbuffer"""
|
||||||
def __init__(self, editable, start, end):
|
def __init__(self, editable, start, end):
|
||||||
self.text = editable.get_chars(start, end).encode('utf-8')
|
self.text = editable.get_chars(start, end)
|
||||||
self.start = start
|
self.start = start
|
||||||
self.end = end
|
self.end = end
|
||||||
# need to find out if backspace or delete key has been used
|
# need to find out if backspace or delete key has been used
|
||||||
|
Loading…
Reference in New Issue
Block a user