'Add offset to a point, to take into account the Editor panels.
This is reimplemented in CodeEditor, in other widgets it returns
the same point.'

def calculate_real_position(self, point):

    return point
