eepp: Allow to unselect selection from UIAbstractView.

ecode: Updated icons ttf.
Completed implementation of Build Output, now it will list Issues found when compiling in the Issues section inside Build.
Tentative fix in LSPDocumentClient when parsing semantic highlight.
Improved Features Health GUI.
This commit is contained in:
Martín Lucas Golini
2023-06-11 17:23:18 -03:00
parent a1b173818e
commit de4875b255
16 changed files with 518 additions and 181 deletions

View File

@@ -285,25 +285,25 @@ void LSPDocumentClient::highlight() {
start = deltaStart;
}
auto& line = tokenizerLines[currentLine];
auto* line = &tokenizerLines[currentLine];
if ( type >= 0 && type < (int)caps.legend.tokenTypes.size() ) {
const auto& ltype = caps.legend.tokenTypes[type];
line.tokens.push_back(
line->tokens.push_back(
{ semanticTokenTypeToSyntaxType( ltype, mDoc->getSyntaxDefinition() ), start,
len } );
} else {
line.tokens.push_back( { "normal", start, len } );
line->tokens.push_back( { "normal", start, len } );
}
line.hash = mDoc->line( currentLine ).getHash();
line.updateSignature();
line->hash = mDoc->line( currentLine ).getHash();
line->updateSignature();
auto curSignature = mDoc->getHighlighter()->getTokenizedLineSignature( lastLine );
if ( lastLinePtr && lastLinePtr->signature == curSignature ) {
if ( lastLine != currentLine && lastLinePtr && lastLinePtr->signature == curSignature ) {
tokenizerLines.erase( lastLine );
}
lastLine = currentLine;
lastLinePtr = &line;
lastLinePtr = line;
}
diff = clock.getElapsedTime();