C++Builder代码折叠

cnapckSurround c++builder Region 代码折叠快捷键,可以导入导出,IDE code edit,cnpack menu surround with,the last menu option import/export.

Alt+R very good for region

 

  <o>
    <Caption>Region</Caption>
    <ShortCut>32850</ShortCut>
    <LineBlockMode>1</LineBlockMode>
    <IndentLevel>0</IndentLevel>
    <HeadText>#pragma region </HeadText>
    <HeadAutoIndent>1</HeadAutoIndent>
    <HeadIndentLevel>0</HeadIndentLevel>
    <TailText>#pragma end_region</TailText>
    <TailAutoIndent>1</TailAutoIndent>
    <TailIndentLevel>0</TailIndentLevel>
  </o>

 

XE7 Update1与主菜单的快捷键冲突了,XE7 UP1 ,和浏览器一样 按下alt键先调出菜单的快捷键

    #pragma region   fun1
    String str;
    str = this->Caption;
    str = str.StringOfChar('0', 10 - str.Length()) + str;
    this->Caption = str;
    this->Caption = "www";

    #pragma end_region

 

posted on 2014-09-22 10:39  lypzxy  阅读(457)  评论(0编辑  收藏  举报