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

v1.1 +spaceDefaultToTab (4 to arbitrary), Moved into Edit menu, impoved Readme #5

Merged
merged 2 commits into from Jun 15, 2013

Conversation

tomByrer
Copy link
Contributor

Moved menu into Edit, where it resides in many other editors.

  • spaceDefaultToTab, so the script's DEFAULT_TAB_WIDTH (4) is used to find spaced indents. Needed since currently, my configured Tab Size is 2, which spaceToTab translates twice as many tabs needed to indent.

Perhaps not the best solution. TODO: somehow input the expected widths, since the source & desired destinations my be different. Perhaps reading Brackets' "Tab Size" & "Spaces" values will help (since they have separate settings now), some my want to translate from 4 spaces into 2 spaces.

But this works for me now.
cheers

+ spaceDefaultToTab, so the script's DEFAULT_TAB_WIDTH (4) is used to find spaced indents.  Needed since currently, my configured Tab Size is 2, which spaceToTab translates twice as many tabs needed to indent.
@davidderaedt
Copy link
Owner

Looks good to me. Thanks!

davidderaedt added a commit that referenced this pull request Jun 15, 2013
v1.1 +spaceDefaultToTab (4 to arbitrary), Moved into Edit menu, impoved Readme
@davidderaedt davidderaedt merged commit 07b7433 into davidderaedt:master Jun 15, 2013
@tomByrer
Copy link
Contributor Author

Welcome, cheers!

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

Successfully merging this pull request may close these issues.

None yet

2 participants