Ignore:
Timestamp:
May 27, 2008, 9:17:34 PM (16 years ago)
Author:
dai_9181
Message:

・WindowInfoクラスをリファクタリング
・MdiInfoを単純配列からvectorに変更した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/Replace.cpp

    r619 r625  
    55void TextEdit_ResetWordColor(int WndNum,CHARRANGE *pCharRange,int DocType){
    66    extern HANDLE hHeap;
    7     extern MDIINFO MdiInfo[MAX_WNDNUM];
    87    int i,i2,IsStr;
    98    char *pBuf,*pTemp;
     
    8281void TextEdit_Replace(int WndNum,char *str,BOOL bRedraw){
    8382    extern HANDLE hHeap;
    84     extern MDIINFO MdiInfo[MAX_WNDNUM];
    8583    CHARRANGE Range,DelRange;
    8684
     
    116114    if( projectInfo.IsOpened() ){
    117115        projectInfo.pobj_DBBreakPoint->replace(
    118             MdiInfo[WndNum].path,
     116            MdiInfo[WndNum].path.c_str(),
    119117            MdiInfo[WndNum].pMdiTextEdit->buffer,
    120118            &DelRange,
     
    125123        extern CDBBreakPoint *pobj_DBBreakPoint;
    126124        pobj_DBBreakPoint->replace(
    127             MdiInfo[WndNum].path,
     125            MdiInfo[WndNum].path.c_str(),
    128126            MdiInfo[WndNum].pMdiTextEdit->buffer,
    129127            &DelRange,
     
    190188void TextEdit_ReplaceUpdateUndoData(int WndNum,char *str,BOOL bPaste,BOOL bRedraw){
    191189    extern HANDLE hHeap;
    192     extern MDIINFO MdiInfo[MAX_WNDNUM];
    193190    int Command;
    194191    char *KeyStr,*DelStr;
Note: See TracChangeset for help on using the changeset viewer.