Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace tabs with 4 spaces. #11

Open
qPCR4vir opened this issue Nov 15, 2016 · 2 comments
Open

replace tabs with 4 spaces. #11

qPCR4vir opened this issue Nov 15, 2016 · 2 comments

Comments

@qPCR4vir
Copy link
Owner

a_group_impl.cpp

@cnjinhao
Copy link
Collaborator

Hi, what's the benefit of using 4 spaces?

@qPCR4vir
Copy link
Owner Author

Hi,
consistence. I have used MSVS (variable tabs, 4 spaces max) and it was OK to have tab for vertical alignment. So I have mixed everywhere tab and spaces. Now I use other editors too, and the tabs are no more interpreted as before, and the format is broken. GitHub is the worse (fixed 8 spaces). The examples are bad. But in VS are OK. The simple way to fix all is to replace all tab in VS with spaces. Here a simple example:
http://qpcr4vir.github.io/nana-doxy/html/d9/dda/example_listbox_8cpp-example.html
That is only in the examples, not in the nana code self.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants