code: def find_previous(self):
          
          state = self.find(changed=False, forward=False, rehighlight=False,
                            multiline_replace_check=False)
          self.editor.setFocus()
          return state
docs: Find previous occurrence