title: How to generate text in a new line in text edit?
body: <p>I am creating a speech-to-text generator gui in pyqt5.
  The program takes input from microphone and sets the text of the text area accordingly but everytime the user takes an input, the whole text of the text edit changes. Is there any method as how to generate the <strong>second</strong> input in a new line in the text edit. Below is the code I am using.</p>
  <p>This is the coding part for the text edit portion</p>
  <pre><code>    self.text_area = QtWidgets.QTextEdit(self.centralwidget)
      self.text_area.setGeometry(QtCore.QRect(10, 240, 621, 171))
      font = QtGui.QFont()
      font.setPointSize(10)
      self.text_area.setFont(font)
      self.text_area.setObjectName(&quot;text_area&quot;)
  </code></pre>
  <p>This is the method for recording</p>
  <pre><code>    def record(self):
  
      r = sr.Recognizer()
      try:
          with sr.Microphone() as source:
  
              audio = r.listen(source)
              MyText = r.recognize_google(audio)
              MyText = MyText.lower()
              self.text_area.setText(MyText)
  
      except Exception as e4:
          print(e4)
  </code></pre>