| 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);
gboolean cong_location_is_valid (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
void cong_location_set_to_start_of_node (CongLocation *loc, CongNodePtr node);
TODO: Write me
| loc : | |
| node : |
void cong_location_set_node_and_byte_offset (CongLocation *loc, CongNodePtr node, int byte_offset);
TODO: Write me
| loc : | |
| node : | |
| byte_offset : |
void cong_location_set_node_and_char_offset (CongLocation *loc, CongNodePtr node, glong char_offset);
TODO: Write me
| loc : | |
| node : | |
| char_offset : |
gboolean cong_location_exists (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
gboolean cong_location_equals (const CongLocation *loc0, const CongLocation *loc1);
TODO: Write me
| loc0 : | |
| loc1 : | |
| Returns : |
gunichar cong_location_get_unichar (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
gchar* cong_location_get_utf8_pointer (const CongLocation *loc);
| loc : | |
| Returns : |
void cong_location_del_next_char (CongDocument *doc, const CongLocation *loc);
TODO: Write me
| doc : | |
| loc : |
CongNodePtr cong_location_xml_frag_prev (const CongLocation *loc);
TODO: Write me
| loc : | a CongLocation |
| Returns : |
CongNodePtr cong_location_xml_frag_next (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
CongNodePtr cong_location_node (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
CongNodePtr cong_location_parent (const CongLocation *loc);
TODO: Write me
| loc : | |
| Returns : |
void cong_location_copy (CongLocation *dst, const CongLocation *src);
TODO: Write me
| dst : | |
| src : |
gboolean cong_location_calc_prev_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
Calculates a new CongLocation when the left key is pressed
| input_loc : | the current CongLocation |
| dispspec : | the CongDispspec in use |
| output_loc : | the CongLocation that is computed |
| Returns : | TRUE if succeeded |
gboolean cong_location_calc_next_char (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
Calculates a new CongLocation when the right key is pressed
| input_loc : | the current CongLocation |
| dispspec : | the CongDispspec in use |
| output_loc : | the CongLocation that is computed |
| Returns : | TRUE if succeeded |
gboolean cong_location_calc_prev_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| doc : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_next_word (const CongLocation *input_loc, CongDocument *doc, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| doc : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_document_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| dispspec : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_line_start (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| dispspec : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_document_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| dispspec : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_line_end (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| dispspec : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_prev_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| input_loc : | |
| dispspec : | |
| output_loc : | |
| Returns : |
gboolean cong_location_calc_next_page (const CongLocation *input_loc, CongDispspec *dispspec, CongLocation *output_loc);
TODO: Write me
| 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);
TODO: Write me
| 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);
TODO: Write me
| doc : | |
| dst : | |
| src : |
void cong_location_nullify_with_ref (CongDocument *doc, CongLocation *loc);
TODO: Write me
| doc : | |
| loc : |
| << cong-node | cong-range >> |