Is it possible to change the length of the TAB (\t) character (currently 8 characters) displayed in a XUL <textbox> element ?
Note that I want to avoid replacing TABs with spaces.
Is it possible to change the length of the TAB (\t) character (currently 8 characters) displayed in a XUL <textbox> element ?
Note that I want to avoid replacing TABs with spaces.
Not an expert of XUL, but I would say no. From the docs
https://developer.mozilla.org/en/XUL/textbox
I see no property to set this, nor any setting in the firefox about:config.
Dug through the source for this. It appears that this is hard coded to 8 characters within the layout engine itself.
http://mxr.mozilla.org/mozilla1.9.2/source/layout/generic/nsTextFrameThebes.cpp#2483
Looks like tab replacement is the only option if tab-stop rendering is necessary :(