Skip to content

Commit 193dabb

Browse files
committed
Fixed minor bugs
1 parent 979c1e6 commit 193dabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aceeditor/src/main/java/com/susmit/aceeditor/AceEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public void showOptionsAfterSelection(boolean show)
341341

342342
public void setText(String text)
343343
{
344-
loadUrl("javascript:editor.setValue(\"" + text +"\");");
344+
loadUrl("javascript:editor.session.setValue(\"" + text +"\");");
345345
}
346346

347347
public void setFontSize(int fontSizeInpx)

0 commit comments

Comments
 (0)