fix rtl sanity

pull/1098/merge
johnyma22 2012-10-29 21:55:57 +00:00
parent 4f04d14cab
commit 898331b680
1 changed files with 3 additions and 1 deletions

View File

@ -85,11 +85,13 @@ var padeditor = (function()
if (value == "false") return false;
return defaultValue;
}
self.ace.setProperty("rtlIsTrue", settings.rtlIsTrue);
var v;
v = getOption('rtlIsTrue', false);
self.ace.setProperty("rtlIsTrue", v);
v = getOption('showLineNumbers', true);
self.ace.setProperty("showslinenumbers", v);
padutils.setCheckbox($("#options-linenoscheck"), v);