nw61
2008-11-19 15:30:31 UTC
When using richedit,I found some questions:
1. stream in is too slow,especially when file is larger than 1M.I
guess maybe it's as richedit only read 4k bytes when it calls
streamincallback each time.Can I increase richedit's stream in size?
2. I want to record the scroll pos and caret pos for next time
open.But when scroll pos is more than 2000 lines,richedit cannot
scroll to the correct pos.I tried setscrollpos,linescroll,scrollcaret
but all failed.I also tried to scroll several times,then I found it
scrolled to the end of the text.
3. When opening a file including excel sheet,I found the rtf datas are
changed although the context displayed in richedit was not.I don't
know why.
4. the support to tables of richedit seems not well.How can I add some
table operations?
Are there some open source edit components support RTF format data
like richedit?
1. stream in is too slow,especially when file is larger than 1M.I
guess maybe it's as richedit only read 4k bytes when it calls
streamincallback each time.Can I increase richedit's stream in size?
2. I want to record the scroll pos and caret pos for next time
open.But when scroll pos is more than 2000 lines,richedit cannot
scroll to the correct pos.I tried setscrollpos,linescroll,scrollcaret
but all failed.I also tried to scroll several times,then I found it
scrolled to the end of the text.
3. When opening a file including excel sheet,I found the rtf datas are
changed although the context displayed in richedit was not.I don't
know why.
4. the support to tables of richedit seems not well.How can I add some
table operations?
Are there some open source edit components support RTF format data
like richedit?