【EverEdit用户手册】Document >> CommentBlock

 

 

1 Document >> CommentBlock

块注释或取消块注释

原型:

void CommentBlock(string strCommentOn, string strCommnetOff, bool bComment);

1.1 参数

strCommentOn

 [in] string类型,块注释起始字符

strCommnetOff

 [in] string类型,块注释结束字符

bComment

 [in] bool类型,true,注释, false,取消注释

1.2 返回值

void:无

1.3 版本

EverEdit 4.5.0(4500)及之后版本。

1.4 备注

  使用App.SendCommandEx("cm_edit_blockcomment");更方便,不需要用户指定块注释起始符和块注释结束符

1.5 使用样例

 App.SendCommandEx("cm_edit_blockcomment");
posted @ 2024-12-14 20:32  tyysoft  阅读(5)  评论(0)    收藏  举报