ELinks 0.18.0
|
A searchable character on the document canvas. More...
#include <document.h>
Data Fields | |
int | x |
int | y |
signed int | n |
unicode_val_T | c |
A searchable character on the document canvas.
struct document.search is an array of struct search, initialised by get_src, q.v. The elements of the array roughly correspond to the document canvas, document.data; each element corresponds to a regular character, a run of one or more control characters, or the end of a line on the canvas.
If an instance of struct search corresponds to a regular character, then that character is stored in c and n is equal to 1. If an instance of struct search corresponds to a run of control characters, then a space character ' ' is stored in c and n is equal to to the length of the run. If an instance of struct search corresponds to the end of a line, then a space is stored in c and n is equal to 0.
unicode_val_T search::c |
signed int search::n |
int search::x |
int search::y |