2015-02-22 12:07:08 -08:00
|
|
|
#ifndef ELM_CODE_TEXT_H_
|
|
|
|
# define ELM_CODE_TEXT_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief These routines are used for interacting with the textual content of files/lines in Elm Code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Text handling functions.
|
|
|
|
* @defgroup Text access and manipulation
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* Functions for handling content of lines within elm code.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-08 03:14:02 -07:00
|
|
|
EAPI const char *elm_code_line_text_get(Elm_Code_Line *line, unsigned int *length);
|
2015-02-22 12:07:08 -08:00
|
|
|
|
2015-03-07 11:48:02 -08:00
|
|
|
EAPI void elm_code_line_text_insert(Elm_Code_Line *line, unsigned int position, const char *string, int length);
|
2015-02-22 12:07:08 -08:00
|
|
|
|
2015-03-08 00:44:26 -08:00
|
|
|
EAPI void elm_code_line_text_remove(Elm_Code_Line *line, unsigned int position, int length);
|
|
|
|
|
2015-02-22 12:07:08 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* ELM_CODE_TEXT_H_ */
|