docs: def Add_text(self):
          """
          Add measurement data lines to the text window.
          """
          self.selected_meas = []
          if self.COORDINATE_SYSTEM == 'geographic':
              zijdblock = self.Data[self.s]['zijdblock_geo']
          elif self.COORDINATE_SYSTEM == 'tilt-corrected':
              zijdblock = self.Data[self.s]['zijdblock_tilt']
          else:
              zijdblock = self.Data[self.s]['zijdblock']
  
          tmin_index, tmax_index = -1, -1
          if self.current_fit and self.current_fit.tmin and self.current_fit.tmax:
              tmin_index, tmax_index = self.get_indices(self.current_fit)
  
          TEXT = ""
          self.logger.DeleteAllItems()
          for i in range(len(zijdblock)):
              lab_treatment = self.Data[self.s]['zijdblock_lab_treatments'][i]
              Step = ""
              methods = lab_treatment.split('-')
              if "NO" in methods:
                  Step = "N"
              elif "AF" in methods:
                  Step = "AF"
              elif "ARM" in methods:
                  Step = "ARM"
              elif "IRM" in methods:
                  Step = "IRM"
              elif "T" in methods:
                  Step = "T"
              elif "LT" in methods:
                  Step = "LT"
              Tr = zijdblock[i][0]
              Dec = zijdblock[i][1]
              Inc = zijdblock[i][2]
              Int = zijdblock[i][3]
              csd = self.Data[self.s]['csds'][i]
              self.logger.InsertItem(i, "%i" % i)
              self.logger.SetItem(i, 1, Step)
              self.logger.SetItem(i, 2, "%.1f" % Tr)
              self.logger.SetItem(i, 3, "%.1f" % Dec)
              self.logger.SetItem(i, 4, "%.1f" % Inc)
              self.logger.SetItem(i, 5, "%.2e" % Int)
              self.logger.SetItem(i, 6, csd)
              self.logger.SetItemBackgroundColour(i, "WHITE")
              if i >= tmin_index and i <= tmax_index:
                  self.logger.SetItemBackgroundColour(i, "LIGHT BLUE")
              if self.Data[self.s]['measurement_flag'][i] == 'b':
                  self.logger.SetItemBackgroundColour(i, "red")