Changeset 364 in dev for trunk/abdev/ProjectEditor
- Timestamp:
- Nov 11, 2007, 3:12:06 PM (17 years ago)
- Location:
- trunk/abdev/ProjectEditor
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/ProjectEditor/Common.h
r350 r364 66 66 #define APPLICATION_NAME "ActiveBasic 5.0" 67 67 #define VERSION_APPLI_NAME APPLICATION_NAME 68 #define VERSION_STRING "5.00.00 (rev.3 56)"68 #define VERSION_STRING "5.00.00 (rev.375)" 69 69 70 70 #endif -
trunk/abdev/ProjectEditor/EndPairCommandComplement.cpp
r118 r364 75 75 if(lstrcmpi(temporary,"Select")==0) return COM_SELECT; 76 76 if(lstrcmpi(temporary,"Sub")==0) return COM_SUB; 77 if(lstrcmpi(temporary,"Try")==0) return COM_TRY; 77 78 if(lstrcmpi(temporary,"Type")==0) return COM_TYPE; 78 79 if(lstrcmpi(temporary,"While")==0) return COM_WHILE; … … 150 151 lstrcpy(buffer,"End Sub"); 151 152 break; 153 case COM_TRY: 154 lstrcpy(buffer,"End Try"); 155 break; 152 156 case COM_TYPE: 153 157 lstrcpy(buffer,"End Type"); … … 317 321 ComplementWndInfo.pMemberInfo[1].dwProc=0; 318 322 ComplementWndInfo.pMemberInfo[1].dwAccess=ACCESS_PAIRCOMMAND; 323 } 324 else if(CmdId==COM_TRY){ 325 ComplementWndInfo.pMemberInfo=(MEMBERINFO *)HeapAlloc(hHeap,0,sizeof(MEMBERINFO)*4); 326 ComplementWndInfo.MemberNum=3; 327 328 ComplementWndInfo.pMemberInfo[0].pName=(char *)HeapAlloc(hHeap,0,10); 329 lstrcpy(ComplementWndInfo.pMemberInfo[0].pName,"End Try"); 330 ComplementWndInfo.pMemberInfo[0].dwProc=0; 331 ComplementWndInfo.pMemberInfo[0].dwAccess=ACCESS_PAIRCOMMAND; 332 333 ComplementWndInfo.pMemberInfo[1].pName=(char *)HeapAlloc(hHeap,0,10); 334 lstrcpy(ComplementWndInfo.pMemberInfo[1].pName,"Catch"); 335 ComplementWndInfo.pMemberInfo[1].dwProc=0; 336 ComplementWndInfo.pMemberInfo[1].dwAccess=ACCESS_PAIRCOMMAND; 337 338 ComplementWndInfo.pMemberInfo[2].pName=(char *)HeapAlloc(hHeap,0,8); 339 lstrcpy(ComplementWndInfo.pMemberInfo[2].pName,"Finally"); 340 ComplementWndInfo.pMemberInfo[2].dwProc=0; 341 ComplementWndInfo.pMemberInfo[2].dwAccess=ACCESS_PAIRCOMMAND; 319 342 } 320 343 else{ -
trunk/abdev/ProjectEditor/SubOperation.cpp
r350 r364 439 439 case COM_SELECT: 440 440 case COM_SUB: 441 case COM_TRY: 441 442 case COM_TYPE: 442 443 case COM_TYPEDEF: … … 465 466 } 466 467 else if(str[0]=='c'||str[0]=='C'){ 468 if(lstrcmpi(str,"Catch")==0) return -1; 467 469 if(lstrcmpi(str,"Case")==0) return -1; 468 470 if(lstrcmp(str,"Char")==0) return -1; … … 508 510 if(lstrcmp(str,"False")==0) return -1; 509 511 if(lstrcmpi(str,"Field")==0) return COM_FIELD; 512 if(lstrcmpi(str,"Finally")==0) return -1; 510 513 if(lstrcmpi(str,"For")==0) return COM_FOR; 511 514 if(lstrcmpi(str,"Function")==0) return COM_FUNCTION; … … 583 586 if(lstrcmpi(str,"Then")==0) return -1; 584 587 if(lstrcmpi(str,"This")==0) return -1; 588 if(lstrcmpi(str,"Throw")==0) return -1; 585 589 if(lstrcmp(str,"True")==0) return -1; 590 if(lstrcmp(str,"Try")==0) return COM_TRY; 586 591 if(lstrcmpi(str,"Type")==0) return COM_TYPE; 587 592 if(lstrcmpi(str,"TypeDef")==0) return COM_TYPEDEF; -
trunk/abdev/ProjectEditor/TextEditor_KeyEvent.cpp
r118 r364 82 82 lstrcmpi(temporary,"Private")==0|| 83 83 lstrcmpi(temporary,"Protected")==0|| 84 lstrcmpi(temporary,"Public")==0 84 lstrcmpi(temporary,"Public")==0|| 85 86 lstrcmpi(temporary,"Try")==0|| 87 lstrcmpi(temporary,"Catch")==0|| 88 lstrcmpi(temporary,"Finally")==0 85 89 ) return 1; 86 90 else if(lstrcmpi(temporary,"Select")==0) return 2; … … 135 139 lstrcmpi(temporary,"Private")==0|| 136 140 lstrcmpi(temporary,"Protected")==0|| 137 lstrcmpi(temporary,"Public")==0 141 lstrcmpi(temporary,"Public")==0|| 142 143 lstrcmpi(temporary,"Catch")==0|| 144 lstrcmpi(temporary,"Finally")==0 138 145 ) return 1; 139 146 else if(lstrcmpi(temporary,"EndSelect")==0) return 2; … … 816 823 if( 817 824 pobj_nv->BackNum_PairStatementComplement&& 818 (nVirtualKey=='c'||nVirtualKey=='C'|| //Case 825 (nVirtualKey=='c'||nVirtualKey=='C'|| //Case、Catch 819 826 nVirtualKey=='e'||nVirtualKey=='E'|| //End ~ 827 nVirtualKey=='f'||nVirtualKey=='F'|| //Finally 820 828 nVirtualKey=='l'||nVirtualKey=='L'|| //Loop 821 829 nVirtualKey=='n'||nVirtualKey=='N'|| //Next
Note:
See TracChangeset
for help on using the changeset viewer.