Skip to content

[CLOSED] Fix #3130: Move line up/down has incorrect behavior in edge cases in inline editor #3038

@core-ai-bot

Description

@core-ai-bot

Issue by TomMalbran
Sunday Mar 24, 2013 at 07:46 GMT
Originally opened as adobe/brackets#3233


Added 2 special cases making it possible to move the second to last line to the last position and to move the last line up without shrinking the editor.

Currently it would be possible to move the last line to end of file or the line before the end of file, but isn't possible to move before the first line since the TexRange doesn't update to reduce the first line of the inline editor. Anyway, this makes it work better than before and maybe with a new implementation of inline editors, we could remove all the restriction and special cases on inline editors.


TomMalbran included the following code: https://github.com/adobe/brackets/pull/3233/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions