Minor refactor in SyntaxTokenizer.

Open .xbm and .xpm files as C (SpartanJ/ecode#532).
This commit is contained in:
Martín Lucas Golini
2025-06-28 20:55:09 -03:00
parent 7b5c1a2437
commit 3797aa877b
7 changed files with 26 additions and 30 deletions

View File

@@ -1819,7 +1819,7 @@ void LSPClientPlugin::displayTooltip( UICodeEditor* editor, const LSPHover& resp
? SyntaxDefinitionManager::instance()->getByLSPName( "markdown" )
: editor->getSyntaxDefinition();
SyntaxTokenizer::tokenizeText( syntaxDef, editor->getColorScheme(), *tooltip->getTextCache(), 0,
SyntaxTokenizer::tokenizeText( syntaxDef, editor->getColorScheme(), tooltip->getTextCache(), 0,
0xFFFFFFFF, true, "\n\t " );
tooltip->notifyTextChangedFromTextCache();