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

Redundant CR at line endings in Sublime Text 3 #11

Open
phts opened this issue Feb 8, 2014 · 0 comments
Open

Redundant CR at line endings in Sublime Text 3 #11

phts opened this issue Feb 8, 2014 · 0 comments

Comments

@phts
Copy link
Contributor

phts commented Feb 8, 2014

Redundant CR are inserted when inserting a whole comment or adding a new comment line (please see the screenshot).

Sublime Text 3
Line endings - "Windows"
OS - Windows x64

Maybe Sublime Text 3 better cares about line endings and "\r" is not necessary.
I didn't tested it in Sublime Text 2 but I think ST2 still needs "\r".
So my fix should be improved to check ST version or something like that.

sublime-yardoc-cr

phts added a commit to phts/SublimeYardoc that referenced this issue Feb 8, 2014
Fixes revathskumar#11. Redundant CR were inserted at the end of every comment line
in Sublime Text 3 if line endings style is set to "Windows".

Removed line endings check from "line_ending" method.
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

1 participant