Skip to content

Conversation

@smj-edison
Copy link
Collaborator

Refactor editor to fix state issues:

  • Use consistent naming (editor instead of view, font options instead of text settings, editor buffer instead of view text)
  • Split viewport dimensions into viewport position and viewport size
  • Make viewport size reactive instead of being Held
  • Remove ctrl + t (ctrl + r already does the same thing)
  • Remove -keep 12ms to avoid locking up
  • Make editor number line work at both small and large sizes
  • Separate margin into top/right/bottom/left
  • Keep at least two characters on the left when moving the cursor left

Modify font rendering:

  • Refactor character position logic
  • Separate anchor into block anchor and line anchor

 * Use consistent naming (editor instead of view, font options instead of text settings, editor buffer instead of view text)
 * Split viewport dimensions into viewport position and viewport size
 * Make viewport size reactive instead of being Held
 * Remove `ctrl + t` (`ctrl + r` already does the same thing)
 * `-keep` editor cursor for 12ms
 * Make editor number line work at both small and large sizes
 * Separate margin into top/right/bottom/left
 * Keep at least two characters on the left when moving the cursor left
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.

2 participants