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

[CLOSED] Fixing issue 14163, F&R replaces all content of file when replacing new line #11761

Open
core-ai-bot opened this issue Aug 30, 2021 · 0 comments

Comments

@core-ai-bot
Copy link
Member

Issue by navch
Tuesday Mar 27, 2018 at 13:49 GMT
Originally opened as adobe/brackets#14175


Edge case for "\n". In this case, the value of ch was -1 because of match.index value and value returned by lastIndexOf is same.

Issue adobe/brackets#14163

Please review@swmitra@nethip


navch included the following code: https://github.com/adobe/brackets/pull/14175/commits

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