文章分类 -  软件手册

上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要:1 Document >> SetSel 设置选区 原型: void SetSel(int sline, int scol, int eline, int ecol); 1.1 参数 sline [in] int类型, 起始行,起始值0 scol [in] int类型, 起始列,起始值0 eline 阅读全文
posted @ 2024-12-14 22:01 tyysoft 阅读(7) 评论(0) 推荐(0)
摘要:1 Document >> SetLineTooltip 给指定行设置错误提示信息 原型: void SetLineTooltip(int line, string strtext); 1.1 参数 line [in] int类型, 行号 strtext [in] string类型, 提示信息 1. 阅读全文
posted @ 2024-12-14 21:54 tyysoft 阅读(8) 评论(0) 推荐(0)
摘要:1 Document >> SetLineImage 设置指定行的图标序号 原型: void SetLineImage(int line, int icon); 1.1 参数 line [in] int类型, 行号 icon [in] int类型, 图标序号 1.2 返回值 void:无 1.3 版 阅读全文
posted @ 2024-12-14 21:54 tyysoft 阅读(6) 评论(0) 推荐(0)
摘要:1 Document >> SetImageList 给文档设置自定义图片文件 原型: bool SetImageList(string path); 1.1 参数 path [in] string类型, 文件全路径 1.2 返回值 bool:true/false是否添加成功 1.3 版本 Ever 阅读全文
posted @ 2024-12-14 21:53 tyysoft 阅读(12) 评论(0) 推荐(0)
摘要:1 Document >> SetCaretPos 设置光标位置 原型: void SetCaretPos(int line, int col, bool bVisible); 1.1 参数 line [in] int类型, 行,起始值0 col [in] int类型, 列,起始值0 bVisibl 阅读全文
posted @ 2024-12-14 21:52 tyysoft 阅读(3) 评论(0) 推荐(0)
摘要:1 Document >> SendCommand 调用内部原子命令 原型: void SendCommand( int nCmd); 1.1 参数 nCmd [in] int类型, 命令ID 1.2 返回值 void:无 1.3 版本 EverEdit 4.5.0(4500)及之后版本。 1.4 阅读全文
posted @ 2024-12-14 21:33 tyysoft 阅读(3) 评论(0) 推荐(0)
摘要:1 Document >> ReplaceAll 替换当前文档中所有匹配文字 原型: int ReplaceAll(string strFind, string strReplace); 1.1 参数 strFind [in] string类型,查找文字 strReplace [in] string 阅读全文
posted @ 2024-12-14 21:27 tyysoft 阅读(6) 评论(0) 推荐(0)
摘要:1 Document >> ReplaceAll 替换当前文档中所有匹配文字 原型: int ReplaceAll(string strFind, string strReplace, bool bCase); 1.1 参数 strFind [in] string类型,查找文字 strReplace 阅读全文
posted @ 2024-12-14 21:26 tyysoft 阅读(5) 评论(0) 推荐(0)
摘要:1 Document >> ReplaceAll 替换当前文档中所有匹配文字 原型: int ReplaceAll(string strFind, string strReplace, bool bCase, bool bRegex); 1.1 参数 strFind [in] string类型,查找 阅读全文
posted @ 2024-12-14 21:26 tyysoft 阅读(9) 评论(0) 推荐(0)
摘要:1 Document >> ReplaceAll 替换当前文档中所有匹配文字 原型: int ReplaceAll(string strFind, string strReplace, bool bCase, bool bRegex, bool bWord); 1.1 参数 strFind [in] 阅读全文
posted @ 2024-12-14 21:26 tyysoft 阅读(8) 评论(0) 推荐(0)
摘要:1 Document >> ReplaceAll 替换当前文档中的所有匹配文字 原型: int ReplaceAll(string strFind, string strReplace, bool bCase, bool bRegex, bool bWord, bool bExtended); 1. 阅读全文
posted @ 2024-12-14 21:25 tyysoft 阅读(8) 评论(0) 推荐(0)
摘要:1 Document >> Refresh 强制刷新、重绘文档 原型: void Refresh(); 1.1 参数 ***[in] *** 无 1.2 返回值 void:无 1.3 版本 EverEdit 4.5.0(4500)及之后版本。 1.4 备注 1.5 使用样例 var doc = Ap 阅读全文
posted @ 2024-12-14 21:25 tyysoft 阅读(1) 评论(0) 推荐(0)
摘要:1 Document >> Pos2Offset 行列位置转成相对文档的偏移量 原型: int Pos2Offset(int line, int col); 1.1 参数 line [in] int类型, 行号,起始值0 col [in] int类型, 列,起始值0 1.2 返回值 int:偏移量 阅读全文
posted @ 2024-12-14 21:24 tyysoft 阅读(5) 评论(0) 推荐(0)
摘要:1 Document >> Pos2Offset 根据光标获取相对文档偏移量 原型: int Pos2Offset(Pos pos); 1.1 参数 pos [in] Pos类型, 光标位置 1.2 返回值 int:光标对应的字符位置 1.3 版本 EverEdit 4.5.0(4500)及之后版本 阅读全文
posted @ 2024-12-14 21:23 tyysoft 阅读(6) 评论(0) 推荐(0)
摘要:1 Document >> OpenOutlineFile 给文档加载大纲结构 原型: void OpenOutlineFile(string strOutlineFile, string strImg); 1.1 参数 strOutlineFile [in] string类型, 大纲分析文件全路径 阅读全文
posted @ 2024-12-14 21:23 tyysoft 阅读(9) 评论(0) 推荐(0)
摘要:1 Document >> Offset2Pos 获取光标位置 原型: Pos Offset2Pos(int nOffset); 1.1 参数 nOffset [in] int类型, 相对文档头部的字符位置,即,本文的第N个字符,含换行符 1.2 返回值 Pos:光标位置对象(行、列) 1.3 版本 阅读全文
posted @ 2024-12-14 21:22 tyysoft 阅读(7) 评论(0) 推荐(0)
摘要:1 Document >> MoveCaret 光标移动指定字符位置 原型: void MoveCaret(int nLength); 1.1 参数 nLength [in] int类型, 移动的字符数 1.2 返回值 void:无 1.3 版本 EverEdit 4.5.0(4500)及之后版本。 阅读全文
posted @ 2024-12-14 21:22 tyysoft 阅读(4) 评论(0) 推荐(0)
摘要:1 Document >> InsertSnippet 在光标处插入代码片段 原型: int InsertSnippet(string strSnippet); 1.1 参数 strSnippet [in] string类型,代码片段 1.2 返回值 int:结果 1.3 版本 EverEdit 4 阅读全文
posted @ 2024-12-14 21:21 tyysoft 阅读(3) 评论(0) 推荐(0)
摘要:1 Document >> InsertAt 在指定行列位置插入文本 原型: void InsertAt(int line, int col, string strText); 1.1 参数 line [in] int类型, 行,起始值0 col [in] int类型, 列,起始值0 strText 阅读全文
posted @ 2024-12-14 21:21 tyysoft 阅读(2) 评论(0) 推荐(0)
摘要:1 Document >> Insert 在当前光标位置插入文本 原型: void Insert(string strText); 1.1 参数 strText [in] string类型, 待插入文本 1.2 返回值 void:无 1.3 版本 EverEdit 4.5.0(4500)及之后版本。 阅读全文
posted @ 2024-12-14 20:54 tyysoft 阅读(5) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 17 下一页