I am trying to set ace editor content when container block is hidden.
I am not able to to the same.
Here is what i am trying http://jsfiddle.net/U5JtP/408/
Why ace editor did not updated the content and how to update in such scenario?
Is there any internal configuration/patch, that doesn't require me to resize manually in the code.?
No. It is not possible to detect when the size of the dom node changes.
So every time size of the container is modified it is needed to call editor.resize
to notify ace about it.
Most helpful comment
see http://jsfiddle.net/U5JtP/409/