Ignore:
Timestamp:
Dec 30, 2006, 10:18:01 AM (18 years ago)
Author:
dai_9181
Message:

保存されていないドキュメントのタブに(*)をつける機能に対応。
MDITEXTEDITINFOをCMdiTextEditに変更。今後、オブジェクト指向化を進める。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/TextEditor_ImeEvent.cpp

    r3 r24  
    99
    1010    int iControlTabSpace;
    11     iControlTabSpace=MdiInfo[WndNum].pmti->iWidth_ControlTabSpace;
     11    iControlTabSpace=MdiInfo[WndNum].pMdiTextEdit->iWidth_ControlTabSpace;
    1212
    1313    HIMC hIMC;
     
    1818    COMPOSITIONFORM CompForm;
    1919    CompForm.dwStyle=CFS_POINT;
    20     pos=MdiInfo[WndNum].pmti->StartCaretPos;
     20    pos=MdiInfo[WndNum].pMdiTextEdit->StartCaretPos;
    2121    GetScrollBaseCaretPos(WndNum,(int *)&pos.x,(int *)&pos.y);
    2222    CompForm.ptCurrentPos.x=pos.x*font_width+iControlTabSpace;
     
    3636
    3737        int iControlTabSpace;
    38         iControlTabSpace=MdiInfo[WndNum].pmti->iWidth_ControlTabSpace;
     38        iControlTabSpace=MdiInfo[WndNum].pMdiTextEdit->iWidth_ControlTabSpace;
    3939
    4040        ////////////////////
     
    6060        COMPOSITIONFORM CompForm;
    6161        CompForm.dwStyle=CFS_POINT;
    62         pos=MdiInfo[WndNum].pmti->StartCaretPos;
     62        pos=MdiInfo[WndNum].pMdiTextEdit->StartCaretPos;
    6363        GetScrollBaseCaretPos(WndNum,(int *)&pos.x,(int *)&pos.y);
    6464        CompForm.ptCurrentPos.x=pos.x*font_width+iControlTabSpace;
Note: See TracChangeset for help on using the changeset viewer.