mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-27 21:31:16 -04:00
Display auto-complete box even after adding a new line
This commit is contained in:
parent
9f9590a223
commit
13b69d15f2
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue