-
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] Fix: Move Line Up/Down collapses inline editor when moving past the start/end #2318
Comments
Comment by jasonsanjose Reviewing |
Comment by jasonsanjose Tried out your fix and I'm seeing a few issues. You should be able to see them as well in the getting started project. Open an inline editor on line 14 on the
|
Comment by jasonsanjose
|
Comment by TomMalbran I knew it was before the vacations, but I got the idea about the fix right back then, and yes, I am on vacations and with poor internet connection. I'll be back in a few days anyway and try to fix this.
|
Comment by TomMalbran I fixed the second issue mentioned. But I cant find a way to fix the first one, since the move line up generates a document change that gets into the special case of |
Comment by jasonsanjose I wasn't able to get this tested in time for sprint 19. We'll take a look at this again for sprint 20. |
Comment by jasonsanjose
|
Comment by jasonsanjose Actually, I had some time to try this out with cmv3. I'm still seeing some issues.
|
Comment by TomMalbran Yes I just tested it on the cmv3 and found the same bug. I am trying to fix that right now. |
Comment by TomMalbran That didn't completely fixed the problem. Trying again. |
Comment by TomMalbran
|
Comment by jasonsanjose Looks good. Merging. |
Issue by TomMalbran
Saturday Dec 22, 2012 at 00:11 GMT
Originally opened as adobe/brackets#2431
This is a possible fix for the issue adobe/brackets#1933.
When moving a line down on an inline editor, the problem seems to be moving the line to the last line and not moving the last line beyond the inline widget. But moving the line beyond the inline widgets breaks
getLastVisibleLine()
which starts giving 1 line less than it should and then breaking the move line up.So this change doesn't move down in an inline editor when trying to move the line to the last visible line or when moving the last visible line down.
TomMalbran included the following code: https://github.com/adobe/brackets/pull/2431/commits
The text was updated successfully, but these errors were encountered: