Display auto-complete box even after adding a new line

This commit is contained in:
Josh Callebaut 2016-05-31 16:50:22 -07:00
parent 9f9590a223
commit 13b69d15f2

View file

@ -692,6 +692,8 @@ module.exports = class SpellView extends CocoView
@aceDoc.insertNewLine row: lineCount, column: 0 #lastLine.length
@ace.navigateLeft(1) if wasAtEnd
++lineCount
# Force the popup back
@ace?.completer?.showPopup(@ace)
screenLineCount = @aceSession.getScreenLength()
if screenLineCount isnt @lastScreenLineCount
@lastScreenLineCount = screenLineCount