Hi,
After posting I got that part working using editor.session.setUseSoftTabs(false)
as you suggested, so no more real tabs and the actual "strange behavior" is also gone.
Now the issue remains in that pressing tab creates an actual space (and a space acts normally).
It looks like something is misaligned, maybe related to fonts as you mentioned but the editor has the default font enabled which is monospace.
There seems to be an issue with tabs somehow. I also tried pasting some xml code with tabbed indentation and even though it displays well, as soon as I try to edit like deleting a few characters, the "misalignment" immediately shows.
Here's my code:
http://jsbin.com/oterar/2/editSorry if I'm missing something obvious, I'm a javascript newbie.
Thanks!