| Top |
void cong_location_set_to_start_of_node (CongLocation *loc,CongNodePtr node);
TODO: Write me
void cong_location_set_to_end_of_node (CongLocation *loc,CongNodePtr node);
TODO: Write me
void cong_location_set_node_and_byte_offset (CongLocation *loc,CongNodePtr node,int byte_offset);
TODO: Write me
void cong_location_set_node_and_char_offset (CongLocation *loc,CongNodePtr node,glong char_offset);
TODO: Write me
gboolean cong_location_equals (const CongLocation *loc0,const CongLocation *loc1);
TODO: Write me
void cong_location_del_next_char (CongDocument *doc,const CongLocation *loc);
TODO: Write me
CongNodePtr
cong_location_xml_frag_prev (const CongLocation *loc);
TODO: Write me
CongNodePtr
cong_location_xml_frag_next (const CongLocation *loc);
TODO: Write me
void cong_location_copy (CongLocation *dst,const CongLocation *src);
TODO: Write me
gboolean cong_location_calc_prev_char (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
Calculates a new CongLocation when the left key is pressed
input_loc |
the current CongLocation |
|
doc |
the CongDocument containing this CongLocation |
|
output_loc |
the CongLocation that is computed |
gboolean cong_location_calc_next_char (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
Calculates a new CongLocation when the right key is pressed
input_loc |
the current CongLocation |
|
doc |
the CongDocument containing this CongLocation |
|
output_loc |
the CongLocation that is computed |
gboolean cong_location_calc_prev_word (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_next_word (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_document_start (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_line_start (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_document_end (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_line_end (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_prev_page (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
gboolean cong_location_calc_next_page (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
TODO: Write me
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
gboolean cong_location_calc_prev_text_node (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
gboolean cong_location_calc_next_text_node (const CongLocation *input_loc,CongDocument *doc,CongLocation *output_loc);
void cong_location_copy_with_ref (CongDocument *doc,CongLocation *dst,const CongLocation *src);
TODO: Write me
void cong_location_nullify_with_ref (CongDocument *doc,CongLocation *loc);
TODO: Write me