![]() | ![]() | ![]() | Conglomerate Programmer's Reference Manual | ![]() |
---|
cong-text-cache —
CongTextCacheSpan* cong_text_cache_span_new (int original_first_byte_offset, int stripped_first_byte_offset, int byte_count); CongTextCache* cong_text_cache_new (gboolean strip_whitespace, const gchar *string); void cong_text_cache_free (CongTextCache *text_cache); const gchar* cong_text_cache_get_text (CongTextCache *text_cache); void cong_text_cache_set_text (CongTextCache *text_cache, const gchar *input_string); gboolean cong_text_cache_convert_stripped_byte_offset_to_original (CongTextCache *text_cache, int stripped_byte_offset, int *original_byte_offset); gboolean cong_text_cache_convert_original_byte_offset_to_stripped (CongTextCache *text_cache, int original_byte_offset, int *stripped_byte_offset);
CongTextCacheSpan* cong_text_cache_span_new (int original_first_byte_offset, int stripped_first_byte_offset, int byte_count);
original_first_byte_offset : | |
stripped_first_byte_offset : | |
byte_count : | |
Returns : |
CongTextCache* cong_text_cache_new (gboolean strip_whitespace, const gchar *string);
strip_whitespace : | |
string : | |
Returns : |
const gchar* cong_text_cache_get_text (CongTextCache *text_cache);
text_cache : | |
Returns : |
void cong_text_cache_set_text (CongTextCache *text_cache, const gchar *input_string);
text_cache : | |
input_string : |
gboolean cong_text_cache_convert_stripped_byte_offset_to_original (CongTextCache *text_cache, int stripped_byte_offset, int *original_byte_offset);
text_cache : | |
stripped_byte_offset : | |
original_byte_offset : | |
Returns : |
gboolean cong_text_cache_convert_original_byte_offset_to_stripped (CongTextCache *text_cache, int original_byte_offset, int *stripped_byte_offset);
text_cache : | |
original_byte_offset : | |
stripped_byte_offset : | |
Returns : |
<< cong-util | cong-progress-checklist >> |