CnPack Forum


 
Subject: begin..end;配对的问题?
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2009-6-2 13:50  Profile | Site | Blog | P.M.  | QQ | Yahoo!
begin..end;配对的问题?

CnPack IDE Wizards 错误报告。
描述:
是我设置的问题还是CW的BUG?

procedure TForm1.cm1ReceiveData(Sender: TObject; Buffer: Pointer; BufferLength:
    Word);
var
  bb: array of Char;
begin  |    //在光标所在位置按回车就会变成下面的代码
  mmo1.Lines.Add('----');
end;
-----------------------------------------------------------------------------------------------------------------------------
procedure TForm1.cm1ReceiveData(Sender: TObject; Buffer: Pointer; BufferLength:
    Word);
var
  bb: array of Char;
begin
  |
end;
  mmo1.Lines.Add('----');
end;
错误细节:
  该错误有 100% 的概率可重现。
步骤:
1. 从开始菜单中启动 Delphi 7
2. 一个默认的空工程被创建
3. 拖一Button什么的到窗体上
4. 双击Button输入代码
5. 在begin后按回车
设置:
  OS: Windows 6.1 (Build 7106)
  CnWizards: CnWizards_D7.DLL Ver: 0.9.2.515_Preview Build 2009.06.01
  IDE: ideD71 CSS
  ComCtl32: 5.82.7106.0
已安装的专家:
  C:\Program Files\Borland\Delphi7\Bin\EXPTDEMO.DLL = ExptDemo
  c:\Program Files\ModelMakerTools\Midex\7.00\midexd7.dll = MMX7
  F:\OpenSource\CnPack\src\cnwizards\Bin\CnWizards_D7.DLL = CnWizards_D7
已安装的包:
  Borland Integrated Translation Environment = c:\program files\borland\delphi7\Bin\dclite70.bpl
  Internet Direct (Indy) for D7 Property and Component Editors = c:\program files\borland\delphi7\Bin\dclindy70.bpl
  Borland Internet Components = c:\program files\borland\delphi7\Bin\dclnet70.bpl
  Borland Standard Components = C:\Program Files\Borland\Delphi7\Bin\dclstd70.bpl
  Borland DataSnap Connection Components = c:\program files\borland\delphi7\Bin\dclmcn70.bpl
  Borland MyBase DataAccess Components = C:\Program Files\Borland\Delphi7\Bin\dclmid70.bpl
  Borland Database Components = C:\Program Files\Borland\Delphi7\Bin\dcldb70.bpl
  Borland SOAP Components = c:\program files\borland\delphi7\Bin\dclsoap70.bpl
  Borland Sample Imported ActiveX Controls = c:\program files\borland\delphi7\Bin\dclocx70.bpl
  Borland Sample Components = c:\program files\borland\delphi7\Bin\dclsmp70.bpl
  Borland dbExpress Components = c:\program files\borland\delphi7\Bin\dcldbx70.bpl
  Borland SimpleDataset Component (DBX) = c:\program files\borland\delphi7\Bin\dcldbxcds70.bpl
  Borland Web Wizard Package = c:\program files\borland\delphi7\Bin\DBWEBXPRT.BPL
  Borland BDE DB Components = C:\Program Files\Borland\Delphi7\Bin\dclbde70.bpl
  Borland SQL Explorer UI Package = C:\Program Files\Borland\Delphi7\Bin\dbx70.bpl
  Borland InternetExpress Components = c:\program files\borland\delphi7\Bin\dclwbm70.bpl
  Internet Explorer Components = c:\program files\borland\delphi7\Bin\dclie70.bpl
  Borland WebSnap Components = c:\program files\borland\delphi7\Bin\dclwebsnap70.bpl
  Borland ADO DB Components = c:\program files\borland\delphi7\Bin\dclado70.bpl
  InterBase Data Access Components = c:\program files\borland\delphi7\Bin\DCLIB70.bpl
  TeeChart Components = c:\program files\borland\delphi7\Bin\dcltee70.bpl
  Borland Decision Cube Components = c:\program files\borland\delphi7\Bin\dcldss70.bpl
  Borland CLX Database Components = c:\program files\borland\delphi7\Bin\dclclxdb70.bpl
  Borland CLX Standard Components = C:\Program Files\Borland\Delphi7\Bin\dclclxstd70.bpl
  Borland Editor Script Enhancements = c:\program files\borland\delphi7\Bin\dclsmpedit70.bpl
  Borland Control Panel Applet Package = c:\program files\borland\delphi7\Bin\applet70.bpl
  Borland Editor Emacs Enhancements = c:\program files\borland\delphi7\Bin\dclemacsedit70.bpl
  Borland ActionBar Components = c:\program files\borland\delphi7\Bin\dclact70.bpl
  Borland Markup Language Wizards = c:\program files\borland\delphi7\Bin\dclmlwiz70.bpl
  Delphi 1.0 Compatibility Components = c:\program files\borland\delphi7\Bin\dcl31w70.bpl
  Borland Interbase Event Alerter Component = C:\Windows\system32\ibevnt70.bpl
  Shell Control Property and Component Editors = c:\program files\borland\delphi7\Bin\dclshlctrls70.bpl
  Intraweb 5.0 Design Package for Delphi 7 = c:\program files\borland\delphi7\Bin\dclIntraweb_50_70.bpl
  Microsoft Office XP Sample Automation Server Wrapper Components = c:\program files\borland\delphi7\Bin\dclofficexp70.bpl
  FastReport 2.5 Components = c:\program files\borland\delphi7\Projects\Bpl\FR7.bpl
  FastReport 2.5 BDE Components = c:\program files\borland\delphi7\Projects\Bpl\FRBDE7.bpl
  FastScript 1.7 Components = c:\program files\borland\delphi7\Projects\Bpl\dclfs7.bpl
  FastScript 1.7 DB Components = c:\program files\borland\delphi7\Projects\Bpl\dclfsDB7.bpl
  FastScript 1.7 BDE Components = c:\program files\borland\delphi7\Projects\Bpl\dclfsBDE7.bpl
  FastReport 3.0 Components = c:\program files\borland\delphi7\Projects\Bpl\dclfrx7.bpl
  FastReport 3.0 DB Components = c:\program files\borland\delphi7\Projects\Bpl\dclfrxDB7.bpl
  FastReport 3.0 BDE Components = c:\program files\borland\delphi7\Projects\Bpl\dclfrxBDE7.bpl
  FastReport 3.0 Exports = c:\program files\borland\delphi7\Projects\Bpl\dclfrxe7.bpl
  ComboBoxPlus and DBComboBoxPlus run time package = c:\program files\borland\delphi7\Projects\Bpl\VCLCBP70.bpl
  ComboBoxPlus and DBComboBoxPlus design time package = c:\program files\borland\delphi7\Projects\Bpl\DCLCBP70.bpl
  DBLookupComboPlus Design Time Package = c:\program files\borland\delphi7\Projects\Bpl\DCLLUP70.bpl
  Internet Component Suite (ICS) for Delphi 7 = c:\program files\borland\delphi7\Projects\Bpl\IcsDel70.bpl
  FFCA Used Visual Component Library = c:\program files\borland\delphi7\Projects\Bpl\UVCL.bpl
  FFCA Written Visual Component Library = c:\program files\borland\delphi7\Projects\Bpl\WVCL.bpl
  FFCA Used Database Access Components = c:\program files\borland\delphi7\Projects\Bpl\UDataAcc.bpl
  FFCA Written Data Access = c:\program files\borland\delphi7\Projects\Bpl\WDataAcc.bpl
  FFCA Written Freight Program = c:\program files\borland\delphi7\Projects\Bpl\FrgtProg.bpl
  FFCA Written Freight Program Report = c:\program files\borland\delphi7\Projects\Bpl\FrgtRpts.bpl
  FFCA Used Non Visual Components = c:\program files\borland\delphi7\Projects\Bpl\UNVisual.bpl
  Baikonur HTML Components = C:\Program Files\BEAST\bin\DclEtHtml70.bpl
  Baikonur WML Components = C:\Program Files\BEAST\bin\DclEtWML70.bpl
  Taxxi Support for Borland Standard Components = C:\Program Files\BEAST\bin\TaxxiDclStd70.bpl
  Taxxi Support for Borland Database Components = C:\Program Files\BEAST\bin\TaxxiDclDB70.bpl
  Taxxi Support for Borland Internet Explorer Components = C:\Program Files\BEAST\bin\TaxxiDclNet70.bpl
  Taxxi Support for Delphi 1.0 Compatibility Components = C:\Program Files\BEAST\bin\TaxxiDcl31w70.bpl
  Taxxi Support for Borland TeeChart Components = C:\Program Files\BEAST\bin\TaxxiDclTee70.bpl
  Taxxi Support for Borland Samples Components = C:\Program Files\BEAST\bin\TaxxiDclSmp70.bpl
  EurekaLog 6.0.15 = C:\Program Files\EurekaLog 6\Delphi7\ExceptionExpert7.bpl
  TOxygenSMS Component v.2.6 (Shareware) = c:\program files\borland\delphi7\Projects\Bpl\OxygenSMS.bpl
  Borland User Components = c:\program files\borland\delphi7\Projects\Bpl\dclusr70.bpl
  CnPack Components Designtime Package = c:\program files\borland\delphi7\Projects\Bpl\dclCnPack_D7.bpl
