mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 11:36:30 +03:00
SyntaxTokenizer: Added an option to skip the subsyntax separators when tokenizing and also trimming the text in the tokenizeText function.
ecode: Improved LSP mouse hover tooltips.
This commit is contained in:
@@ -535,7 +535,10 @@ void LSPClientPlugin::displayTooltip( UICodeEditor* editor, const LSPHover& resp
|
||||
? SyntaxDefinitionManager::instance()->getByLSPName( "markdown" )
|
||||
: editor->getSyntaxDefinition();
|
||||
|
||||
SyntaxTokenizer::tokenizeText( syntaxDef, editor->getColorScheme(), *tooltip->getTextCache() );
|
||||
SyntaxTokenizer::tokenizeText( syntaxDef, editor->getColorScheme(), *tooltip->getTextCache(), 0,
|
||||
0xFFFFFFFF, true, "\n\t " );
|
||||
|
||||
tooltip->notifyTextChangedFromTextCache();
|
||||
|
||||
if ( editor->hasFocus() && !tooltip->isVisible() )
|
||||
tooltip->show();
|
||||
|
||||
Reference in New Issue
Block a user