wex  v21.04.0
Public Member Functions | Static Public Member Functions | List of all members
wex::data::find Class Reference

Offers a class to find data inside a core stc component. More...

#include <wex/find-data.h>

Public Member Functions

 find (wex::core::stc *stc, const std::string &text, bool forward=true)
 Constructor. Sets positions. More...
 
int end_pos () const
 Returns end pos.
 
bool find_margin (int &line)
 Returns true if text found in margin, and sets line.
 
int flags () const
 Returns find flags.
 
findflags (int rhs)
 Sets find flags.
 
bool is_forward () const
 Returns if forward search is true.
 
int start_pos () const
 Returns start pos.
 
core::stcstc ()
 Returns stc member.
 
const auto & text ()
 Returns text.
 

Static Public Member Functions

static bool recursive ()
 Returns if recursive is true.
 
static void recursive (bool rhs)
 Sets recursive.
 

Detailed Description

Offers a class to find data inside a core stc component.

Constructor & Destructor Documentation

◆ find()

wex::data::find::find ( wex::core::stc stc,
const std::string &  text,
bool  forward = true 
)

Constructor. Sets positions.

Parameters
stccomponent
texttext to find
forwardforward