Emulated tabs don't align as expected

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Emulated tabs don't align as expected

Re: Emulated tabs don't align as expected

Post by jeff » Thu Jan 24, 2013 5:23 pm

Re: Emulated tabs don't align as expected

Post by robert » Thu Jan 24, 2013 3:12 am

Yes, this is an issue I've known about for awhile, but being a tab guy, it's never bothered me. ;) If you'd like to see it fixed in the next release, please fill out a bug report on SourceForge.

Emulated tabs don't align as expected

Post 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?

Top