QCodeEdit 2 is on the road!
This new version bring speed and lower memory usage by dropping QTextDocument. Yet, it keeps most (if not all) it non-rich-text-related features (i.e. bidi rendering, smart cursors, ...). This is achieved by mixing a homemade rendering and QTextLayout, the latter being summoned only when really needed which helps preserving the performance and memory gains for anyone who don't need such fancy features (are there much coders that write anything but english in their sources anyway???).
Other important progress have been made since my last report here :
- the panel system evolved quite a lot and those enjoying the firefox-like search panels should be happy enough
- the highlighting engine also evolved a great deal. The use of NFAs, discussed in another thread, made it way faster than it ever had been and also a lot more flexible
- the API become simpler and the code lighter
The code is available, through SVN, here : https://edyuk.svn.sf.net/svnroot/edy...ty/qcodeedit2/
I'd be glad to get as much feedback as possible to improve it and make it a solid codebase for text editing applications. Feedback about bidi handling would be especially valued since I can't really know how good it is being an evil Westerner which only uses Latin-1 charset.![]()
Bookmarks