函数 | |
| HELE WINAPI | XEditor_Create (int x, int y, int cx, int cy, HXCGUI hParent) |
| @代码编辑框_创建 更多... | |
| BOOL WINAPI | XEditor_IsBreakpoint (HELE hEle, int iRow) |
| @代码编辑框_是否断点 更多... | |
| BOOL WINAPI | XEditor_SetBreakpoint (HELE hEle, int iRow, BOOL bActivate) |
| @代码编辑框_置断点 更多... | |
| BOOL WINAPI | XEditor_RemoveBreakpoint (HELE hEle, int iRow) |
| @代码编辑框_移除断点 更多... | |
| void WINAPI | XEditor_ClearBreakpoint (HELE hEle) |
| @代码编辑框_清空断点 更多... | |
| BOOL WINAPI | XEditor_SetRunRow (HELE hEle, int iRow) |
| @代码编辑框_置当前运行 更多... | |
| void WINAPI | XEditor_GetColor (HELE hEle, __out editor_color_ *pInfo) |
| @代码编辑框_取颜色信息 更多... | |
| void WINAPI | XEditor_SetColor (HELE hEle, editor_color_ *pInfo) |
| @代码编辑框_置颜色 更多... | |
| int WINAPI | XEditor_GetBreakpointCount (HELE hEle) |
| @代码编辑框_取断点数量 更多... | |
| void WINAPI | XEditor_SetTipsDelay (HELE hEle, int nDelay) |
| @代码编辑框_置提示信息延迟 更多... | |
| void WINAPI | XEditor_SetAutoMatchSelectModel (HELE hEle, int model) |
| @代码编辑框_置自动匹配选择模式 更多... | |
| void WINAPI | XEditor_SetAutoMatchMode (HELE hEle, int mode) |
| @代码编辑框_置自动匹配结果显示模式 更多... | |
| int WINAPI | XEditor_GetBreakpoints (HELE hEle, out_buffer_ int *aPoints, int nCount) |
| @代码编辑框_取全部断点 更多... | |
| void WINAPI | XEditor_SetCurRow (HELE hEle, int iRow) |
| @代码编辑框_设置当前行 跳过收缩行 更多... | |
| int WINAPI | XEditor_GetDepth (HELE hEle, int iRow) |
| @代码编辑框_获取深度 更多... | |
| int WINAPI | XEditor_ToExpandRow (HELE hEle, int iRow) |
| @代码编辑框_转换到展开行 跳过收缩行 更多... | |
| void WINAPI | XEditor_ExpandEx (HELE hEle, int iRow) |
| @代码编辑框_展开扩展 完全展开指定行,例如:行包含在折叠内容中,将其展开 更多... | |
| void WINAPI | XEditor_ExpandAll (HELE hEle, BOOL bExpand) |
| @代码编辑框_展开全部 更多... | |
| void WINAPI | XEditor_Expand (HELE hEle, int iRow, BOOL bExpand) |
| @代码编辑框_展开指定行 更多... | |
| void WINAPI | XEditor_ExpandSwitch (HELE hEle, int iRow) |
| @代码编辑框_展开收缩指定行 更多... | |
| void WINAPI | XEditor_AddKeyword (HELE hEle, const wchar_t *pKey, int iStyle) |
| @代码编辑框_添加关键字 如果已存在,那么仅更新样式 更多... | |
| void WINAPI | XEditor_AddConst (HELE hEle, const wchar_t *pKey) |
| @代码编辑框_添加自动匹配字符串 更多... | |
| void WINAPI | XEditor_AddFunction (HELE hEle, const wchar_t *pKey) |
| @代码编辑框_添加自动匹配函数 更多... | |
| void WINAPI | XEditor_AddExcludeDefVarKeyword (HELE hEle, const wchar_t *pKeyword) |
| @代码编辑框_添加排除定义变量关键字 排除定义变量的关键字, 用于排除定义变量, 因为定义变量禁用自动匹配; 此关键字不加入自动匹配,仅用于排除定义变量 更多... | |
代码编辑框, 暂时炫彩IDE代码编辑器内部使用, 因为接口随时可能变动,所以目前未完全开放
| void WINAPI XEditor_AddConst | ( | HELE | hEle, |
| const wchar_t * | pKey | ||
| ) |
@代码编辑框_添加自动匹配字符串
| hEle | 元素句柄 |
| pKey | 字符串 |
| void WINAPI XEditor_AddExcludeDefVarKeyword | ( | HELE | hEle, |
| const wchar_t * | pKeyword | ||
| ) |
@代码编辑框_添加排除定义变量关键字 排除定义变量的关键字, 用于排除定义变量, 因为定义变量禁用自动匹配; 此关键字不加入自动匹配,仅用于排除定义变量
| hEle | 元素句柄 |
| pKeyword | 字符串 |
| void WINAPI XEditor_AddFunction | ( | HELE | hEle, |
| const wchar_t * | pKey | ||
| ) |
@代码编辑框_添加自动匹配函数
| hEle | 元素句柄 |
| pKey | 字符串 |
| void WINAPI XEditor_AddKeyword | ( | HELE | hEle, |
| const wchar_t * | pKey, | ||
| int | iStyle | ||
| ) |
@代码编辑框_添加关键字 如果已存在,那么仅更新样式
| hEle | 元素句柄 |
| pKey | 字符串 |
| iStyle | 样式 |
| void WINAPI XEditor_ClearBreakpoint | ( | HELE | hEle | ) |
@代码编辑框_清空断点
| hEle | 元素句柄 |
| HELE WINAPI XEditor_Create | ( | int | x, |
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| HXCGUI | hParent | ||
| ) |
@代码编辑框_创建
| x | 元素x坐标. |
| y | 元素y坐标. |
| cx | 宽度. |
| cy | 高度. |
| hParent | 父为窗口句柄或元素句柄. |
| void WINAPI XEditor_Expand | ( | HELE | hEle, |
| int | iRow, | ||
| BOOL | bExpand | ||
| ) |
@代码编辑框_展开指定行
| hEle | 元素句柄 |
| iRow | 行索引 |
| bExpand | 是否展开 |
| void WINAPI XEditor_ExpandAll | ( | HELE | hEle, |
| BOOL | bExpand | ||
| ) |
@代码编辑框_展开全部
| hEle | 元素句柄 |
| bExpand | 是否展开 |
| void WINAPI XEditor_ExpandEx | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_展开扩展 完全展开指定行,例如:行包含在折叠内容中,将其展开
| hEle | 元素句柄 |
| iRow | 行索引 |
| void WINAPI XEditor_ExpandSwitch | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_展开收缩指定行
| hEle | 元素句柄 |
| iRow | 行索引 |
| int WINAPI XEditor_GetBreakpointCount | ( | HELE | hEle | ) |
@代码编辑框_取断点数量
| hEle | 元素句柄 |
| int WINAPI XEditor_GetBreakpoints | ( | HELE | hEle, |
| out_buffer_ int * | aPoints, | ||
| int | nCount | ||
| ) |
@代码编辑框_取全部断点
| hEle | 元素句柄 |
| aPoints | 接收断点数组 |
| nCount | 数组大小 |
| void WINAPI XEditor_GetColor | ( | HELE | hEle, |
| __out editor_color_ * | pInfo | ||
| ) |
@代码编辑框_取颜色信息
| hEle | 元素句柄 |
| pInfo | 颜色信息结构体指针 |
| int WINAPI XEditor_GetDepth | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_获取深度
| hEle | 元素句柄 |
| iRow | 行索引 |
| BOOL WINAPI XEditor_IsBreakpoint | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_是否断点
| hEle | 元素句柄 |
| iRow | 行索引 |
| BOOL WINAPI XEditor_RemoveBreakpoint | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_移除断点
| hEle | 元素句柄 |
| iRow | 行索引 |
| void WINAPI XEditor_SetAutoMatchMode | ( | HELE | hEle, |
| int | mode | ||
| ) |
@代码编辑框_置自动匹配结果显示模式
| hEle | 元素句柄 |
| mode | 0:中英文(上屏中文), 1:中英文(上屏英文), 2:中文(上屏中文), 3:英文(上屏英文) |
| void WINAPI XEditor_SetAutoMatchSelectModel | ( | HELE | hEle, |
| int | model | ||
| ) |
@代码编辑框_置自动匹配选择模式
| hEle | 元素句柄 |
| model | 0:回车选择, 1:空格选择, 3:tab键选择 |
| BOOL WINAPI XEditor_SetBreakpoint | ( | HELE | hEle, |
| int | iRow, | ||
| BOOL | bActivate | ||
| ) |
@代码编辑框_置断点
| hEle | 元素句柄 |
| iRow | 行索引 |
| bActivate | 是否激活 |
| void WINAPI XEditor_SetColor | ( | HELE | hEle, |
| editor_color_ * | pInfo | ||
| ) |
@代码编辑框_置颜色
| hEle | 元素句柄 |
| pInfo | 颜色信息结构体指针 |
| void WINAPI XEditor_SetCurRow | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_设置当前行 跳过收缩行
| hEle | 元素句柄 |
| iRow | 行索引 |
| BOOL WINAPI XEditor_SetRunRow | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_置当前运行
| hEle | 元素句柄 |
| iRow | 行索引 |
| void WINAPI XEditor_SetTipsDelay | ( | HELE | hEle, |
| int | nDelay | ||
| ) |
@代码编辑框_置提示信息延迟
| hEle | 元素句柄 |
| nDelay | 延迟值毫秒 |
| int WINAPI XEditor_ToExpandRow | ( | HELE | hEle, |
| int | iRow | ||
| ) |
@代码编辑框_转换到展开行 跳过收缩行
| hEle | 元素句柄 |
| iRow | 行索引 |