mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
📝
This commit is contained in:
@@ -114,7 +114,7 @@ class TokenizedLine
|
||||
# For a given `indentLevel`, calculates how many trailing spaces cannot fit in a single tab.
|
||||
#
|
||||
# indentLevel - {Number}
|
||||
# Returns a {Number} representing the odd indentation spaces for `indentLevel`.
|
||||
# Returns a {Number} representing the odd indentation spaces in `indentLevel`.
|
||||
oddIndentationSpacesForIndentLevel: (indentLevel) ->
|
||||
oddIndentLevel = indentLevel - Math.floor(indentLevel)
|
||||
Math.round(@tabLength * oddIndentLevel)
|
||||
|
||||
Reference in New Issue
Block a user