<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card id="discuz_wml" title="CnPack Forum">
<p>#1 在D7下模拟出D2007 IDE的行号显示<br /><small>修改了cnwizards\Source\SrcEditorEnhance\CnSrcEditorGutter.pas 346行<br />
自娱自乐:lol: <br />
        <br />
        if ((Idx = 1) or (Idx mod 10 = 0) or (Idx = FPosInfo.LineCount)) then<br />
          DrawText(Canvas.Handle, PChar(StrNum), Length(StrNum), R, DT_VCENTER or DT_RIGHT)<br />
        else if (Idx mod 5 = 0) then<br />
          DrawText(Canvas.Handle, PChar('--' + #0 ), 2, R, DT_VCENTER or DT_RIGHT)<br />
        else<br />
          DrawText(Canvas.Handle, PChar('-' + #0 ), 1, R, DT_VCENTER or DT_RIGHT)<br />
<br />
[[i ..</small><br />
</p>
<p>#1 <a href="index.php?action=thread&amp;tid=8665&amp;start=0&amp;offset=497&amp;sid=Gc6PPx">&gt;&gt;Next Page</a><br />
<br />Forum:<a href="index.php?action=forum&amp;fid=8&amp;sid=Gc6PPx">CnPack IDE 专家包（CnW ...</a>
<br />Thread:<a href="index.php?action=thread&amp;tid=8665&amp;sid=Gc6PPx">在D7下模拟出D2007 ID ...</a>
<br />Next Thread:<a href="index.php?action=thread&amp;tid=8604&amp;sid=Gc6PPx">CnPack IDE 专家包发 ...</a>
</p>
<p align="center"><br /><a href="index.php?sid=Gc6PPx">Home</a><br />
<a href="index.php?action=login&amp;sid=">Login</a><br /><br />
<small>Powered by Discuz!</small></p>
</card>
</wml>