mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
Fixed a rendering bug in the terminal emulator when updated line only updated spaces.
Added an optimization for scene loading. Do not allow the spell checker renderer to try to render on too long lines.
This commit is contained in:
@@ -424,7 +424,8 @@ void SpellCheckerPlugin::drawAfterLineText( UICodeEditor* editor, const Int64& i
|
||||
for ( size_t i = 0; i < matches.size(); ++i ) {
|
||||
auto& match = matches[i];
|
||||
|
||||
if ( match.lineHash != doc->getLineHash( index ) )
|
||||
if ( match.lineHash != doc->getLineHash( index ) ||
|
||||
doc->getLineLength( index ) > ( EE_1KB * 10 ) )
|
||||
return;
|
||||
|
||||
Text line( "", editor->getFont(), editor->getFontSize() );
|
||||
|
||||
Reference in New Issue
Block a user