parameters: (self, buffer_control: "BufferControl")
return_statement: return ""
docstring: The text we are searching for.
docstring_summary: The text we are searching for.
docstring_tokens: The text we are searching for .
function: def _get_search_text(self, buffer_control: "BufferControl") -> str:
          """
          The text we are searching for.
          """
          # When the search buffer has focus, take that text.
          search_buffer = buffer_control.search_buffer
          if search_buffer is not None and search_buffer.text:
              return search_buffer.text
          return ""
function_tokens: def _get_search_text ( self , buffer_control : "BufferControl" ) -> str : # When the search buffer has focus, take that text. search_buffer = buffer_control . search_buffer if search_buffer is not None and search_buffer . text : return search_buffer . text return ""