logic: Fulltextsearch

* fulltextsearch enabled in sqlite
* fulltextsearch start search with @
* codeview performance improved
* strip sRGB profile from png files to get rid of libpng warning at runtime
This commit is contained in:
Andreas Stallinger
2016-05-10 11:10:13 +02:00
parent 30faa7e52f
commit e775ae1ecd
84 changed files with 455 additions and 111 deletions
+6 -9
View File
@@ -907,16 +907,9 @@ const QtCodeArea::AnnotationColor& QtCodeArea::getAnnotationColorForAnnotation(c
if (!s_annotationColors.size())
{
ColorScheme* scheme = ColorScheme::getInstance().get();
std::vector<std::string> types;
types.push_back("token");
types.push_back("local_symbol");
types.push_back("scope");
types.push_back("error");
std::vector<std::string> types = { "token", "local_symbol", "scope", "error", "fulltextmatch"};
std::vector<std::string> states;
states.push_back("normal");
states.push_back("focus");
states.push_back("active");
std::vector<std::string> states = { "normal", "focus", "active"};
for (const std::string& type : types)
{
@@ -945,6 +938,10 @@ const QtCodeArea::AnnotationColor& QtCodeArea::getAnnotationColorForAnnotation(c
{
i = 9;
}
else if (annotation.locationType == LOCATION_FULLTEXTSEARCH_MATCH)
{
i = 12;
}
if (annotation.isActive)
{