Delphi Code EditorÓм¸¸öÌØÐÔÔÚ±àд´ó¹æÄ£´úÂëʱ·Ç³£ÓÐÓá£ÏÂÃæ·Ö±ð½øÐнéÉÜ£º
1¡¢Code Templates£¨´úÂëÄ£°å£©
ʹÓôúÂëÄ£°å¿É°ÑÈÎÒâÔ¤¶¨Òå´úÂ루»òÕýÎÄ£©²åÈëµ½µ¥ÔªÎļþÖС£µ±ÔÚCode EditorÖб༴úÂëʱ£¬°´Ï¼üÅ̵ġ¾Ctrl + J¡¿£¬¾Í¿ÉʹÓôúÂëÄ£°å£»´Ëʱ»áµ¯³öÒ»¸öÁбí¿ò£¬ÆäÖÐÁгöÁ˿ɹ©Ñ¡ÔñµÄÄ£°å¡£´ÓÁбíÖÐÑ¡È¡Ò»¸öÄ£°å£¬°´ÏÂEnter¼ü£¬ÓëËùÑ¡Ä£°åÏà¶ÔÓ¦µÄÕýÎľͻᱻ²åÈëµ½µ¥ÔªÎļþÖС£ÈçÏÂͼ£º
¿ÉÒÔͨ¹ý¡°Environment Options¡±¶Ô»°¿òµÄ¡°Code Insight¡±Ò³ÃæÀ´Ôö¼ÓÐÂÄ£°å»ò±à¼ÏÖÓÐÄ£°å£»µ±È»£¬Ò²¿ÉÒÔÓÃÎı¾±à¼Æ÷´ò¿ª´úÂëÄ£°åÎļþ£¬±à¼ÆäÖеĴúÂëÄ£°å¡£´úÂëÄ£°åÎļþΪDELPHI32.DCI£¬Î»ÓÚDelphi°²×°Ä¿Â¼ÏÂBinĿ¼ÖС£
¿É×ÔÓÉÐ޸ĴúÂëÄ£°å¡£ÀýÈ磬¿ÉÒÔÕâÑùÐ޸Ĵú±íforÓï¾äµÄ´úÂëÄ£°å£º
for I := 0 to Pred(|) dobeginend;
×¢ÒâÉÏÃæµÄ¹ÜµÀ·û£¨|£©¡£´úÂëÄ£°åÈëÖÐÖеĹܵÀÊÇÒ»¸öλÖñêʶ·û£¬Ëü¾ö¶¨ÕýÎIJåÈë´úÂëÖйâ±êËùÔÚλÖá£
Tip
Èç¹û¶Ô´úÂëÄ£°åÎļþ½øÐÐÁË´óÐ޸ģ¬Ò»¶¨Òª¶ÔÐ޸ĹýµÄ´úÂëÄ£°åÎļþ½øÐб¸·Ý£¬ÒÔ±¸ÒÔºóʹÓá£ÒòΪµ±¸üлòÖØа²×°Delphiʱ£¬Delphi°²×°³ÌÐò»á¸²¸ÇµôÐ޸ĹýµÄDELPHI32.DCIÎļþ¡£
´úÂëÄ£°å²»½ö½öÖ»ÓÃÓÚ´úÂë¡£ÀýÈçÏÂÃæµÄ´úÂ룺
{****************************************************}{* Filename and Version *}{* Copyright(C) pchmonster 2012 ¡¡¡¡¡¡¡¡¡¡ *}{* All rights reserved. *}{****************************************************}Õâ¶Î×¢ÊÍ°æȨÐÅÏ¢»ù±¾ÊDz»±ä»¯µÄ£¬Òò´Ë¿É½«Ëü×ö³ÉÒ»¸öÄ£°å£¬ÒÔ±ãÔÚд´½¨µÄµ¥ÔªÖпìËÙ½«´Ë°æȨÐÅÏ¢Ìí¼Ó½øÈ¥¡£¿ÉÒÔ°ÑÈÕ³£±à³ÌÖо³£Ê¹ÓõÄÕýÎÄ×ö³É´úÂëÄ£°å¡£
2¡¢Code Parameters£¨´úÂë²ÎÊý£©
Code EditorµÄ´úÂë²ÎÊýÌØÐÔʵÏÖÒ»¸öÌáʾ´°£¨Tooltip£©£¬¸øÓû§ÌáʾVCL·½·¨»òAPIº¯ÊýËùÐèµÄ²ÎÊýÐÅÏ¢¡£Óкü¸°Ù¸öVCL·½·¨ºÍWindows APIº¯Êý£¬Òª¼Çסÿ¸öº¯ÊýµÄ²ÎÊýÊÇÊ®·ÖÀ§Äѵġ£µ±Óû§¼üÈëÒ»¸ö·½·¨Ãûʱ£¬´úÂë²ÎÊýÌØÐÔΪÓû§ÏÔʾ¸Ã·½·¨µÄ²ÎÊý£¬´Ó¶ø½ÚÊ¡Óû§µÄʼþ¡£±ÈÈç˵µ÷ÓÃSetBounds·½·¨£¬µ±¼üÈë×óÀ¨ºÅºó£¬µ¯³öÌáʾ´°£¬ÈçÏÂͼ£º
Ìáʾ´°ÖÐÁгöÁËÿ¸ö²ÎÊý£¬ÂíÉÏÒª¼üÈëµÄ²ÎÊýÒÔ´ÖÌåÏÔʾ£¬¼üÈëÒ»¸ö²ÎÊýºó£¬ÆäºóµÄ²ÎÊýÓÖÒÔ´ÖÌåÏÔʾ£¬Ö±ÖÁÊäÈëÍêËùÓвÎÊý¡£´ý¼üÈëËùÓвÎÊýºó£¬´úÂë²ÎÊýÌáʾ´°¾Í»áÏûʧ¡£¿ÉÔÚ¡°Environment Options¡±¶Ô»°¿òµÄ¡°Code Insight¡±Ò³ÃæÉèÖôúÂë²ÎÊýÑ¡Ïî¡£
3¡¢Code Completion£¨´úÂëÍê³É£©
¼ÓÈëÒ»¸öÀà±äÁ¿ÃûºÍµã²Ù×÷·û£¨.£©£¬Code Editor¾Í»áÏÔʾһ¸öÁбí¿ò£¬ÆäÖÐÁгö¸ÃÀàµÄËùÓÐÊôÐԺͷ½·¨¡£±ÈÈç˵£¬ÓÐÒ»¸öMemo×é¼þ£¬¼üÈ룺
Memo.
²¢ÉÔÍ£¶Ùһϣ¬¾Í»áµ¯³öÈçϵÄÁбí¿ò£º
½ÓÏÂÀ´£¬¿ÉÓÃÁ½ÖÖ·½·¨À´Ñ¡Ôñ±íÖеÄÏî¡£
·½·¨Ò»¡¢ÓÃÊó±ê»ò¼üÅÌÖ¸¶¨Áбí¿òÖеÄÒ»¸öÊôÐÔ»ò·½·¨£¬°´Enter¼ü£¬ÔòÖ¸¶¨µÄÊôÐԺͷ½·¨»á±»²åÈëµ½´úÂëÖС£
·½·¨¶þ¡¢¼üÈëÒª²åÈë´úÂëÖеÄÊôÐÔ»ò·½·¨µÄÍ·¼¸¸ö×Öĸ£¬DelphiÔÚÁбí¿òÖвéÕÒÓë֮ƥÅäµÄÊôÐÔ»ò·½·¨£¬²¢¼ÓÁÁÏÔʾ×îÆ¥ÅäÊäÈë×ÖĸµÄÏÈôÕâ¸öÏî¾ÍÊÇËùÒªµÄÊôÐÔ»ò·½·¨£¬°´ÏÂEnter¼üÅ̼´¿É²åÈëµ½´úÂëÖС£
Èô²»ÏëʹÓÃCode CompletionÁбí¿ò£¬°´Ï¼üÅ̵ÄESC¼ü£¬Áбí¿ò¾Í»áÏûʧ¡£
Code CompletionÌṩÊôÐԺͷ½·¨ÁÐ±í¹©Óû§Ñ¡Ôñ£¬´Ó¶ø½ÚÊ¡Óû§Ê¼þ£¬Í¬Ê±¿ÉÒÔ±ÜÃâÊôÐÔÃû¡¢·½·¨ÃûµÄƴд´íÎó¼°´óСд´íÎ󡣿ÉÒÔÑ¡¶¨ËùÒªµÄÊôÐÔ»ò·½·¨£¬°´ÏÂEnter¼ü£¬Delphi¾Í»á½«Ëü²åÈëµ½´úÂëÖС£
4¡¢Tooltip Symbol Insight£¨¹¤¾ßÌáʾ£©
°ÑÊó±ê¹â±êÒƵ½Ô´´úÂëÖеÄÈÎÒâ±êʶ·ûÉÏ£¬¾Í»áµ¯³öÒ»¸öÌáʾ¿ò£¬ÀýÈ磬ÔÚÈÎÒâ±ê×¼¹¤³ÌÖнӿڶΣ¬½«¹â±ê¶¨Î»µ½¡°TForm1 = Class(TForm)¡±ÉÏ£¬»áµ¯³öÈçϵĴ°¿Ú£º
ÕâÒ»ÐÐÏÔʾÁËTFormÀàÉùÃ÷£¬²¢¸æËßÓû§TFormÊÇÔÚForms.pasµ¥ÔªµÄ704ÐÐÉùÃ÷µÄ¡£
¸Ã¹¤¾ßÌáʾ»á¸æËßÓû§ÓйسÌÐòÖÐÈÎÒ»±äÁ¿µÄÐÅÏ¢£¬µ±Óû§Íü¼ÇÁËÒ»¸ö±äÁ¿µÄÀàÐÍʱ£¬Ê¹ÓÃÕâ¸ö¹¦ÄÜ»áÌر𷽱㡣
5¡¢Class Completion£¨ÀàÍê³É£©
ÔÚinterface½Ó¿Ú¶ÎÖмüÈëÒ»·½·¨»òÊôÐÔµÄÉùÃ÷ºó£¬²¢°´Ï¡¾Ctrl + Shift + C¡¿£¬Delphi¾Í»á°Ñ±ØÐëµÄ´úÂë¼Óµ½implementationʵÏÖ¶ÎÖУ¬´Ó¶øÍê³ÉÕâ¸öÀà¡£ÏÂÃæͨ¹ý¼òµ¥µÄÁªÏµÀ´ÊìϤÕâ¸öÌØÐÔ£º
(1)Æô¶¯Ò»¸ö¿Õ¹¤³Ì¡£
(2)Çл»µ½Code EditorÖУ¬ÕÒµ½interface½Ó¿Ú¶ÎÖеĴ°ÌåÀàÉùÃ÷¡£
(3)Ôڸô°ÌåÀàÉùÃ÷ÖеÄpublic¶ÎÖмüÈëÒÔÏ´úÂ룺
(4)°´Ï¡¾Ctrl + Shift + C¡¿×éºÏ¼ü£¬Delphi×Ô¶¯½«TestºÍGetSomething·½·¨µÄ´úÂëÌí¼Óµ½implementation¶ÎÖÐÁË£¬²¢½«¹â±ê¶¨Î»µ½µÚÒ»¸ö·½·¨ÖС£ÈçÏÂͼ£º
Class CompletionÊÊÓÃÓÚÊôÐÔÉùÃ÷ºÍ·½·¨¡£¼üÈëÒ»¸öÊôÐÔÉùÃ÷£¬°´Ï¡¾Ctrl + Shift + C¡¿¼ü£¬Delphi¾Í»á×Ô¶¯Íê³É¸ÃÊôÐÔµÄÉùÃ÷¡£Ëü»¹ÄÜΪÊôÐÔÌí¼ÓÒ»¸öwrite·½·¨¡£ÏÖÔÚÀí½âÕâ¸öwrite·½·¨ÓеãÀ§ÄÑ£¬ÔÚÒÔºóµÄ½²½âÖÐÄܱàд×Ô¼ºµÄ×é¼þºó£¬¾Í»áÃ÷°×µÄ¡£
Class CompletionÌØÐÔÔÚ±àд×é¼þʱ£¬¿É½ÚÊ¡Ðí¶àʱ¼ä£¬Ê¹ÓÃÒ»¶Îʱ¼äºó£¬¾Í»á¾õµÃÔÙÒ²Àë²»¿ªËüÁË¡£
6¡¢Module Navigation£¨Ä£¿éµ¼º½£©
ËüʹÓû§Äܹ»´Óimplementation¶ÎÖÐÒ»¸ö·½·¨¿ìËÙÒƶ¯µ½interface¶ÎÖи÷½·¨ÉùÃ÷´¦£»·´¹ýÀ´Ò²¿ÉÒÔ¡£»¹ÊÇ×ö¸öÁ·Ï°À´ËµÃ÷Ëü°Ñ¡£
(1)ÕÒµ½ÉÏÃæµÄÁ·Ï°£¬ÎÒÃÇÐ޸Ĺý´°ÌåµÄÀàÉùÃ÷£¬Ìí¼ÓÁËGetSomethingºÍTest·½·¨¹ý³Ì£»
(2)µã»÷°üº¬Test¹ý³ÌµÄÉùÃ÷µÄÐУ»
(3)È»ºó°´Ï¡¾Ctrl + Shift + ÏòϼýÍ·¡¿×éºÏ¼ü£¬Code Editor¾Í»áÌøµ½implementation¶ÎÖеÄTest¹ý³Ì´úÂë´¦£»
(4)°´Ï¡¾Ctrl + Shift + ÏòÉϼýÍ·¡¿×éºÏ¼ü£¬Code EditorÓÖ»áÌøµ½interface¶ÎÖÐTest¹ý³ÌµÄÉùÃ÷´¦£»
ʹÓÃÄ£¿éµ¼º½£¬ÄÜ·½±ãµÄÔÚimplementation¶ÎºÍinterface¶ÎÖ®¼ä¿ìËÙÒƶ¯¡£
Tip
ÓÃÉϼýÍ·»òϼýÍ·Î޹ؽôÒª£¬Ê¹ÓÃÆäÖÐÈÎÒ»¸ö°´Å¥¶¼¿ÉÔÚinterface¶ÎºÍimplementation¶ÎÖ®¼äÀ´»ØÇл»¡£
7¡¢Module Browsing£¨Ä£¿éä¯ÀÀ£©
Ä£¿éä¯ÀÀÊÇÁíÒ»ÖÖÄ£¿éµ¼º½¹¤¾ß¡£ÔÚCode EditorÖУ¬°´×¡¡¾Ctrl¡¿¼ü£¬°ÑÊó±ê¹â±êÖÃÓÚÒ»¸ö±êʶ·ûÃûÉÏ£¬¸Ã±êʶ·û¾Í»áÒÔÀ¶É«¼ÓÁÁÏÔʾ²¢¼ÓÉÏÏ»®Ïߣ»µã»÷Õâ¸ö±êʶ·û£¬Delphi»á¸æÖ®¸Ã±êʶ·ûÉùÃ÷ÔÚÔ´´úÂëÖеÄλÖá£
Ä£¿éä¯ÀÀÀàÀàËÆÄ£¿éµ¼º½ÌØÐÔ¡£µ«Êdzý´ËÖ®Í⣬ģ¿éä¯ÀÀ»¹ÓÐÆäËû×÷Óá£ÓÃÄ£¿éä¯ÀÀ¼È¿Éµã»÷VCL±êʶ·û£¬Ò²¿Éµã»÷×Ô¼ºµÄ±êʶ·û¡£ÏÂÃæ¾ÙÀý×Ó˵Ã÷¡£
1)´´½¨Ò»¸öÐÂÓ¦ÓóÌÐò£¬ÔÚÆä´°ÌåÉÏ·ÅÖÃÒ»¸öButton×é¼þºÍÒ»¸öMemo×é¼þ¡£
2)´ÓÖ÷²Ëµ¥ÉÏÑ¡Ôñ¡¾Project | Options¡¿¡£µã»÷¡°Project Options¡±¶Ô»°¿òÖеġ°Directories/Conditionals¡±±êÇ©¡£ÔÚ¡°Search Path¡±×Ö¶ÎÖÐÊäÈëÒÔÏÂÄÚÈÝ£º
$(DELPHI)\Source\Vcl;$(DELPHI)\Source\Rtl\Win
µã»÷OK¹Ø±Õ¡°Project Options¡±¶Ô»°¿ò¡£
3)Ë«»÷´°ÌåÉϵÄButton1°´Å¥£¬ÎªÆäÌí¼ÓOnClickʼþ´¦Àí³ÌÐòÈçÏ£º
TMemoµÄClear·½·¨Çå³ýMemoÄÚÈÝ£¬´ó¼ÒÊDz»ÊǺÜÏëÖªµÀClear·½·¨µÄVCLÔ´´úÂëÊÇɶÃþÑù£¿Çë¼ÌÐøÍùÏ¿´¡£
4)°´×¡¼üÅÌÉÏCtrl¼ü£¬²¢µã»÷Clear¡£ÈçÏÂͼ£º
5)ÉÔµÈƬ¿Ìºó£¬Code EditorÏÔʾ³öVCL stdCtrlsµ¥Ôª£¬¹â±êÍ£ÔÚTCustomEdit.Clear·½·¨ÉÏ£¨Õâ¸öClear·½·¨¶¨ÒåÔÚTCustomEditÀàÖУ¬¸ÃÀàÊÇTMemoµÄ×æÏÈÀàÖ®Ò»£©¡£Clear·½·¨¾ÍÊÇÏÂÃæµÄÕâ¸öÑù×Ó£º
ÊDz»ÊǺÜÓÐȤ£¿Ö»ÓÐÒ»ÐдúÂë¡£µ«SetWindowTextÀ´×Ժη½ÄØ£¿Çë¼ÌÐø¿´ÏÂÒ»²½¡£
6)°´×¡Ctrl¼ü£¬µã»÷SetWindowText¡£
¼¸ÃëÖÓºó£¬Windowsµ¥Ôª±»´ò¿ª£¬¹â±êÔÚÏÂÃæµÄÐÐÉÏ£¬ÈçÏÂͼ£º
ÉÏÃæ»®×źìÏßµÄÒ»ÐиæËßÎÒÃÇ£¬SetWindowTextÊÇÒ»¸öWindowsº¯Êý£¬Ëü°üº¬ÔÚUSER32¶¯Ì¬Á´½Ó¿âÖС£
7)Çë¿´Code Editor´°¿ÚµÄÓÒÉϽÇÓÐbackºÍnextÁ½¸öä¯ÀÀ°´Å¥¡£µã»÷back°´Å¥£¬Code EditorÇл»µ½Ç°Ò»¸öä¯ÀÀµã£¨StdCtrlsÖеÄClear·½·¨£©¡£
8)µã»÷next°´Å¥£¬Code EditorÏÔʾSetWindowTextÔÚWindowsµ¥ÔªÈë¿Ú¡£
9)µã»÷½ô¿¿Back°´Å¥µÄÏÂÀ¼ýÍ·£¬ä¯ÀÀÆ÷¼ÇÔرíÖлá³öÏÖÔ´´úÂëµ¥Ôª¡£µã»÷ÆäÖÐÒ»¸öµ¥Ôª¿É½«Code EditorÇл»µ½Õâ¸öµ¥Ôª¡£
Ä£¿éä¯ÀÀÆ÷ÊÇÒ»¸öÇ¿ÓÐÁ¦µÄ¹¤¾ß£¬²»½öÄܵ¼º½Óû§×Ô¼ºµÄ´úÂ룬»¹Äܵ¼º½VCLÔ´´úÂë¼°Óû§°²×°µÄµÚÈý·½×é¼þ¿âµÄÔ´´úÂë¡£¼Çס£ºÍ¨¹ýÔĶÁVCLÔ´´úÂë¿Éѧµ½ºÜ¶à¶«Î÷£¬²»Òªº¦ÅÂä¯ÀÀÔ´´úÂë¡£
8¡¢Using Bookmarks£¨Ê¹ÓÃÊéÇ©£©
¿ÉÔÚ´úÂëÖÐÉèÖÃÊéÇ©À´ÁÙʱ±ê¼ÇÔÚÔ´´úÂëÖеÄλÖá£ÀýÈ磬¾³£ÒªÁÙʱÀ뿪Õý¹¤×÷×ŵÄÒ»¶Î´úÂëÈ¥²é¿´ÒÔÇ°±àдµÄ´úÂë»ò´ÓÁíÒ»¸öλÖø´ÖÆ´úÂ룻ÔÚµ±Ç°´úÂëλÖÃÉèÉÏÒ»¸öÊéÇ©£¬È»ºóÀ뿪ȥ×öÆäËûÊÂÇ飬ֻÐèÒ»´Îµã»÷¾ÍÄܻص½Õâ¸ö´úÂë¶Î¡£Í¬Ò»Ê±¼ä×î¶à¿ÉÉèÖÃ10¸öÊéÇ©¡£
ÒªÀ뿪ij¸öλÖÃÉèÖÃÊéÇ©£¬°´¡¾Ctrl + Shift + ÊéÇ©ºÅ¡¿¡£ÀýÈ磬ҪÉèÖÃ0ºÅÊéÇ©£¨µÚÒ»¸öÊéÇ©£©£¬°Ñ±à¼Æ÷¹â±êÒƵ½Òª×ö±ê¼ÇµÄλÖ㬰´Ï¡¾Ctrl + Shift + 0¡¿»ò¡¾Ctrl + K + 0¡¿¡£ÉèÖúÃÊéÇ©ºó£¬Code EditorµÄ¹µ²ÛÖлáÏÔʾһ¸öͼ±êÀ´Ö¸Ê¾ÊéÇ©ËùÔÚÐУ¬¸Ãͼ±êÏÔʾÊéÇ©ºÅ¡£ÈçÏÂͼ£º
Òª»Øµ½ÊéÇ©´¦£¬°´¡¾Ctrl + ÊéÇ©ºÅ¡¿¾Í¿ÉÒÔÁË£¬ÀýÈ硾Ctrl + 1¡¿·µ»Øµ½1ºÅÊéÇ©´¦¡£Ò²¿ÉÒÔÔÚCode EditorµÄÓÒ¼ü²Ëµ¥ÖÐÉèÖÃÊéÇ©ºÍ·µ»ØÊéÇ©¡£ÒªÇå³ýÒ»¸öÊéÇ©£¬¿É½«±à¼Æ÷¹â±ê¶¨Î»µ½ÊéÇ©ËùÔÚÐУ¬Ôٴΰ´Ï¡¾Ctrl + Shift + ÊéÇ©ºÅ¡¿¾Í¿ÉÒÔÇå³ý¡£
Note
¿ÉÒÔΪCode EditorÖдò¿ªµÄÿ¸öÎļþÉèÖÃÊéÇ©¡£ÀýÈ磬¿ÉÒÔÔÚÒ»¸öÔ´´úÂëÖÐÉèÖÃ1#ÊéÇ©£¬ÔÚÁíÒ»¸öÔ´ÎļþÖÐÒ²ÉèÖÃ1#ÊéÇ©¡£ÕâÒâζ×ÅÊéÇ©²»ÄÜ¿çÔ´Îļþ²éÕÒ¡£Èç¹ûÔÚUnit1.pasÖÐÉèÖÃ1#ÊéÇ©£¬ÔòÔÚUnit2.pasÖа´¡¾Ctrl + 1¡¿ÊDz»ÄÜ·µ»Øµ½Unit1.pasÖÐ1#ÊéÇ©ËùÔÚλÖá£
ÊéÇ©¶¼ÊÇÁÙʱÐԵģ¬µ±¹Ø±ÕÔ´Îļþ²¢ÖØдò¿ªÊ±£¬ÔÀ´ÉèÖõÄÊéÇ©¾Í²»´æÔÚÁË¡£»¹Òª×¢Ò⣬ÉèÖúÍɾ³ýÊéÇ©±ØÐëÓÃÖ÷¼üÅÌÉϵÄÊý×Ö¼ü£¬Êý×ÖС¼üÅÌÉϵÄÊý×Ö¼ü²»Æð×÷Óá£
9¡¢Incremental Search£¨ÔöÁ¿²éÕÒ£©
¿ÉʹÓÃÔöÁ¿²éÕÒÑ¡ÏîÀ´¿ìËÙ²éÕÒ¶Ì×Ö·ûÐòÁС£´ÓÖ÷²Ëµ¥¡¾Search | Incremental Search¡¿²Ëµ¥Ïî»òÕß°´¡¾Ctrl + E¡¿À´Æô¶¯ÔöÁ¿²éÕÒ¡£ÒªÀí½âÔöÁ¿²éÕÒÈçºÎ¹¤×÷£¬×îºÃµÄ·½Ê½»¹ÊÇ×öÒ»¸öÁ·Ï°£¬Çë°´ÏÂÃæµÄ²½Öè²Ù×÷£º
1£©Óá°Object Repository¡±´´½¨Ò»¸öÐÂÎı¾Îļþ£»
2£©ÊäÈëÒÔÏÂÕýÎÄ£º
Learning to write WindowsPrograms a bit at a timeis not so bad. Isn't ittime you go back to work?
3£©Òƶ¯¹â±êµ½¸ÃÎļþÍ·¡¾Ctrl + Home¡¿£»
4£©°´¡¾Ctrl + E¡¿Æô¶¯ÔöÁ¿²éÕÒ£¬Òª²éÕÒ¡°back¡±¡£×¢Òâ´ËʱCode Editor״̬À¸ÏÔʾ¡°Searching for£º¡±£»
5£©´Ó¼üÅÌÊäÈëÒ»¸öb¡£×ÖbitÖеÄ×Öĸb±»¼ÓÁÁÏÔʾ£¬µ«Õâ²»ÊÇÒª²éÕҵġ£
6£©´Ó¼üÅÌÊäÈëÒ»¸öa¡£Õâ´Î¼ÓÁÁÏÔʾµÄÊÇbadÖеÄba£¬ÈÔ²»ÊÇÒª²éÕҵġ£
7£©´Ó¼üÅÌÊäÈëÒ»¸öc¡£×ÖbackÖеÄbac¼ÓÁÁÏÔʾ£¬
´Ëʱ¼üÈëk£¬Code Editor״̬À¸ÏÔʾ¡°Searching for£ºback¡±£¬ÇÒback±»¼ÓÁÁÏÔʾ¡£ÕâÑù¾ÍÕÒµ½ÁËÒª²éÕÒµÄÄÚÈÝ¡£
8£©°´¼üÅÌÉϵġ¾Esc¡¿¼ü£¬Í£Ö¹ÔöÁ¿ËÑË÷¡£
Õâ¾ÍÊÇÓë´ËÓйصÄÈ«²¿ÄÚÈÝ¡£µ±Òª²éÕÒµÄÕýÎıȽ϶Ìʱ£¬Ê¹ÓÃÔöÁ¿²éÕÒÊǺܷ½±ãµÄ¡£
Tip
ÔÚÖ´ÐÐÔöÁ¿²éÕÒÆڼ䣬ÈôÊäÈëÁË´íÎóµÄ×Ö·û£¬¿ÉÓÃBackspace¼ü½«´íÎóÊäÈëµ½²éÕÒ´®ÖеÄ×Ö·ûɾ³ý¡£
10¡¢Finding Matching Brackets and Parentheses£¨²éÕÒÅä¶Ô·½À¨ºÅºÍÔ²À¨ºÅ£©
Code Editor»¹ÓÐÒ»¸öÌØÐÔ£¬Ëü¿É°ïÖúÓû§²éÕÒÓ뵱ǰ¹â±êËùÖ¸µÄ·½À¨ºÅ»òÔ²À¨ºÅÏëÅä¶ÔµÄ·½À¨ºÅ»òÔ²À¨ºÅ¡£Òª²éÕÒÅä¶Ô·½À¨ºÅ£¬¿É½«¹â±êÒÆÖÁÒ»·½À¨ºÅ´¦£¬°´Ï¼üÅÌÉϵġ¾Alt + [¡¿£¬¹â±ê¾Í»áÌø¶¯µ½ÓëÕâ¸ö·½À¨ºÅÏëÅä¶ÔµÄ·½À¨ºÅ´¦¡£
ÔÙ°´Ï¡¾Alt + [¡¿ÓÖ»áÌø»Øµ½¿ªÊ¼Î»ÖᣲéÕÒÔ²À¨ºÅÓë·½À¨ºÅʹÓÃÏàͬµÄ»÷¼ü¡£ÓÐʱ¿ÉÄÜÃÔʧÔÚÔ²À¨ºÅºÍ·½À¨ºÅµÄÃÔ¹¬Àµ«ÏÖÔÚÓ¦¸ÃÄÜÕÒµ½×ß³öÃÔ¹¬µÄ·ÁË¡£