mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Improved whitespace rendering performance on wrapped lines, now it has the same cost than non-wrapped lines.
Fixed: Debugger gutter not drawing its background. Fixed: horizontal scrollbar sometimes being visible on wrapped documents. Updated CSS Specification documentation.
This commit is contained in:
@@ -1427,6 +1427,12 @@ void DebuggerPlugin::drawLineNumbersBefore( UICodeEditor* editor,
|
||||
Float lineOffset = editor->getLineOffset();
|
||||
Float offset = editor->getGutterLocalStartOffset( this );
|
||||
|
||||
p.setColor( Color( editor->getLineNumberBackgroundColor() ).blendAlpha( editor->getAlpha() ) );
|
||||
p.drawRectangle( Rectf( { screenStart.x - editor->getPluginsGutterSpace() + offset,
|
||||
screenStart.y + editor->getPluginsTopSpace() },
|
||||
Sizef( gutterSpace, editor->getPixelsSize().getHeight() -
|
||||
editor->getPluginsTopSpace() ) ) );
|
||||
|
||||
if ( editor->getDocument().hasFilepath() ) {
|
||||
auto docIt = mBreakpoints.find( editor->getDocument().getFilePath() );
|
||||
if ( docIt != mBreakpoints.end() && !docIt->second.empty() ) {
|
||||
|
||||
Reference in New Issue
Block a user