Skip to content

🐞Horizontal scrolling with rubberbanding #158

Closed

Description

@matthijseikelenboom

Description

It's currently possible to scroll horizontally in the TextView. That's fine, VSCode also does this. Xcode, however, does not.

Currently, when all of the files content is in view, it's still possible to scroll horizontally, with rubberband effect. This isn't desired.

If we want to follow Xcode specifically, then horizontal scrolling should be removed and text should be wrapped when it doesn't fit on screen. But I like the idea to put this as a setting more, where the user can choose to use the VSCode or Xcode style.

To Reproduce

  1. Open a file
  2. Scroll horizontally.

Expected behavior

N/A

Version information

CodeEditTextView: [0.0.3-alpha 29]
macOS: [13.2.1]
Xcode: [14.2]

Additional context

No response

Activity

  1. austincondiff commented on Mar 9, 2023

    @austincondiff
    Collaborator

    This is controlled with this setting under Text Editing...

    image

    That said, when it is changed, the editor does not respond. To see the changes take effect, the user must close and reopen the file. This needs to be fixed to reflect changes immediately after the user clicks the checkbox.

  2. matthijseikelenboom commented on Mar 9, 2023

    @matthijseikelenboom
    ContributorAuthor

    Oh didn't know that was a setting already. Should be default enabled if you ask me. It's also possible to always scroll to the right, even if everything is in view/on screen.

  3. austincondiff commented on Mar 9, 2023

    @austincondiff
    Collaborator

    @matthijseikelenboom that scrolling is most likely caused by #148.

  4. changed the title [-]🐞Horizontal scrolling with rubbenbanding[/-] [+]🐞Horizontal scrolling with rubberbanding[/+] on Mar 16, 2023
  5. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Mar 23, 2023
  6. moved this from 📋 Todo to 👀 In Review in CodeEdit Projecton Apr 22, 2023
  7. moved this from 👀 In Review to 🏁 Complete in CodeEdit Projecton Apr 22, 2023
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

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions