fix rtl sanity

This commit is contained in:
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; if (value == "false") return false;
return defaultValue; return defaultValue;
} }
self.ace.setProperty("rtlIsTrue", settings.rtlIsTrue); self.ace.setProperty("rtlIsTrue", settings.rtlIsTrue);
var v; var v;
v = getOption('rtlIsTrue', false);
self.ace.setProperty("rtlIsTrue", v);
v = getOption('showLineNumbers', true); v = getOption('showLineNumbers', true);
self.ace.setProperty("showslinenumbers", v); self.ace.setProperty("showslinenumbers", v);
padutils.setCheckbox($("#options-linenoscheck"), v); padutils.setCheckbox($("#options-linenoscheck"), v);