code: def get_height_for_line(self, lineno):
          
          if self.wrap_lines:
              return self.ui_content.get_height_for_line(lineno, self.window_width)
          else:
              return 1
docs: Return the height of the given line.
          (The height that it would take, if this line became visible.)