Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Cursor should not be able to be placed after the last line of the diff #1760

Open

Description

@smashwilson

In our FilePatchItem editors, you can click beyond the last line of the diff content, which is awkward.

Originally reported by @Arcanemagus in #1512 (comment).

Activity

  1. Arcanemagus commented on Oct 25, 2018

    @Arcanemagus

    Copying here so you don't have to expand all the collapsed content to see it:


    This is relatively minor, but I just noticed you can place the cursor after the last line of the diff:
    image

    Using this branch directly at 59b4b45, on Atom v1.33.0-nightly9.

  2. annthurium commented on Oct 30, 2018

    @annthurium

    Once diffs are editable, it seems like we should allow you to put the cursor after the last line in case you want to extend the file, yes?

  3. Arcanemagus commented on Oct 30, 2018

    @Arcanemagus

    That isn't the behavior when editing a file normally, so that doesn't make too much sense to me at least.

    There is a setting that allows you to scroll past the end of the file contents, but you can't place a cursor past the end of the contents. When we get to editable diffs they should match the regular editing experience as closely as possible.

  4. added
    papercutSmall-scope issues and bugs we can use to backfill our sprint plans
    on Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    papercutSmall-scope issues and bugs we can use to backfill our sprint plans

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions