2017-11-29 23:00:14 +00:00
|
|
|
/*
|
|
|
|
4coder_search.h - Types that are used in the search accross all buffers procedures.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
|
|
|
#if !defined(FCODER_SEARCH_H)
|
|
|
|
#define FCODER_SEARCH_H
|
|
|
|
|
2019-07-13 03:19:24 +00:00
|
|
|
typedef u32 List_All_Locations_Flag;
|
|
|
|
enum{
|
|
|
|
ListAllLocationsFlag_CaseSensitive = 1,
|
|
|
|
ListAllLocationsFlag_MatchSubstring = 2,
|
|
|
|
};
|
2019-06-21 02:31:22 +00:00
|
|
|
|
2018-05-10 08:12:47 +00:00
|
|
|
struct Word_Complete_State{
|
2019-07-14 22:18:59 +00:00
|
|
|
b32 initialized;
|
|
|
|
String_Const_u8 needle;
|
|
|
|
Range_i64 range;
|
|
|
|
List_String_Const_u8 list;
|
|
|
|
Node_String_Const_u8 *iterator;
|
2018-05-10 08:12:47 +00:00
|
|
|
};
|
|
|
|
|
2017-11-29 23:00:14 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// BOTOTM
|
|
|
|
|