|
|
@@ -465,7 +465,10 @@ void CodeEditorComponent::paint (Graphics& g) |
|
|
|
g.fillAll (findColour (CodeEditorComponent::backgroundColourId));
|
|
|
|
|
|
|
|
auto gutterSize = getGutterSize();
|
|
|
|
g.reduceClipRegion (gutterSize, 0, verticalScrollBar.getX() - gutterSize, horizontalScrollBar.getY());
|
|
|
|
auto bottom = horizontalScrollBar.isVisible() ? horizontalScrollBar.getY() : getHeight();
|
|
|
|
auto right = verticalScrollBar.isVisible() ? verticalScrollBar.getX() : getWidth();
|
|
|
|
|
|
|
|
g.reduceClipRegion (gutterSize, 0, right - gutterSize, bottom);
|
|
|
|
|
|
|
|
g.setFont (font);
|
|
|
|
|
|
|
|