• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 4,  comments - 5,  trackbacks - 0
            點擊下載
            最近太忙, 短時間內不會更新了,雖然還有一大堆還不太滿意的地方...
            還有來不及調試, 可能有BUG(必油雞), 大家隨便看看, 并指導一下,
            先說一下特色吧,  就是智能換行, 全文掃描標點符(分前標點后標點), 支持多國語言.
            實現全模板化, 簡單的實體化如下,


             1#include "ShowDebugInfo.h" //輸出調試信息
             2#include "..\RcEditDef.h" //預定義
             3
             4#include "..\RcEditFontRecyclel.h" //字體回收站
             5#include "..\RcEditAlgorithm.h" //算法
             6class CFontRecyclel : public CFontRecyclelSimpT<CFontRecyclel>{};
             7
             8#include "RcEditColor.h" //顏色
             9#include "..\RcFontStyle.h" //風格
            10class CFontStyle : public CFontStyleT<CFontStyle, CWinColor, CFontRecyclel>{};
            11
            12#include "RcWinDriverInterface.h" //CRcDCInterfaceT 設備接口
            13class CWinDcInterface : public CRcDCInterfaceT<CWinColor>{};//Comb ccolor
            14
            15#include "RcWinFontInterface.h" //CWinFont
            16#include "..\RcEditDriverInterface.h" //CRcEditDriverInterfaceT
            17class CRcWinDriverInterface : public CRcEditDriverInterfaceT<CRcWinDriverInterface, CWinFont, CWinDcInterface>{//Comb Font
            18}
            ;
            19#include "RcEdit/RcEditStringAnalysis.h" //定義int 與全局屬性不對 需要修改int ixxx to int nxxx
            20class CRcEditDrawInterface : public CRcEditStringAnalysisT< CRcEditDrawInterface, CFontStyle, CRcWinDriverInterface>{};
            21//內容容器
            22#include "..\RcEditTextContainer.h"
            23#include "RcWinTextContainer.h" //ContentManageW
            24//撤銷重做容器
            25#include "..\rcEditUndo.h"
            26class CDoSthBase : public CDoSthBaseT<CDoSthBase>{};
            27class CRcEditUndoContainer : public CRcEditUndoContainerT<CRcEditUndoContainer, CDoSthBase>{};
            28//區域管理
            29#include "..\RcEditAreaManage.h"
            30typedef AutoSortVectorT< AreaMarkHandle, DWORD, std::vector<AreaMarkHandle>, OSTL::CriticalSectionNull, 0, FALSE> CAreaContainer;
            31class CAreaMarkContainer : public CAreaMarkContainerT<CAreaContainer>{};
            32class CRcAreaManage : public CRcAreaManageBaseT<CRcAreaManage, CAreaMarkContainer>{};
            33//內存池
            34#include "..\rcMemPool.h"
            35class RcMemBufferPool : public RcMemBufferPoolT<410244096, OSTL::CriticalSection>{};
            36//行分析
            37#include "..\RcEditLineAnlyze.h"
            38//滾動條
            39#include "..\RcEditScrollBase.h"
            40#include "RcWinScroll.h" //定義int 與全局屬性不對 需要修改int ixxx to int nxxx
            41//主編輯器核心
            42#include "..\RcEditBase.h"
            43 //編輯器主接口
            44class CRcEditInterface : public TRcEditInterface<ContentManageW, RcMemBufferPool, 
            45  CRcEditUndoContainer, CRcAreaManage,
            46  CRcEditDrawInterface, CWindowScroll>{};
            47//具體實現
            48template<class T, class TInterface>
            49  class CRcEditBaseT : public CLineAnlyzeBaseT<T, TInterface>{
            50public:
            51  typedef typename CLineAnlyzeBaseT<T, TInterface> TLineAnlyze;
            52  typedef typename TLineAnlyze::TLineInfo TLineInfo;
            53  typedef typename TInterface::TTextContainer CTextContainer, TTextContainer;
            54  typedef typename TInterface::TTextContainer::TVal TTextDate, TTextChar;
            55  typedef typename TInterface::TTextContainer::iterator TextIterator;
            56  typedef typename TInterface::TUndoContainer TUndoContainer, CUndoContainer; 
            57  typedef typename TInterface::TUndoContainer::CDoSthBase CDoSthBase, CDoSthInfo, TDoSthBase, TDoSthInfo; 
            58  typedef typename TInterface::TAreaManage TAreaManage, CAreaManage;
            59  typedef typename TInterface::TAreaManage::CAreaMarkContainer CAreaMarkContainer, TAreaMarkContainer;
            60  typedef typename TInterface::TDrawInterface TDrawInterface, CDrawInterface;
            61  typedef typename TInterface::TDrawInterface::TStyle TStyle, TFontStyle, CStyle, CFontStyle;  
            62  typedef typename TInterface::TDrawInterface::TStyle::TColor TColor, CColor;
            63  typedef typename TInterface::CriticalSectionT CriticalSectionT, CCriticalSection;
            64  typedef typename TInterface::TMemBufferPool TMemBufferPool, CMemBufferPool;
            65  typedef typename TInterface::TEditScrollBar TEditScrollBar, CEditScrollBar;
            66
            67}
            ;
            posted on 2010-11-06 18:50 ROCK 閱讀(1446) 評論(2)  編輯 收藏 引用

            FeedBack:
            # re: 新核心的編輯器的簡單閱覽版 [未登錄]
            2010-11-06 21:19 | megax
            >先說一下特色吧, 就是智能換行, 全文掃描標點符(分前標點后標點),
            單詞邊界換行唄?  回復  更多評論
              
            # re: 新核心的編輯器的簡單閱覽版
            2010-11-07 10:02 | qqrock
            @megax
            是的  回復  更多評論
              
            <2025年5月>
            27282930123
            45678910
            11121314151617
            18192021222324
            25262728293031
            1234567

            常用鏈接

            留言簿

            隨筆檔案(4)

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            久久九九免费高清视频| 色噜噜狠狠先锋影音久久| 亚洲精品乱码久久久久久不卡| 亚洲欧美精品一区久久中文字幕 | 色8久久人人97超碰香蕉987| 伊人久久大香线蕉av不卡| 亚洲国产精品无码久久久不卡| 国产精品无码久久综合| 免费观看成人久久网免费观看| 久久午夜综合久久| 久久久久人妻精品一区| 国产精品久久久天天影视香蕉| 亚洲精品成人久久久| 国产亚洲欧美精品久久久| 久久99国产一区二区三区| 国产A三级久久精品| 久久久久久A亚洲欧洲AV冫| 无码人妻久久一区二区三区免费| 97久久精品人人澡人人爽| 久久亚洲AV成人出白浆无码国产| 亚洲国产精品久久久久久| 精品多毛少妇人妻AV免费久久| 99精品久久久久久久婷婷| 麻豆亚洲AV永久无码精品久久| 国产精品一区二区久久精品无码| 欧美黑人激情性久久| 久久婷婷人人澡人人爽人人爱| 久久露脸国产精品| www亚洲欲色成人久久精品| 久久r热这里有精品视频| 久久久久亚洲AV无码麻豆| 婷婷久久香蕉五月综合加勒比| 精品国产青草久久久久福利| 日韩精品久久久久久| 91久久精品电影| 久久er热视频在这里精品| 久久精品一区二区三区不卡| 久久国产精品-国产精品| 国产三级久久久精品麻豆三级| 国产美女久久精品香蕉69| 国产精品久久自在自线观看|