.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.TextSearchResult:

==========================================================================================================================================
|phoenix_title|  **wx.TextSearchResult**
==========================================================================================================================================

Result from :meth:`wx.TextCtrl.SearchText` , specifying the range of the found text. 
         

Range values will be  ``NOT_FOUND``   if a match was not found. 


         



.. versionadded:: 4.3/wxWidgets-3.3.0  
     







|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>TextSearchResult</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.TextSearchResult_inheritance.svg" alt="Inheritance diagram of TextSearchResult" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.TextSearchResult.html" title="Result from wx.TextCtrl.SearchText , specifying the range of the found text." alt="" coords="5,5,184,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|property_summary| Properties Summary
=====================================

================================================================================ ================================================================================
:attr:`~wx.TextSearchResult.m_end`                                               A public C++ attribute of type ``long``.
:attr:`~wx.TextSearchResult.m_start`                                             A public C++ attribute of type ``long``.
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: wx.TextSearchResult(object)

   Result from `TextCtrl.SearchText(),` specifying the range of the
   found text.



   .. attribute:: m_end

      A public C++ attribute of type ``long``.


   .. attribute:: m_start

      A public C++ attribute of type ``long``.

