ui: Colorscheme update for Fulltextsearch

This commit is contained in:
Andreas Stallinger
2016-05-10 15:34:06 +02:00
parent 9148a4fafb
commit 2a73c42a18
4 changed files with 53 additions and 1 deletions
@@ -146,6 +146,23 @@
<fill>#FFFF0000</fill>
</active>
</error>
<fulltextmatch>
<normal>
<border>transparent</border>
<fill>#80FFFF00</fill>
<text>#000000</text>
</normal>
<focus>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</focus>
<active>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</active>
</fulltextmatch>
</selection>
</snippet>
</code>
+17
View File
@@ -147,6 +147,23 @@
<text>#000000</text>
</active>
</error>
<fulltextmatch>
<normal>
<border>transparent</border>
<fill>#80FFFF00</fill>
<text>#000000</text>
</normal>
<focus>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</focus>
<active>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</active>
</fulltextmatch>
</selection>
</snippet>
</code>
+17
View File
@@ -146,6 +146,23 @@
<fill>#FFFF0000</fill>
</active>
</error>
<fulltextmatch>
<normal>
<border>transparent</border>
<fill>#80FFFF00</fill>
<text>#000000</text>
</normal>
<focus>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</focus>
<active>
<border>transparent</border>
<fill>#FFFFFF00</fill>
<text>#000000</text>
</active>
</fulltextmatch>
</selection>
</snippet>
</code>
@@ -386,10 +386,10 @@ std::vector<CodeSnippetParams> CodeController::getSnippetsForFile(
const std::shared_ptr<TokenLocationFile> fileLocations
) const
{
std::shared_ptr<TextAccess> textAccess = m_storageAccess->getFileContent(activeTokenLocations->getFilePath());
std::shared_ptr<TokenLocationFile> scopeLocations
= std::make_shared<TokenLocationFile>(activeTokenLocations->getFilePath().str());
fileLocations->forEachStartTokenLocation(
[&](TokenLocation* startLoc) -> void
{
@@ -589,6 +589,7 @@ std::shared_ptr<TokenLocationFile> CodeController::getTokenLocationOfParentScope
return file;
}
std::vector<CodeSnippetParams> CodeController::getSnippetsForFullTextSearch(
const std::string& searchTerm) const
{