Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Text View #209

Closed
wants to merge 36 commits into from
Closed

Conversation

thecoolwinter
Copy link
Collaborator

@thecoolwinter thecoolwinter commented Aug 31, 2023

Description

Replaces STTextView with a custom TextView implementation. Creates a new TextView and TextViewController classes that manage rendering text, handling text input, and keybinds. TextViewController replaces the STTextViewController class, connecting existing TextFormation classes, syntax highlighting, and other existing text view extensions.

Related Issues

Checklist

TextView TODOs:

  • load text
  • render text
  • scroll
  • wrap text
  • resize
  • syntax highlighting
  • cursor
  • edit text
    • isEditable
    • Insert
    • Delete
      • Delete line
      • Delete word
      • Delete character
      • Delete across lines
    • Paste
    • Marked Text
  • Line Numbers
  • Select text
    • Copy
  • Multiple cursors
  • Keyboard navigation
    • Arrow keys
    • Command & control arrow keys
    • Page up and down
  • Tab widths & indents
  • Live parameter updating
  • Undo/redo
  • Sync system appearance
  • Highlight brackets
  • TextFormation integration
  • MacOS Sonoma cursor
  • Update text (from SwiftUI Binding)
  • Non-scrollable view
    • SwiftUI Version
    • AppKit Version
  • Accessibility

--

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

// TODO

@thecoolwinter thecoolwinter marked this pull request as draft August 31, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant