點擊下載
最近太忙, 短時間內不會更新了,雖然還有一大堆還不太滿意的地方...
還有來不及調試, 可能有BUG(必油雞), 大家隨便看看, 并指導一下,
先說一下特色吧, 就是智能換行, 全文掃描標點符(分前標點后標點), 支持多國語言.
實現全模板化, 簡單的實體化如下,
最近太忙, 短時間內不會更新了,雖然還有一大堆還不太滿意的地方...

還有來不及調試, 可能有BUG(必油雞), 大家隨便看看, 并指導一下,
先說一下特色吧, 就是智能換行, 全文掃描標點符(分前標點后標點), 支持多國語言.
實現全模板化, 簡單的實體化如下,
1
#include "ShowDebugInfo.h" //輸出調試信息
2
#include "..\RcEditDef.h" //預定義
3
4
#include "..\RcEditFontRecyclel.h" //字體回收站
5
#include "..\RcEditAlgorithm.h" //算法
6
class CFontRecyclel : public CFontRecyclelSimpT<CFontRecyclel>
{};
7
8
#include "RcEditColor.h" //顏色
9
#include "..\RcFontStyle.h" //風格
10
class CFontStyle : public CFontStyleT<CFontStyle, CWinColor, CFontRecyclel>
{};
11
12
#include "RcWinDriverInterface.h" //CRcDCInterfaceT 設備接口
13
class CWinDcInterface : public CRcDCInterfaceT<CWinColor>
{};//Comb ccolor
14
15
#include "RcWinFontInterface.h" //CWinFont
16
#include "..\RcEditDriverInterface.h" //CRcEditDriverInterfaceT
17
class CRcWinDriverInterface : public CRcEditDriverInterfaceT<CRcWinDriverInterface, CWinFont, CWinDcInterface>
{//Comb Font
18
};
19
#include "RcEdit/RcEditStringAnalysis.h" //定義int 與全局屬性不對 需要修改int ixxx to int nxxx
20
class CRcEditDrawInterface : public CRcEditStringAnalysisT< CRcEditDrawInterface, CFontStyle, CRcWinDriverInterface>
{};
21
//內容容器
22
#include "..\RcEditTextContainer.h"
23
#include "RcWinTextContainer.h" //ContentManageW
24
//撤銷重做容器
25
#include "..\rcEditUndo.h"
26
class CDoSthBase : public CDoSthBaseT<CDoSthBase>
{};
27
class CRcEditUndoContainer : public CRcEditUndoContainerT<CRcEditUndoContainer, CDoSthBase>
{};
28
//區域管理
29
#include "..\RcEditAreaManage.h"
30
typedef AutoSortVectorT< AreaMarkHandle, DWORD, std::vector<AreaMarkHandle>, OSTL::CriticalSectionNull, 0, FALSE> CAreaContainer;
31
class CAreaMarkContainer : public CAreaMarkContainerT<CAreaContainer>
{};
32
class CRcAreaManage : public CRcAreaManageBaseT<CRcAreaManage, CAreaMarkContainer>
{};
33
//內存池
34
#include "..\rcMemPool.h"
35
class RcMemBufferPool : public RcMemBufferPoolT<4, 1024, 4096, 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
//編輯器主接口
44
class CRcEditInterface : public TRcEditInterface<ContentManageW, RcMemBufferPool,
45
CRcEditUndoContainer, CRcAreaManage,
46
CRcEditDrawInterface, CWindowScroll>
{};
47
//具體實現
48
template<class T, class TInterface>
49
class CRcEditBaseT : public CLineAnlyzeBaseT<T, TInterface>
{
50
public:
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
};

2

3

4

5

6



7

8

9

10



11

12

13



14

15

16

17



18

19

20



21

22

23

24

25

26



27



28

29

30

31



32



33

34

35



36

37

38

39

40

41

42

43

44

45

46



47

48

49



50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66



67

支持簡單RTF粘貼, 快速打開大文件,動態更新滾動條內容(因CPU不同可能會卡), 多語言(阿拉伯文從右到左, 梵文的多字符結合后=不同字符等都解決了), 支持風格和圖片...不過都是純為實現功能而弄(可能會出現嚴重BUG),
按鈕上的功能都是純為測試, 如設置字體大小是隨機變的,所以可能會沒有改變, TESTTHREAD是多線程的暴力測試. SETURL就已經沒用了
因為之前想實現的功能太多導致代碼太混亂(產生很多BUG弄到頭暈), 核心在優化重寫中, 新版本可能近日完成, 對這個舊版本, 有興趣就看看吧....
新核心版本可能在近期完成吧
點擊下載
按鈕上的功能都是純為測試, 如設置字體大小是隨機變的,所以可能會沒有改變, TESTTHREAD是多線程的暴力測試. SETURL就已經沒用了
因為之前想實現的功能太多導致代碼太混亂(產生很多BUG弄到頭暈), 核心在優化重寫中, 新版本可能近日完成, 對這個舊版本, 有興趣就看看吧....
新核心版本可能在近期完成吧
點擊下載
點擊下載
支持網站如下:
http://www.dm5.com/
http://www.cococomic.com/
http://www.imanhua.com/
http://acg.178.com/mh/index.shtml
http://www.mday.com.cn/
是用來測試之前用WSAEVENT的模型和模板重新封裝的SOCKETEX類, 多線程性能的... 暫時最多支持32個線程同時分析...有興趣可以測試一下
8.2 更新 : http://acg.178.com/mh/index.shtml 換了域名 http://manhua.178.com/ 修復下載
范例:
http://www.cococomic.com/comic/6643/
http://www.dm5.com/Type.aspx?id=7368 等
支持網站如下:
http://www.dm5.com/
http://www.cococomic.com/
http://www.imanhua.com/
http://acg.178.com/mh/index.shtml
http://www.mday.com.cn/
是用來測試之前用WSAEVENT的模型和模板重新封裝的SOCKETEX類, 多線程性能的... 暫時最多支持32個線程同時分析...有興趣可以測試一下
8.2 更新 : http://acg.178.com/mh/index.shtml 換了域名 http://manhua.178.com/ 修復下載
范例:
http://www.cococomic.com/comic/6643/
http://www.dm5.com/Type.aspx?id=7368 等
| |||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
29 | 30 | 1 | 2 | 3 | 4 | 5 | |||
6 | 7 | 8 | 9 | 10 | 11 | 12 | |||
13 | 14 | 15 | 16 | 17 | 18 | 19 | |||
20 | 21 | 22 | 23 | 24 | 25 | 26 | |||
27 | 28 | 29 | 30 | 31 | 1 | 2 | |||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
常用鏈接
留言簿
隨筆檔案(4)
搜索
最新評論

- 1.?re: 新核心的編輯器的簡單閱覽版
-
@megax
是的 - --qqrock
- 2.?re: 新核心的編輯器的簡單閱覽版 [未登錄]
-
>先說一下特色吧, 就是智能換行, 全文掃描標點符(分前標點后標點),
單詞邊界換行唄? - --megax
- 3.?re: 之前寫的一個類RICHEDIT的編輯器控件
-
@expter
新核心的實現把算法和系統等東西都分離了...改一下系統接口就可以跨平臺, 跨庫 - --ROCK
- 4.?re: 之前寫的一個類RICHEDIT的編輯器控件[未登錄]
- 用CEGUI來實現一個就好了。
- --expter
- 5.?re: 在線漫畫下載工具
- 對你的多線程下載工具感興趣。。。
- --Pear