mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Remove get/setSoftWrap from Project
The config should now be the place that soft wrap settings is interacted with.
This commit is contained in:
parent
0da647acdf
commit
2f4a57e5e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user