Skip to content

Commit

Permalink
EDU-691 Course creator: Typing in answer placeholder doesn't change i…
Browse files Browse the repository at this point in the history
…t's possible answer
  • Loading branch information
medvector committed Jul 28, 2016
1 parent a12655c commit d7563b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void documentChanged(DocumentEvent e) {
if (answerPlaceholder.getUseLength()) {
answerPlaceholder.setLength(length);
} else {
answerPlaceholder.setPossibleAnswer(document.getText(TextRange.create(twStart, twStart + answerPlaceholder.getRealLength())));
answerPlaceholder.setPossibleAnswer(document.getText(TextRange.create(twStart, twStart + length)));
}
}
}
Expand Down

0 comments on commit d7563b0

Please sign in to comment.