![]() | ![]() | ![]() | Conglomerate Programmer's Reference Manual | ![]() |
---|
cong-location —
gboolean cong_location_is_valid (const CongLocation *loc); void cong_location_nullify (CongLocation *loc); void cong_location_set_to_start_of_node (CongLocation *loc, CongNodePtr node); void cong_location_set_node_and_byte_offset (CongLocation *loc, CongNodePtr node, int byte_offset); void cong_location_set_node_and_char_offset (CongLocation *loc, CongNodePtr node, glong char_offset); gboolean cong_location_exists (const CongLocation *loc); gboolean cong_location_equals (const CongLocation *loc0, const CongLocation *loc1); gunichar cong_location_get_unichar (const CongLocation *loc); gchar* cong_location_get_utf8_pointer (const CongLocation *loc); void cong_location_del_next_char (CongDocument *doc, const CongLocation *loc); CongNodePtr cong_location_xml_frag_prev (const CongLocation *loc); CongNodePtr cong_location_xml_frag_next (const CongLocation *loc); CongNodePtr cong_location_node (const CongLocation *loc); CongNodePtr cong_location_parent (const CongLocation *loc); void cong_location_copy (CongLocation *dst, const CongLocation *src); gboolean cong_location_calc_prev_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_next_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_prev_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc); gboolean cong_location_calc_next_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc); gboolean cong_location_calc_document_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_line_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_document_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_line_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_prev_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_next_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_word_extent (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_start_of_word, CongLocation *output_end_of_word); gboolean cong_location_calc_prev_text_node (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); gboolean cong_location_calc_next_text_node (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc); void cong_location_copy_with_ref (CongDocument *doc, CongLocation *dst, const CongLocation *src); void cong_location_nullify_with_ref (CongDocument *doc, CongLocation *loc);
void cong_location_set_to_start_of_node (CongLocation *loc, CongNodePtr node);
loc : | |
node : |
void cong_location_set_node_and_byte_offset (CongLocation *loc, CongNodePtr node, int byte_offset);
loc : | |
node : | |
byte_offset : |
void cong_location_set_node_and_char_offset (CongLocation *loc, CongNodePtr node, glong char_offset);
loc : | |
node : | |
char_offset : |
gboolean cong_location_equals (const CongLocation *loc0, const CongLocation *loc1);
loc0 : | |
loc1 : | |
Returns : |
gunichar cong_location_get_unichar (const CongLocation *loc);
loc : | |
Returns : |
gchar* cong_location_get_utf8_pointer (const CongLocation *loc);
loc : | |
Returns : |
void cong_location_del_next_char (CongDocument *doc, const CongLocation *loc);
doc : | |
loc : |
CongNodePtr cong_location_xml_frag_prev (const CongLocation *loc);
loc : | |
Returns : |
CongNodePtr cong_location_xml_frag_next (const CongLocation *loc);
loc : | |
Returns : |
void cong_location_copy (CongLocation *dst, const CongLocation *src);
dst : | |
src : |
gboolean cong_location_calc_prev_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_next_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_prev_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc);
input_loc : | |
doc : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_next_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc);
input_loc : | |
doc : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_document_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_line_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_document_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_line_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_prev_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_next_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_word_extent (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_start_of_word, CongLocation *output_end_of_word);
input_loc : | |
doc : | |
output_start_of_word : | |
output_end_of_word : | |
Returns : |
gboolean cong_location_calc_prev_text_node (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
gboolean cong_location_calc_next_text_node (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
input_loc : | |
dispspec : | |
output_loc : | |
Returns : |
void cong_location_copy_with_ref (CongDocument *doc, CongLocation *dst, const CongLocation *src);
doc : | |
dst : | |
src : |
<< cong-node | cong-range >> |