-
Notifications
You must be signed in to change notification settings - Fork 0
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] On last line of file, Duplicate clones text within line instead of adding new line #921
Comments
Comment by peterflynn Note: Should add a unit test in EditorCommandHandlers-test whenever this bug is fixed. |
Comment by pthiess Reviewed- leave it open. |
Comment by glortho Oy, the codemirror.js code needs serious help. Frequently called anonymous functions with nested function definitions inside them, for starters. Double whammy. Is it fair game to modify this code or would we need to patch it through external overrides/scrubbing since it's third party? |
Comment by peterflynn
However, for this particular bug the behavior in question is implemented in Brackets code: EditorCommandHandlers.js. So I don't think any CodeMirror changes should be necessary. |
Comment by glortho Understood, |
Comment by peterflynn I already confirmed this when testing the pull request, so closing straight away |
Issue by peterflynn
Wednesday May 23, 2012 at 00:03 GMT
Originally opened as adobe/brackets#926
Result: The text on the line is doubled (e.g. "abc;" -> "abc;abc;"). No new lines are added.
Expected: A new line is added cloning the line with the cursor on it, just like Ctrl+D on any earlier line in the file. This is how other editors work.
The text was updated successfully, but these errors were encountered: