Emulated tabs don't align as expected

General Discussion on RSyntaxTextArea.

Moderator: robert

Emulated tabs don't align as expected

Postby 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?
jeff
 
Posts: 2
Joined: Wed Jan 23, 2013 9:00 pm

Re: Emulated tabs don't align as expected

Postby 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.
User avatar
robert
 
Posts: 797
Joined: Sat May 10, 2008 5:16 pm

Re: Emulated tabs don't align as expected

Postby jeff » Thu Jan 24, 2013 5:23 pm

jeff
 
Posts: 2
Joined: Wed Jan 23, 2013 9:00 pm


Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 1 guest