Commit graph

  • 020701734e Address review Jeremy Soller 2024-06-06 15:37:07 -06:00
  • 896f36cdab Embed font for wrap_word_fallback test Jeremy Soller 2024-06-06 15:31:31 -06:00
  • 37688747e1 Use line height from attrs Jeremy Soller 2024-06-06 15:21:44 -06:00
  • 8638ec29bb Add metrics to attributes Jeremy Soller 2024-06-06 14:40:35 -06:00
  • 89503b254f
    Fix compilation without std feature Jeremy Soller 2024-06-05 08:19:34 -06:00
  • 39c4e3e02b refactor: move "rayon" feature under "std" Itsusinn 2024-06-05 14:05:39 +08:00
  • 1f52b5211c fix: no redundant load Itsusinn 2024-05-02 08:08:27 +08:00
  • 658025314c feat: concurrently load & parse fonts Itsusinn 2024-04-28 18:29:32 +08:00
  • 5e82de11cf Promote Noto Color Emoji fallback apricotbucket28 2024-06-04 16:50:16 -03:00
  • b0a70c70ff
    Fix horizontal scrolling to start of empty line Jeremy Soller 2024-05-30 14:36:18 -06:00
  • cb9d405c20
    Fix horizontal scroll to end of line Jeremy Soller 2024-05-30 14:33:35 -06:00
  • 570999809c
    Track horizontal scroll (which must be implemented by renderers) Jeremy Soller 2024-05-30 14:26:38 -06:00
  • 2f5f2c63da
    Fix extra newline in crlf sample Jeremy Soller 2024-04-30 12:26:28 -06:00
  • 10d5888d11
    Ensure at least one line is in Buffer Jeremy Soller 2024-04-30 12:21:21 -06:00
  • 0cfd9b64ef
    Add line ending abstraction (#250) Jeremy Soller 2024-04-30 12:12:25 -06:00
  • ff5501d9a3
    Fix: Undo and redo correctly updates editor modified status (#244) Joshua Megnauth 2024-03-25 14:55:44 +00:00
  • b08676909f
    Remove todos about highlight color, it is implemented Jeremy Soller 2024-03-18 08:41:42 -06:00
  • 18c3d2acec Skip trying monospace fallbacks if default font supports all codepoints Mohammad AlSaleh 2024-03-10 21:49:51 +03:00
  • 729dc868c2 Only try monospace fonts that support at least one requested script Mohammad AlSaleh 2024-03-10 21:43:31 +03:00
  • 59ac0b824c Store a sorted list of monospace font ids in font system Mohammad AlSaleh 2024-03-10 21:55:24 +03:00
  • 3e02ae1ea6 Cache codepoint support info for monospace fonts Mohammad AlSaleh 2024-02-25 22:39:27 +03:00
  • a53a0b3a8c Convert rich-text example to winit Nico Burns 2024-03-04 11:39:49 +13:00
  • 9615978557 Refactor scrollbar width handling for editor example Nico Burns 2024-03-04 11:34:40 +13:00
  • 43d3620e44 Convert editor example to winit Nico Burns 2024-02-19 14:31:36 +13:00
  • 22e61965aa Enable vi feature for docs.rs build Nico Burns 2024-03-01 15:02:44 +13:00
  • 2766961af6 Handle inverted Ranges in add_span Aapo Alasuutari 2024-02-22 15:53:45 +02:00
  • 8582173128 Fix no_std build Christopher Serr 2024-02-12 17:34:28 +01:00
  • 0cb6eba6e7
    0.11.2: Fix glyph start and end when using shape-run-cache Jeremy Soller 2024-02-09 15:12:33 -07:00
  • cb447ea8c6
    0.11.1 Jeremy Soller 2024-02-08 11:13:33 -07:00
  • 1eb3233373
    Add shape-run-cache feature, that can significantly improve shaping performance Jeremy Soller 2024-02-08 11:12:41 -07:00
  • 990d66ed41
    Ignore bitflags in cargo-deny duplicate check Jeremy Soller 2024-02-07 14:49:49 -07:00
  • 0a24ee0423
    Remove editor-libcosmic Jeremy Soller 2024-02-07 14:45:11 -07:00
  • 8174877407
    0.11.0 Jeremy Soller 2024-02-07 14:18:19 -07:00
  • be471833c9 Add a test case for extra line insertion. dtzxporter 2024-02-02 13:34:09 -05:00
  • de587b3f50 Only commit a previous word range if we had an existing visual line. dtzxporter 2024-02-02 13:29:53 -05:00
  • ceb6dccb40
    Update test image size Jeremy Soller 2024-02-02 10:50:17 -07:00
  • dd2c907f4e
    Update test images Jeremy Soller 2024-02-02 10:48:57 -07:00
  • 003f73e679
    Set default buffer wrap to WordOrGlyph Jeremy Soller 2024-02-02 10:45:24 -07:00
  • cc75bb66b4 Adds a separate wrapping option to allow word to glyph fallback. dtzxporter 2024-02-01 21:51:36 -05:00
  • b7f150615d Add a test for word wrapping fallback. dtzxporter 2024-02-01 21:06:54 -05:00
  • e83f55bfeb Re-generate word tests so they don't wrap because that's not what they are testing. dtzxporter 2024-02-01 20:32:18 -05:00
  • 07a65cf81f Fallback to glyph wrapping when a word can't fit on a line by itself. dtzxporter 2024-02-01 20:59:45 -05:00
  • d036f50b60 Fix benchmark issue. dtzxporter 2024-02-01 20:17:08 -05:00
  • 1b025ae56e
    Update swash to 0.1.12 Jeremy Soller 2024-02-01 12:43:08 -07:00
  • 4a66d19006
    Update swash Jeremy Soller 2024-02-01 11:35:25 -07:00
  • 9bbf9e5c23
    Fix no_std tests Jeremy Soller 2024-02-01 11:35:18 -07:00
  • b2fb02c7ad Require modit 0.1.4 Jeremy Soller 2024-01-31 14:03:19 -07:00
  • db2f3b94ef Fix missing line separators in delete changes Jeremy Soller 2024-01-31 13:53:36 -07:00
  • 0cea55630c Use weight absolute difference in monospace fallback matching Mohammad AlSaleh 2024-01-31 13:45:19 +03:00
  • 1a18296a67 Update to swash 0.1.9 Mohammad AlSaleh 2024-01-30 21:09:30 +03:00
  • e0ae465f91 Only use relevant info from Attrs as a key in font_matches_cache Mohammad AlSaleh 2024-01-24 08:42:10 +03:00
  • 235ec02a20 Add a size limit to font_matches_cache and clear it when it's reached Mohammad AlSaleh 2024-01-22 11:12:06 +03:00
  • db1530c4ec Use supported codepoints instead of scripts in Monospace fallback Mohammad AlSaleh 2024-01-18 23:00:54 +03:00
  • 845a66ceff Multiply by a glyph-to-default rounded factor when resizing fonts Mohammad AlSaleh 2024-01-19 18:58:48 +03:00
  • 6aadfaddac
    Fix subtraction overflow when comparing weights Jeremy Soller 2024-01-18 06:58:47 -07:00
  • 8457e68d98 Fix tests Jeremy Soller 2024-01-17 13:30:52 -07:00
  • a11f68f13d Format Jeremy Soller 2024-01-17 13:26:39 -07:00
  • 329941c4a6 Try harder to succeed at fall-backing to a Monospace font Mohammad AlSaleh 2024-01-17 12:32:33 +03:00
  • 054b7da828 Editor::insert_at: ensure there are enough lines in the buffer Jeremy Soller 2024-01-10 09:24:36 -07:00
  • 40e503737b Handle multiple BiDi paragraphs in ShapeLine gracefully Jeremy Soller 2024-01-04 15:07:15 -07:00
  • 5f4bc87ccf Remove patch to load Redox system fonts, as fontdb does it now Jeremy Soller 2024-01-03 09:34:34 -07:00
  • bd5f2f95e8 Add capability to synthesize italic Jeremy Soller 2024-01-02 11:36:53 -07:00
  • 46d60a3723 Implement Clone for Buffer and use Arc::make_mut Jeremy Soller 2023-12-19 15:58:45 -07:00
  • 0a11fb1045 Make Editor::buffer_ref accessible, rename lifetimes Jeremy Soller 2023-12-19 11:47:25 -07:00
  • cbbf6f0d8f Allow Editor to use reference or Arc of Buffer Jeremy Soller 2023-12-19 11:04:33 -07:00
  • ae030e9885 Move color and x_opt out of Cursor Jeremy Soller 2023-12-15 15:03:29 -07:00
  • 04d53ac5f4 Add Scroll::new Jeremy Soller 2023-12-15 13:58:24 -07:00
  • d0b4b4635e Refactor of scroll and shaping Jeremy Soller 2023-12-15 13:37:59 -07:00
  • e7261fc06e Editor: remove unused cursor_x_opt Jeremy Soller 2023-12-15 10:19:45 -07:00
  • b877f873df BufferLine: remove wrap from struct, as wrap is passed to layout Jeremy Soller 2023-12-15 10:02:32 -07:00
  • 816ea4fae7 BufferLine: use layout_in_buffer to implement layout Jeremy Soller 2023-12-15 10:02:02 -07:00
  • 80d120dfa5 Ensure that all shaping and layout uses scratch buffer Jeremy Soller 2023-12-15 10:01:17 -07:00
  • 5d1aa67804 Improve reliability of layout_cursor Jeremy Soller 2023-12-15 09:48:06 -07:00
  • 018a2e9d2a Move cursor motions to new Motion enum, move handling to Buffer Jeremy Soller 2023-12-15 09:13:14 -07:00
  • 6528e9f804 multiview example Jeremy Soller 2023-12-14 10:38:58 -07:00
  • c247e0527c Only apply attrs to range in syntect editor if it does not match default Jeremy Soller 2023-12-14 09:10:09 -07:00
  • 19b4d8336e Use crate::HashMap in SwashCache Jeremy Soller 2023-12-19 17:02:28 -07:00
  • 430b3abc9f Fix no_std build Jeremy Soller 2023-12-19 17:02:15 -07:00
  • 73acfb0962 Cache rustybuzz shape plans. David Stern 2023-12-18 18:10:09 -05:00
  • 94e6cdefda
    Add select by word and double/triple click actions Jeremy Soller 2023-12-12 10:29:14 -07:00
  • 6566350276
    ViEditor::finish_change will store change to history Jeremy Soller 2023-12-12 09:52:22 -07:00
  • 3187e916ab
    ViEditor: cleanup logging Jeremy Soller 2023-12-08 12:03:55 -07:00
  • b7bdd62eb3
    ViEditor: update modit and improve put implementation Jeremy Soller 2023-12-05 10:05:26 -07:00
  • de6f2c7fbe
    Editor: make delete_range and insert_at methods public Jeremy Soller 2023-12-05 10:04:50 -07:00
  • afc5b525f1
    Buffer: fix max scroll going one line beyond end Jeremy Soller 2023-11-30 14:51:22 -07:00
  • 1cf36f8a5d
    Editor: set selection to none when deleted Jeremy Soller 2023-11-30 14:42:39 -07:00
  • 9278e7d0c4
    ViEditor: Implement put/yank registers Jeremy Soller 2023-11-30 13:42:52 -07:00
  • 04c96f39c5
    Allow Clone of layout structs Jeremy Soller 2023-11-30 12:59:49 -07:00
  • daa5a6615c
    Merge pull request #129 from tigregalis/cross-platform-terminal-example Jeremy Soller 2023-11-28 15:22:21 -07:00
  • cbd567d238
    Support line selection Jeremy Soller 2023-11-28 10:42:50 -07:00
  • 9a975ad79a
    Merge pull request #198 from pop-os/vi-editor Jeremy Soller 2023-11-17 07:30:50 -08:00
  • 66a6803cf8
    Merge remote-tracking branch 'origin/main' into vi-editor Jeremy Soller 2023-11-17 08:30:08 -07:00
  • 1201d0c8b5
    Use crates.io modit Jeremy Soller 2023-11-17 07:53:24 -07:00
  • e6987adb53
    Merge pull request #202 from TotalKrill/shaping_basic_color_fix Jeremy Soller 2023-11-17 06:48:31 -08:00
  • d242307b6d refresh the attrs more often in basic shaping, or colors are not updated correctly Kristoffer Ödmark 2023-11-16 21:47:41 +01:00
  • 7d21045b2f
    Add primitive auto indent Jeremy Soller 2023-11-16 08:59:43 -07:00
  • 1207fd6d80
    Edit: use u16 for tab_width Jeremy Soller 2023-11-16 08:38:48 -07:00
  • 8024cbe504
    Fix redoxer script Jeremy Soller 2023-11-15 12:43:14 -07:00
  • 27d447b6fc
    Use fontdb 0.16 Jeremy Soller 2023-11-15 12:42:51 -07:00
  • 19ae07bd3b
    Fix some clippy lints Jeremy Soller 2023-11-15 09:21:13 -07:00