mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add soft wrap support to invisibles
This commit is contained in:
@@ -152,7 +152,7 @@ LinesComponent = React.createClass
|
||||
innerHTML
|
||||
|
||||
buildEndOfLineHTML: (line, invisibles) ->
|
||||
return '' if @props.mini
|
||||
return '' if @props.mini or line.isSoftWrapped()
|
||||
|
||||
eolInvisibles = []
|
||||
eolInvisibles.push(invisibles.cr) if invisibles.cr? and line.lineEnding is '\r\n'
|
||||
|
||||
Reference in New Issue
Block a user