logic: fixed handling case insensitive filepath matches when activating a symbol via editor plugin

This commit is contained in:
mlangkabel
2018-05-04 12:25:37 +02:00
parent 0ba6f9b7a0
commit f72f780862
8 changed files with 50 additions and 11 deletions
+5
View File
@@ -337,6 +337,11 @@ FilePath FilePath::getConcatenated(const std::wstring& other) const
return path;
}
FilePath FilePath::getLowerCase() const
{
return FilePath(utility::toLowerCase(wstr()));
}
bool FilePath::contains(const FilePath& other) const
{
if (!isDirectory())
+1
View File
@@ -44,6 +44,7 @@ public:
FilePath getConcatenated(const FilePath& other) const;
FilePath& concatenate(const std::wstring& other);
FilePath getConcatenated(const std::wstring& other) const;
FilePath getLowerCase() const;
std::vector<FilePath> expandEnvironmentVariables() const;
bool contains(const FilePath& other) const;