mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Remove unused event parameters
This commit is contained in:
committed by
Antonio Scandurra
parent
ec9115e749
commit
d7e76d9302
@@ -691,7 +691,7 @@ class TextEditorComponent {
|
||||
}
|
||||
}
|
||||
|
||||
didKeypress (event) {
|
||||
didKeypress () {
|
||||
this.lastKeydownBeforeKeypress = this.lastKeydown
|
||||
this.lastKeydown = null
|
||||
|
||||
@@ -700,7 +700,7 @@ class TextEditorComponent {
|
||||
this.accentedCharacterMenuIsOpen = false
|
||||
}
|
||||
|
||||
didKeyup (event) {
|
||||
didKeyup () {
|
||||
this.lastKeydownBeforeKeypress = null
|
||||
this.lastKeydown = null
|
||||
}
|
||||
@@ -717,7 +717,7 @@ class TextEditorComponent {
|
||||
// OR User chooses a completion
|
||||
// 4. compositionend fired
|
||||
// 5. textInput fired; event.data == the completion string
|
||||
didCompositionStart (event) {
|
||||
didCompositionStart () {
|
||||
this.compositionCheckpoint = this.getModel().createCheckpoint()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user