4coder/4coder_search.h

28 lines
478 B
C
Raw Normal View History

/*
4coder_search.h - Types that are used in the search accross all buffers procedures.
*/
// TOP
#if !defined(FCODER_SEARCH_H)
#define FCODER_SEARCH_H
typedef u32 List_All_Locations_Flag;
enum{
ListAllLocationsFlag_CaseSensitive = 1,
ListAllLocationsFlag_MatchSubstring = 2,
};
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;
};
#endif
// BOTOTM