Offers a class to find data inside a factory stc or stream component.
More...
#include <wex/data/find.h>
|
| find (const std::string &text=std::string(), bool forward=true) |
| Default constructor. Sets members only.
|
|
| find (wex::factory::stc *stc, const std::string &text, bool forward=true) |
| Constructor. Sets stc and positions.
|
|
| find (const std::string &text, int line, int pos, bool forward=true) |
| Constructor. Sets stream info.
|
|
int | end_pos () const |
| Returns stc end pos.
|
|
bool | find_margin (int &line) |
| Returns true if text found in margin, and sets line.
|
|
int | flags () const |
| Returns find flags.
|
|
find & | flags (int rhs) |
| Sets find flags.
|
|
bool | is_forward () const |
| Returns if forward search is true.
|
|
int | line_no () const |
| Returns stream line.
|
|
int | pos () const |
| Returns sream pos.
|
|
int | start_pos () const |
| Returns stc start pos.
|
|
void | statustext () const |
| Updates statusbar with info.
|
|
factory::stc * | stc () |
| Returns stc member.
|
|
const auto & | text () const |
| Returns text.
|
|
|
static bool | recursive () |
| Returns if recursive is true.
|
|
static void | recursive (bool rhs) |
| Sets recursive.
|
|
Offers a class to find data inside a factory stc or stream component.
◆ find() [1/3]
wex::data::find::find |
( |
const std::string & | text = std::string(), |
|
|
bool | forward = true ) |
Default constructor. Sets members only.
- Parameters
-
text | text to find |
forward | forward |
◆ find() [2/3]
wex::data::find::find |
( |
wex::factory::stc * | stc, |
|
|
const std::string & | text, |
|
|
bool | forward = true ) |
Constructor. Sets stc and positions.
- Parameters
-
stc | component |
text | text to find |
forward | forward |
◆ find() [3/3]
wex::data::find::find |
( |
const std::string & | text, |
|
|
int | line, |
|
|
int | pos, |
|
|
bool | forward = true ) |
Constructor. Sets stream info.
- Parameters
-
text | text to find |
line | line |
pos | stream pos |
forward | forward |