CodeEditApp / CodeEditSourceEditor

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

Make cursor appear when clicking after the last line of a file (#56) #145

Closed RenanGreca closed 1 year ago

RenanGreca commented 1 year ago

Description

I created the subclass at the end of STTextViewController.swift, but it should probably go to its own file; upon review I would like suggestions of where to place this file, as none of the current directories seem appropriate for it.

Additionally, the name of the class is CEScrollView (CE for CodeEdit); I am not sure if there is a different naming convention customized subclasses.

Related Issue

Checklist

Screenshots

thecoolwinter commented 1 year ago

Looks awesome, I just left a comment about where to put the file like you asked. And one small change for finding the end range. Thank you! This has been needed for a while. Also yes the CE prefix is perfectly fine.