Changeset 629 in dev for trunk/ab5.0/abdev/abdev/Complement.cpp
- Timestamp:
- Jun 2, 2008, 11:50:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/Complement.cpp
r625 r629 386 386 //エディタ画面左端のコントロールタブ 387 387 int iControlTabSpace; 388 iControlTabSpace=MdiInfo[WndNum] .pMdiTextEdit->iWidth_ControlTabSpace;388 iControlTabSpace=MdiInfo[WndNum]->pMdiTextEdit->iWidth_ControlTabSpace; 389 389 390 390 extern int font_width,font_height; 391 391 POINT pos; 392 pos=MdiInfo[WndNum] .pMdiTextEdit->StartCaretPos;392 pos=MdiInfo[WndNum]->pMdiTextEdit->StartCaretPos; 393 393 GetScrollBaseCaretPos(WndNum,(int *)&pos.x,(int *)&pos.y); 394 394 … … 396 396 pos.y=(pos.y+1)*font_height; 397 397 398 ClientToScreen(MdiInfo[WndNum] .pMdiTextEdit->hEdit,&pos);398 ClientToScreen(MdiInfo[WndNum]->pMdiTextEdit->hEdit,&pos); 399 399 400 400 extern HINSTANCE hInst; … … 621 621 //フォーカスをエディタに戻す 622 622 WndNum=GetWndNum(GetWindow(hClient,GW_CHILD)); 623 SetFocus(MdiInfo[WndNum] .pMdiTextEdit->hEdit);623 SetFocus(MdiInfo[WndNum]->pMdiTextEdit->hEdit); 624 624 return 0; 625 625 case WM_KEYDOWN: … … 633 633 //フォーカスをエディタに戻す 634 634 WndNum=GetWndNum(GetWindow(hClient,GW_CHILD)); 635 SetFocus(MdiInfo[WndNum] .pMdiTextEdit->hEdit);635 SetFocus(MdiInfo[WndNum]->pMdiTextEdit->hEdit); 636 636 637 637 LVHITTESTINFO lvHitTest; … … 659 659 660 660 for(i=ComplementWndInfo.iPos-1;;i--){ 661 if(MdiInfo[WndNum] .pMdiTextEdit->buffer[i]!='\t'){661 if(MdiInfo[WndNum]->pMdiTextEdit->buffer[i]!='\t'){ 662 662 i++; 663 663 break; … … 665 665 } 666 666 667 GetCaretPosFromBufferIndex(MdiInfo[WndNum] .pMdiTextEdit->buffer,667 GetCaretPosFromBufferIndex(MdiInfo[WndNum]->pMdiTextEdit->buffer, 668 668 i, 669 &MdiInfo[WndNum] .pMdiTextEdit->StartCaretPos);669 &MdiInfo[WndNum]->pMdiTextEdit->StartCaretPos); 670 670 671 671 //インデント … … 684 684 //クラスメンバ補完 685 685 686 GetCaretPosFromBufferIndex(MdiInfo[WndNum] .pMdiTextEdit->buffer,686 GetCaretPosFromBufferIndex(MdiInfo[WndNum]->pMdiTextEdit->buffer, 687 687 ComplementWndInfo.iPos, 688 &MdiInfo[WndNum] .pMdiTextEdit->StartCaretPos);688 &MdiInfo[WndNum]->pMdiTextEdit->StartCaretPos); 689 689 690 690 //リプレース前に補完機能を破棄する
Note:
See TracChangeset
for help on using the changeset viewer.