forked from enlightenment/efl
35 lines
724 B
C
35 lines
724 B
C
|
#ifndef ELM_CODE_WIDGET_SELECTION_H_
|
||
|
# define ELM_CODE_WIDGET_SELECTION_H_
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @brief Selection handling functions.
|
||
|
* @defgroup Managing the complexities of selecting text across seperate lines.
|
||
|
*
|
||
|
* @{
|
||
|
*
|
||
|
* Functions for selection handling
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
EAPI void elm_code_widget_selection_start(Evas_Object *widget, unsigned int line, unsigned int col);
|
||
|
|
||
|
EAPI void elm_code_widget_selection_end(Evas_Object *widget, unsigned int line, unsigned int col);
|
||
|
|
||
|
EAPI void elm_code_widget_selection_clear(Evas_Object *widget);
|
||
|
|
||
|
EAPI const char *elm_code_widget_selection_text_get(Evas_Object *widget);
|
||
|
|
||
|
/**
|
||
|
* @}
|
||
|
*/
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* ELM_CODE_WIDGET_SELECTION_H_ */
|