def mouse_within_existing_lines(self, mouse_y):
    """
    Returns True if the given Y-coordinate is within the height of the text-editor's existing lines.
    Returns False if the coordinate is below existing lines or outside of the editor.
    """
    return self.editor_offset_Y < mouse_y < self.editor_offset_Y + (self.lineHeight * self.maxLines)