23 Aug 2010 22:06
Re: : Review Request: Syntax Hightlighting in Cantor
Alexander Rieder <alexanderrieder <at> gmail.com>
2010-08-23 20:06:06 GMT
2010-08-23 20:06:06 GMT
| This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/5079/ |
Hi, (i haven't tried the new patch, is it any different except for the includes?) some initial comments: - Octave Highlighter: operators, keywords variables are members but don't have m_ prefix. On purpose? - Sage Highlighter needs newline at end of file - use kDebug instead of qDebug (in DBHighlighter.cpp) - personally i'd like it better if you'd use a QList<HighlightingRule> as it was before instead of a QHash for the regexps, as you only need to iterate over them, and no lookup based on keys. (or is there any special reason for using a QHash?) - indentations in sagehighlighter for keywords are a bit weird - apidocs should be added (but those were already missing before) Other than that, the patch looks good, and the performance is definately a lot better. I really like the fact that the API is completely independent of the underlying implementation(as in no QHash specific code in the headers).On August 22nd, 2010, 8:15 p.m., Alexander Rieder wrote:
Hi, i haven't looked at the code yet, but in its current form the patch doesn't compile, as you try to include the non-existent "dbhighlighter.h" in octavehighlighter.h and sagehighlighter.h, and "highlightdatabase.h" in octavebackend.cpp.On August 23rd, 2010, 6:17 p.m., Miha Cancula wrote:
I fixed the wrong includes, and I think the correct patch is up now.
- Alexander
On August 22nd, 2010, 9:06 p.m., Miha Cancula wrote:
|
Review request for KDE-Edu and Alexander Rieder.
By Miha Cancula.
Updated 2010-08-22 21:06:23 Description
Testing
Diffs
|
_______________________________________________ kde-edu mailing list kde-edu <at> mail.kde.org https://mail.kde.org/mailman/listinfo/kde-edu
RSS Feed