CodeEditApp / CodeEditSourceEditor

A code editor view written in Swift powered by tree-sitter.
https://codeeditapp.github.io/CodeEditSourceEditor/documentation/codeeditsourceeditor
MIT License
520 stars 84 forks source link

Show horizontal scrollbar only when `wrapLines` is off #249

Closed danielzsh closed 5 months ago

danielzsh commented 5 months ago

Description

This PR prevents the horizontal scrollbar from being shown when wrapLines is on. When it is off, it shows regardless of whether content actually overflows the border; this is consistent with Xcode's behavior.

Related Issues

Checklist

Screenshots