-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
None
-
Affects Version/s: 4.1.5, 5.5.2
-
Component/s: Editor - Page / Comment Editor
-
Environment:
download
-
1
-
Severity 2 - Major
Is there a way to create a macro that will convert tabs to 4 spaces?
If you use the tabs in codeblock (using C++ language and default theme), it converts them to a single space.
It seems that when converted to html the tab becomes a single space – so if it is possible to change it so that tab automatically inserts spaces up to column position modulo tab_spacing (maybe 4 by default).
Example of the problem - enter this into a code block:
tab test - should all be aligned - tab spacing is eight here
one tabs
eight spaces
4 spaces then tab
end
Then view it in HTML or export to PDF