mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Don't use config for scrollSensitivity in TextEditorComponent
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
4c03cb39de
commit
63a730253b
@@ -80,6 +80,7 @@ class TextEditor extends Model
|
||||
atomicSoftTabs: true
|
||||
invisibles: null
|
||||
showLineNumbers: true
|
||||
scrollSensitivity: 40
|
||||
|
||||
Object.defineProperty @prototype, "element",
|
||||
get: -> @getElement()
|
||||
@@ -3359,6 +3360,10 @@ class TextEditor extends Model
|
||||
|
||||
getScrollPastEnd: -> @scrollPastEnd
|
||||
|
||||
setScrollSensitivity: (@scrollSensitivity) ->
|
||||
|
||||
getScrollSensitivity: -> @scrollSensitivity
|
||||
|
||||
setShowLineNumbers: (showLineNumbers) ->
|
||||
if showLineNumbers isnt @showLineNumbers
|
||||
@showLineNumbers = showLineNumbers
|
||||
|
||||
Reference in New Issue
Block a user