ace.config.set('basePath', AceEditorPath);
aceEditorT = ace.edit('aceTTEXT');
aceEditorT.setTheme('ace/theme/twilight');
aceEditorT.container.style.background='black';
aceEditorT.getSession().setMode('ace/mode/php');
aceEditorT.setShowPrintMargin(false);
aceEditorT.getSession().setUseWrapMode(true);
I am reading a file and setting it in the DIV.
<div id="aceTTEXT">$TTEXT</div>
I have been working on this for hours and have tried many things. The page has two editors. The other works fine, and this one stopped working in the last couple of days. The code is identical. It is kind of like the DIV has a text-align:left. I can insert a character before the line and the indents will be fine. I can do a string replacement on spaces and have that work. Now, I am just into trial and error.