2016-11-27 15:13:42 -08:00
|
|
|
#ifndef ELM_CODE_INDENT_H_
|
|
|
|
# define ELM_CODE_INDENT_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief These routines are used for calculating text indentation of lines in Elm Code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Line indent handling functions.
|
|
|
|
* @defgroup Indent management of indentation of lines
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* Functions for calculation indentation of lines within elm code.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-12-03 07:59:40 -08:00
|
|
|
EAPI char *elm_code_line_indent_get(Elm_Code_Line *line);
|
2016-11-27 15:13:42 -08:00
|
|
|
|
2017-01-01 06:29:43 -08:00
|
|
|
EAPI const char *elm_code_line_indent_matching_braces_get(Elm_Code_Line *line, unsigned int *length);
|
2016-12-02 16:55:02 -08:00
|
|
|
|
2016-11-27 15:13:42 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* ELM_CODE_INDENT_H_ */
|