已安装的 IDE 包:
  (Untitled) = $(DELPHI)\Bin\htmlide70.bpl
  (Untitled) = $(DELPHI)\Bin\stride70.bpl
  (Untitled) = $(DELPHI)\Bin\proide70.bpl
  (Untitled) = $(DELPHI)\Bin\delphipro70.bpl
  (Untitled) = $(DELPHI)\Bin\delphide70.bpl
  (Untitled) = $(DELPHI)\Bin\designdgm70.bpl
  (Untitled) = $(DELPHI)\Bin\delphient70.bpl
  (Untitled) = $(DELPHI)\Bin\delphiclxide70.bpl
  (Untitled) = $(DELPHI)\Bin\direct70.bpl
  (Untitled) = $(DELPHI)\Bin\delphivclide70.bpl
  (Untitled) = $(DELPHI)\Bin\MsgInfo70.bpl
  (Untitled) = C:\Program Files\BEAST\bin\TaxxiIDE70.bpl
CnPack IDE 专家启用状态:
  1 = CnAlignSizeWizard
  1 = CnMessageBoxWizard
  1 = CnComponentSelector
  1 = CnTabOrderWizard
  1 = CnBookmarkWizard
  1 = CnSrcTemplate
  1 = CnEditorWizard
  0 = CnMsdnWizard
  0 = CnPas2HtmlWizard
  1 = CnReplaceWizard
  0 = CnSourceDiffWizard
  0 = CnStatWizard
  1 = CnPrefixWizard
  1 = CnCorPropWizard
  1 = CnProjectExtWizard
  1 = CnCommentCropperWizard
  0 = CnRepositoryMenuWizard
  0 = CnExplorerWizard
  1 = CnFilesSnapshotWizard
  1 = CnProcListWizard
  1 = CnUsesCleaner
  1 = CnIdeEnhanceMenuWizard
  0 = CnIdeBRWizard
  1 = CnScriptWizard
  1 = CnProjectListWizard
  1 = CnFastCodeWizard
  1 = CnFormEnhanceWizard
  1 = CnSourceHighlight
  1 = CnSrcEditorEnhance
  1 = CnPaletteEnhanceWizard
  0 = CnCpuWinEnhanceWizard
  0 = CnWinTopRoller
  1 = CnInputHelper
  1 = CnVerEnhanceWizard
  0 = CnDUnitWizard
  0 = CnIniFilerWizard
  0 = CnMemProfWizard
CnPack IDE 专家创建状态:
  1 = TCnFastCodeWizard
  1 = TCnFormEnhanceWizard
  1 = TCnAlignSizeWizard
  1 = TCnMessageBoxWizard
  1 = TCnComponentSelector
  1 = TCnTabOrderWizard
  1 = TCnBookmarkWizard
  1 = TCnSrcTemplate
  1 = TCnEditorWizard
  1 = TCnSourceHighlight
  0 = TCnMsdnWizard
  0 = TCnPas2HtmlWizard
  1 = TCnReplaceWizard
  0 = TCnSourceDiffWizard
  0 = TCnStatWizard
  1 = TCnPrefixWizard
  1 = TCnSrcEditorEnhance
  1 = TCnPaletteEnhanceWizard
  1 = TCnCorPropWizard
  1 = TCnProjectExtWizard
  1 = TCnCommentCropperWizard
  0 = TCnCpuWinEnhanceWizard
  0 = TCnRepositoryMenuWizard
  0 = TCnDUnitWizard
  0 = TCnIniFilerWizard
  0 = TCnMemProfWizard
  0 = TCnExplorerWizard
  1 = TCnFilesSnapshotWizard
  0 = TCnWinTopRoller
  1 = TCnInputHelper
  1 = TCnProcListWizard
  0 = TCnVerEnhanceWizard
  1 = TCnUsesCleaner
  1 = TCnIdeEnhanceMenuWizard
  0 = TCnIdeBRWizard
  0 = TCnScriptWizard
  1 = TCnProjectListWizard
CPU:
  # Processors: 2
  Type: Intel 586 model 15 Stepping 11
  Speed: 935.06 MHz
键盘:
  Type 0: Japanese keyboard with OEM FKeys
  Layout: Chinese (Simplified) - US Keyboard (ch) in KBDUS.DLL
本地化信息:
  Number of Digits: '2'
  Leading Zero: '0'
  List Separators: ','
  Grouping: '3;0'
  Decimal Separator: '.'
  Group Separator: ','
  Monetary Grouping: '3;0'
  Monetary Decimal Separator: '.'
  Monetary Group Separator: ','




小冬
http://MyvNet.com
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6804
Posts 3577
点点分 6804
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-6-2 20:45  Profile | Blog | P.M. 
这个功能是代码编辑器中新加的begin后自动输入end的功能。目前没做分析,统统会加。
Top
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2009-6-3 15:55  Profile | Site | Blog | P.M.  | QQ | Yahoo!
喔,那我先屏蔽这个功能。




小冬
http://MyvNet.com
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6804
Posts 3577
点点分 6804
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2009-6-5 11:49  Profile | Blog | P.M. 
516已经加上了,可以下最新的试一试。
Top
 




All times are GMT++8, the time now is 2024-9-8 07:42

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.019148 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP