Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Not possible to move cursor within last screen line of soft wrapped line #6885

Closed

Description

@izuzak

Steps to reproduce:

  1. open new tab
  2. enable soft wrapping
  3. trigger the lorem snippet (type lorem and press tab)
  4. try to click somewhere within the last line of the wrapped paragraph, and notice that the cursor will always be placed at the end of the line. It's possible to delete characters from the end of that line using backspace, but not move the cursor within it.

Here's a gif where I try to position the cursor within the last line, but it always ends up at the end of the line (and when I press left with the cursor at the end of that last line -- the cursor doesn't move):

cc @nathansobo any chance some of your recent changes affected this somehow? 💭

Activity

  1. izuzak commented on May 21, 2015

    @izuzak
    ContributorAuthor

    Forgot to mention I'm on the latest master version:

    $ atom -v
    0.201.0-75d02cd
    
  2. lee-dohm commented on May 21, 2015

    @lee-dohm
    Contributor

    👍 Beat me to it by 38 minutes 😆 Reproduces using Atom v0.201.0-6cb9ebc on Mac OS X 10.10.3.

    Also, related:

    1. Generate text as in @izuzak's repro steps above
    2. Place your cursor at the end of the soft-wrapped line
    3. Press Alt+Left three or four times

    Expected: Cursor to move
    Actual: The cursor's location does move, but the visual indicator does not. You can prove this by pressing Return after step 3 above.

  3. abe33 commented on May 21, 2015

    @abe33
    Contributor

    Some more information about this issue:

    • It only occurs is the line is wrapped more than one time: wrap-issue
    • When clicking in the last wrapped line screen line it's possible to insert text at the clicked position:
      wrap-issue-2
    • But it seems to also select all the text from the clicked position til the end of the line, here I'm just pressing the backspace key after a click: wrap-issue-3

    I'm running the same version as @izuzak on OSX 10.10.3.

  4. nathansobo commented on May 21, 2015

    @nathansobo
    Contributor

    Can you guys give this a try again on master? I reverted the memory savings pull request which I definitely suspect in causing this. I'll try to get to the bottom of this and another issue today and maybe try to merge again tomorrow. Thanks!

  5. izuzak commented on May 21, 2015

    @izuzak
    ContributorAuthor

    Yep, that fixes things -- thanks, @nathansobo. 👍

  6. added 2 commits that reference this issue on May 21, 2015
    4353f73
    865015e
  7. lock commented on Jan 22, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  8. locked as resolved and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions