Community
Participate
Working Groups
When using the QVTo editor, sometimes tabs are automatically inserted, even though text editor settings are configured to use spaces instead of tabs. For instance, when having the following code: [code] self.children->forEach(child) { [/code] and pressing <ENTER> at the end of the line, QVTo automatically adds two new lines: one with the same indentation as the line at which <ENTER> is pressed, with one additional tab character as indentation, and one other line, with the same indentation and a '}' character. This seems to occur for 'forEach' bodies, 'if' bodies, mapping bodies, etc.
Created attachment 255102 [details] Screenshot to show the 'Insert spaces for tabs' text editor setting is enabled
Created attachment 255103 [details] Screenshot to show the problem (before/after pressing enter)