Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using gedit to edit a ruby file. In gedit (and Sublime) certain tabs are not displayed, that are displayed when I paste into the Internet, open with vi or open with Geany.

This is all summarized in the following photo which you can zoom in to see the details (look at the lines that start with a #: Examples of tabs not displaying

Is this a setting problem or an actual bug that I should report? This would be a minor problem except unexpected tabs break my documentation generator, which breaks more things that are important to me.

share|improve this question

1 Answer 1

Turns out it was a hidden character problem. I was using a mix of tabs and spaces that wasn't being detected by gedit, but was being displayed by vi since it had a different tab size. Converting all of my spaces into tabs fixed the problem.

share|improve this answer
    
This I was thinking to suggest you now... Anyway, good to know. –  Radu Rădeanu Aug 22 '13 at 5:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.