Skip to content

Commit

Permalink
Fixes #206
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Klink committed Sep 6, 2018
1 parent ddf54ca commit db0f62a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/idris-controller.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class IdrisController
.filter ({ responseType }) -> responseType == 'return'
.flatMap => @model.makeWith line + 1, word
.subscribe successHandler, @displayErrors
else
else
@clearMessagePanel "Idris: Illegal position to make a with view"

# construct a lemma from a hole
Expand Down Expand Up @@ -402,6 +402,7 @@ class IdrisController

editor.transact ->
# Delete old line, insert the new case block
editor.moveToBeginningOfLine()
editor.deleteLine()
editor.insertText clause
# And move the cursor to the beginning of
Expand Down

0 comments on commit db0f62a

Please sign in to comment.