--- a/eric6/HexEdit/HexEditWidget.py Sat Apr 10 17:54:58 2021 +0200 +++ b/eric6/HexEdit/HexEditWidget.py Sat Apr 10 18:31:17 2021 +0200 @@ -1532,7 +1532,7 @@ else: if pos < 0: pos = 0 - pos = pos // 2 + pos //= 2 self.__bSelectionInit = pos self.__bSelectionBegin = pos self.__bSelectionEnd = pos @@ -1548,7 +1548,7 @@ """ if pos < 0: pos = 0 - pos = pos // 2 + pos //= 2 if pos >= self.__bSelectionInit: self.__bSelectionEnd = pos self.__bSelectionBegin = self.__bSelectionInit