Commit graph

  • ea64291abb
    Make it possible to set attributes per glyph Jeremy Soller 2022-10-26 15:16:06 -06:00
  • 4798c7ee1a
    Add initial rich text example Jeremy Soller 2022-10-26 14:16:48 -06:00
  • 119a570ee9
    Cache font matches, use usize for line index, use font system for swash Jeremy Soller 2022-10-26 12:23:03 -06:00
  • 94576fb682
    0.1.3 Jeremy Soller 2022-10-26 11:12:36 -06:00
  • 7d00af3551
    Update fontdb to 0.9.3 Jeremy Soller 2022-10-26 11:12:05 -06:00
  • a99a5dd0fb
    Default libcosmic editor to monospace Jeremy Soller 2022-10-26 10:59:00 -06:00
  • e37a7c23a9
    Add em dash sample Jeremy Soller 2022-10-26 09:26:21 -06:00
  • cdc2868c10 Remove completed TODO Jeremy Soller 2022-10-25 22:10:15 -06:00
  • 353a25b750 Reduce size of editor test Jeremy Soller 2022-10-25 22:10:05 -06:00
  • 498cb7243d Set attribute family to monospace when monospace is toggled Jeremy Soller 2022-10-25 22:09:49 -06:00
  • 753c847aa9 Update readme Jeremy Soller 2022-10-25 21:42:24 -06:00
  • d7f9eec6ef 0.1.2 Jeremy Soller 2022-10-25 21:38:54 -06:00
  • 80e0a31188 Make font_matches accessible via function only Jeremy Soller 2022-10-25 21:38:47 -06:00
  • 808e75a54d Add Menlo as a fallback on macOS Jeremy Soller 2022-10-25 21:31:42 -06:00
  • ea18576032 Make it possible to set and use default family Jeremy Soller 2022-10-25 21:16:02 -06:00
  • d04337075a Make fontdb database public Jeremy Soller 2022-10-25 20:56:20 -06:00
  • dcb8add5f4 Re-export SwashContent grovesNL 2022-10-25 23:52:06 -02:30
  • e53956cb2d Fix scrolling with cursor Jeremy Soller 2022-10-25 20:49:15 -06:00
  • c031944b45 Make hit detection public Jeremy Soller 2022-10-25 20:27:46 -06:00
  • e32cfedfcf Make font_matches public for now grovesNL 2022-10-25 23:12:48 -02:30
  • 904ee71414 0.1.1 Jeremy Soller 2022-10-25 19:40:26 -06:00
  • f652dd1a99 Add function for getting swash image without caching Jeremy Soller 2022-10-25 19:40:17 -06:00
  • 22036a0f9e Font does not need to store index, it is part of info Jeremy Soller 2022-10-25 19:17:40 -06:00
  • 3e8e28f0b3
    Do not require lifetime for swash fontref Jeremy Soller 2022-10-25 18:16:14 -06:00
  • 525c4efaa5
    Add ability to set global buffer attributes Jeremy Soller 2022-10-25 16:29:33 -06:00
  • 59a4f8a4c1
    Produce FontMatches inside of Buffer Jeremy Soller 2022-10-25 16:13:07 -06:00
  • 085231c153
    Move font matching to Attrs Jeremy Soller 2022-10-25 15:51:28 -06:00
  • 324c8837fd
    Cache fonts Jeremy Soller 2022-10-25 15:47:55 -06:00
  • c60aaaf9d2
    Ensure orbclient example reshapes Jeremy Soller 2022-10-25 15:33:48 -06:00
  • 1a5b01575d
    Record font mapping time Jeremy Soller 2022-10-25 14:52:43 -06:00
  • 66885686a0
    Move fontdb source handling to font Jeremy Soller 2022-10-25 14:49:44 -06:00
  • a3ccbd0481
    Add spdx identifiers Jeremy Soller 2022-10-25 14:42:26 -06:00
  • 84f4381cdf
    Add text attributes Jeremy Soller 2022-10-25 14:14:23 -06:00
  • bc04887b35
    Update docstring again Jeremy Soller 2022-10-25 13:15:52 -06:00
  • 8f9d9de87f
    Update TextLayoutRun::rtl doc Jeremy Soller 2022-10-25 13:14:38 -06:00
  • 0336e0c5e9
    Use layout_runs for hit detection Jeremy Soller 2022-10-25 13:13:13 -06:00
  • b6bd72335c
    Add description for crate Jeremy Soller 2022-10-25 12:54:21 -06:00
  • a9b7b4e914
    Add layout run iterator Jeremy Soller 2022-10-25 12:52:46 -06:00
  • 5d7dd59078
    Draw does not need mutable buffer Jeremy Soller 2022-10-25 11:40:57 -06:00
  • 330a736136
    Add function to get layout runs Jeremy Soller 2022-10-25 11:40:10 -06:00
  • 5603e30a29
    Document shape_until_cursor Jeremy Soller 2022-10-25 11:13:22 -06:00
  • 0f446368ca
    Have TextBuffer own FontMatches Jeremy Soller 2022-10-25 11:10:44 -06:00
  • 1c341f3126
    Make swash optional, add swash cache abstraction Jeremy Soller 2022-10-25 10:55:24 -06:00
  • efc5108a2d
    Do not use mono feature for editor test Jeremy Soller 2022-10-25 10:18:11 -06:00
  • c5e9412673
    Do delete test using EGCs Jeremy Soller 2022-10-25 10:17:09 -06:00
  • cc68315a3f
    Disable character delete test until it can handle EGCs Jeremy Soller 2022-10-25 10:15:24 -06:00
  • 42de42d59e
    Do not store reference to font in shape or layout glyphs Jeremy Soller 2022-10-25 10:13:44 -06:00
  • 3c573df261
    Do not set async by default Jeremy Soller 2022-10-25 09:31:51 -06:00
  • a19182507b
    Set orbclient async mode when edge scrolling Jeremy Soller 2022-10-25 09:30:16 -06:00
  • d04147e1fc
    Reduce framerate of orbclient example Jeremy Soller 2022-10-25 09:03:39 -06:00
  • 079778cbf9 Moved the shape until cursor outside of the loop Andrew Wheeler(Genusis) 2022-10-25 10:57:42 -04:00
  • 16ebfcf6e6 Fixed the way drag selection scrolling works. made main buffer only run once and events do the rest Andrew Wheeler(Genusis) 2022-10-25 10:50:01 -04:00
  • 5200f67196 Clippy Fixes Andrew Wheeler(Genusis) 2022-10-25 10:43:38 -04:00
  • e39f8eabd5
    Disable formatting for now Jeremy Soller 2022-10-25 08:12:04 -06:00
  • 2f3deabb98
    Mark bidirectional selection complete in roadmap Jeremy Soller 2022-10-24 19:33:47 -06:00
  • 1bf532a2fc
    Improved highlighting of selection Jeremy Soller 2022-10-24 19:11:28 -06:00
  • ef686f8f96
    Improved bidi selection Jeremy Soller 2022-10-24 18:57:13 -06:00
  • e14588b2f6 Fix edge cases relating to running Delete with your cursor half way through an egc. Aaron Muir Hamilton 2022-10-24 23:24:12 +00:00
  • d6d896688f
    Track span rtl status in layout glyph Jeremy Soller 2022-10-24 17:13:32 -06:00
  • 7363c923e5 Delete by EGC rather than by char. Aaron Muir Hamilton 2022-10-24 22:10:02 +00:00
  • 9dfadd6c78 Process Previous and Next by EGC rather than char. Aaron Muir Hamilton 2022-10-24 21:30:36 +00:00
  • c3baf00cb5
    Add more fun to ligature.txt Jeremy Soller 2022-10-24 14:34:31 -06:00
  • ab56c52c73
    Improve selection inside ligatures Jeremy Soller 2022-10-24 14:27:26 -06:00
  • 4107165128
    Select by EGC Jeremy Soller 2022-10-24 14:18:40 -06:00
  • 92a83fc4a6
    Revert "Switch unicode-linebreak to xi-unicode for ~25% faster builds" Jeremy Soller 2022-10-24 14:11:52 -06:00
  • 564dab009c Relicense MIT OR Apache 2.0 Jeremy Soller 2022-10-24 08:56:48 -06:00
  • 91ab1c489e
    Add RTL ligature Jeremy Soller 2022-10-24 12:11:30 -06:00
  • cb5bde83ed
    Support cursor inside ligature Jeremy Soller 2022-10-24 12:02:50 -06:00
  • b4ae8ed01e
    Add simple ligature sample Jeremy Soller 2022-10-24 11:47:57 -06:00
  • 81cc65ca01
    Store font ID with CacheKey Jeremy Soller 2022-10-24 11:47:49 -06:00
  • 1bce05d995
    Fix UDHR test Jeremy Soller 2022-10-21 14:58:15 -06:00
  • c1262eca74 Switch unicode-linebreak to xi-unicode for ~25% faster builds Ian Kettlewell 2022-10-23 13:05:52 -04:00
  • ac83f5846b Implement up/down and home/end Jeremy Soller 2022-10-22 11:42:08 -06:00
  • b433f22592 Stubs for up/down Jeremy Soller 2022-10-22 09:41:17 -06:00
  • 2b32085e58 Redraw on cursor movement Jeremy Soller 2022-10-22 09:37:05 -06:00
  • d78fa4b377
    Update README.md Jeremy Soller 2022-10-21 19:33:40 -06:00
  • 95d836f20d
    Update README.md Jeremy Soller 2022-10-21 19:32:51 -06:00
  • 8010b8c0ab
    Implement left/right Jeremy Soller 2022-10-21 13:50:20 -06:00
  • 66a138379f
    Add bidirectional selection to readme Jeremy Soller 2022-10-21 13:46:01 -06:00
  • f687be470a
    Update readme Jeremy Soller 2022-10-21 12:46:53 -06:00
  • 9b2bfbf3cb
    Fix UDHR test and libcosmic compilation Jeremy Soller 2022-10-21 12:40:29 -06:00
  • 50dfd4e6ed
    Performance improvements Jeremy Soller 2022-10-21 12:31:02 -06:00
  • d5fde04d09
    Re-enable parts of editor-test Jeremy Soller 2022-10-21 12:11:28 -06:00
  • e85e613978
    Add Previous, Next actions and implement Delete Jeremy Soller 2022-10-21 12:08:49 -06:00
  • 88b78e059c
    Improvements for enter and cursor positioning Jeremy Soller 2022-10-21 11:51:04 -06:00
  • 784215e490
    Do not use start/end for TextCursor, only index Jeremy Soller 2022-10-21 11:44:11 -06:00
  • eacd09b167
    Fix selection when start and end lines match Jeremy Soller 2022-10-21 11:27:21 -06:00
  • da5b69b2bb
    Fixes for selection Jeremy Soller 2022-10-21 11:19:24 -06:00
  • 3ed1e938f5
    Partially implement selection Jeremy Soller 2022-10-21 09:49:16 -06:00
  • 1e4d951d74
    Implement scrolling on cursor movement and click to move cursor Jeremy Soller 2022-10-21 09:02:15 -06:00
  • 236a0b39cb
    Add checklist Jeremy Soller 2022-10-21 08:46:19 -06:00
  • 441112b5e2
    More implementation of new buffer abstraction Jeremy Soller 2022-10-20 19:34:56 -06:00
  • 2bbacf5636
    Log time to completion in editor-test Jeremy Soller 2022-10-20 09:16:39 -06:00
  • a7ec42371c Begin updating to new buffer abstraction Jeremy Soller 2022-10-19 17:48:11 -06:00
  • 601547b83d
    Improved backspace Jeremy Soller 2022-10-19 16:09:22 -06:00
  • ac31fa8284
    Improvements for tests Jeremy Soller 2022-10-19 15:31:09 -06:00
  • 1503589355
    Fix insert at end of line Jeremy Soller 2022-10-19 15:12:47 -06:00
  • a4e8d10c4f
    Add test editor that tries to recreate text files Jeremy Soller 2022-10-19 15:12:38 -06:00
  • 91687d4654
    Update README Jeremy Soller 2022-10-19 14:17:24 -06:00
  • 3035bad29a
    Add save button Jeremy Soller 2022-10-19 14:13:05 -06:00