Changeset 24 in dev for ProjectEditor/TextEditor_ImeEvent.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/TextEditor_ImeEvent.cpp
r3 r24 9 9 10 10 int iControlTabSpace; 11 iControlTabSpace=MdiInfo[WndNum].p mti->iWidth_ControlTabSpace;11 iControlTabSpace=MdiInfo[WndNum].pMdiTextEdit->iWidth_ControlTabSpace; 12 12 13 13 HIMC hIMC; … … 18 18 COMPOSITIONFORM CompForm; 19 19 CompForm.dwStyle=CFS_POINT; 20 pos=MdiInfo[WndNum].p mti->StartCaretPos;20 pos=MdiInfo[WndNum].pMdiTextEdit->StartCaretPos; 21 21 GetScrollBaseCaretPos(WndNum,(int *)&pos.x,(int *)&pos.y); 22 22 CompForm.ptCurrentPos.x=pos.x*font_width+iControlTabSpace; … … 36 36 37 37 int iControlTabSpace; 38 iControlTabSpace=MdiInfo[WndNum].p mti->iWidth_ControlTabSpace;38 iControlTabSpace=MdiInfo[WndNum].pMdiTextEdit->iWidth_ControlTabSpace; 39 39 40 40 //////////////////// … … 60 60 COMPOSITIONFORM CompForm; 61 61 CompForm.dwStyle=CFS_POINT; 62 pos=MdiInfo[WndNum].p mti->StartCaretPos;62 pos=MdiInfo[WndNum].pMdiTextEdit->StartCaretPos; 63 63 GetScrollBaseCaretPos(WndNum,(int *)&pos.x,(int *)&pos.y); 64 64 CompForm.ptCurrentPos.x=pos.x*font_width+iControlTabSpace;
Note:
See TracChangeset
for help on using the changeset viewer.