Commit 49f5eee0 authored by Victor Yacovlev's avatar Victor Yacovlev

DocBookViewer: Fixed rendering Kumir code

parent 6f57b4e3
......@@ -225,7 +225,8 @@ QString ContentView::programTextForLanguage(const QString &source,
"целтаб,вещтаб,"
"литтаб,симтаб,логтаб,"
"арг,рез,аргрез,пока,для,от,до,знач,"
"да,нет,не,и,или,раз,нс,файл"
"да,нет,не,и,или,раз,нс,файл,"
"выход,шаг"
).split(",");
inlineCommentSymbol = "|";
}
......@@ -1037,6 +1038,11 @@ QString ContentView::formatProgramSourceText(
p = c + rxLexer.matchedLength();
}
}
if (inlineComment) {
result += commentCloseTag;
result += afterCommentTag;
}
return result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment