by jeff » Wed Jan 23, 2013 9:08 pm
In most text editors, when tabs are emulated with spaces, they still align at tab boundaries. For example, if tabs are set at four spaces pressing the tab key at the first index of a line would insert four spaces, while pressing tab at the second index would insert three spaces, and so on. Basically, pressing tab will always take you to a multiple of four.
It looks like in both Rtext and RSyntaxTextArea, if emulated tabs with four spaces is set, pressing tab will always insert four spaces regardless of where the cursor is. Is there a setting I'm missing? Was this intentional? Would it be considered a bug?
In most text editors, when tabs are emulated with spaces, they still align at tab boundaries. For example, if tabs are set at four spaces pressing the tab key at the first index of a line would insert four spaces, while pressing tab at the second index would insert three spaces, and so on. Basically, pressing tab will always take you to a multiple of four.
It looks like in both Rtext and RSyntaxTextArea, if emulated tabs with four spaces is set, pressing tab will always insert four spaces regardless of where the cursor is. Is there a setting I'm missing? Was this intentional? Would it be considered a bug?