Introduction
Introduction Statistics Contact Development Disclaimer Help
search.h - ledit - Text editor (WIP)
git clone git://lumidify.org/ledit.git (fast, but not encrypted)
git clone https://lumidify.org/ledit.git (encrypted, but very slow)
git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/…
Log
Files
Refs
README
LICENSE
---
search.h (621B)
---
1 #ifndef _SEARCH_H_
2 #define _SEARCH_H_
3
4 #include <stddef.h>
5
6 typedef enum {
7 SEARCH_NORMAL,
8 SEARCH_WRAPPED,
9 SEARCH_NOT_FOUND,
10 SEARCH_NO_PATTERN
11 } search_state;
12
13 void search_cleanup(void);
14 void set_search_forward(char *pattern);
15 void set_search_backward(char *pattern);
16 search_state ledit_search_next(ledit_view *view, size_t *line_ret, size_…
17 search_state ledit_search_prev(ledit_view *view, size_t *line_ret, size_…
18
19 /*
20 * Get a string corresponding to a search_state.
21 * This string should not be freed.
22 */
23 char *search_state_to_str(search_state s);
24
25 #endif
You are viewing proxied material from lumidify.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.