mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed possible answer detection on document changed event
This commit is contained in:
@@ -86,7 +86,7 @@ public class EduDocumentListener extends DocumentAdapter {
|
||||
answerPlaceholder.setLine(line);
|
||||
answerPlaceholder.setStart(start);
|
||||
if (usePossibleAnswerLength) {
|
||||
answerPlaceholder.setPossibleAnswer(document.getText(TextRange.create(start, start + length)));
|
||||
answerPlaceholder.setPossibleAnswer(document.getText(TextRange.create(twStart, twStart + length)));
|
||||
}
|
||||
else if (myTrackLength) {
|
||||
answerPlaceholder.setLength(length);
|
||||
|
||||
Reference in New Issue
Block a user