diff --git a/src/editor-component.coffee b/src/editor-component.coffee index 51a5d21f4..0246f57df 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -12,8 +12,6 @@ ScrollbarComponent = require './scrollbar-component' ScrollbarCornerComponent = require './scrollbar-corner-component' SubscriberMixin = require './subscriber-mixin' -DummyHighlightDecoration = {id: 'dummy', startPixelPosition: {top: 0, left: 0}, endPixelPosition: {top: 0, left: 0}, decorations: [{class: 'dummy'}]} - module.exports = EditorComponent = React.createClass displayName: 'EditorComponent' @@ -346,11 +344,6 @@ EditorComponent = React.createClass decorations: [] filteredDecorations[markerId].decorations.push decorationParams - # At least in Chromium 31, removing the last highlight causes a rendering - # artifact where chunks of the lines disappear, so we always leave this - # dummy highlight in place to prevent that. - filteredDecorations['dummy'] = DummyHighlightDecoration - filteredDecorations observeEditor: ->