Remove get/setSoftWrap from Project

The config should now be the place that soft wrap settings is interacted
with.
This commit is contained in:
Kevin Sawicki 2013-08-21 18:08:02 -07:00
parent 0da647acdf
commit 2f4a57e5e4

View File

@ -40,7 +40,6 @@ class Project
path.join(config.get('core.projectHome'), repoName)
softTabs: true
softWrap: false
rootDirectory: null
editSessions: null
ignoredPathRegexes: null
@ -199,16 +198,6 @@ class Project
# softTabs - A {Boolean} which, if `true`, sets soft tabs
setSoftTabs: (@softTabs) ->
# Identifies if the project is using soft wrapping.
#
# Returns a {Boolean}.
getSoftWrap: -> @softWrap
# Sets the project to use soft wrapping.
#
# softTabs - A {Boolean} which, if `true`, sets soft wrapping
setSoftWrap: (@softWrap) ->
# Given a path to a file, this constructs and associates a new `EditSession`, showing the file.
#
# filePath - The {String} path of the file to associate with