Commit graph

1178 commits

Author SHA1 Message Date
dd042e2fdd
feat: position cursor at closest glyph boundary on click when beam cursor is enabled
closes #99
2025-01-03 13:52:47 +01:00
18b0c217fc
feat: use smaller NL symbol 2025-01-02 22:54:07 +01:00
e3d93da9e6
fix: whitespace rendering on scroll left
This also simplifies the renderer a little.
2025-01-02 22:51:36 +01:00
919d5ee9bb
feat(whitespace): add leading, eol, tabs modes and highlight leading/trailing errors
This changes whitespace rendering to use a map of the visible viewport.
The view map makes it easy and fast to implement various whitespace
highlighting and rendering features.
2025-01-02 18:27:27 +01:00
233e881f95 feat: add support for pasting from the native windows clipboard
This give us OSC52 equivalent support on windows.

closes #95
2024-12-24 14:44:12 +01:00
750bed8a9c fix: matching of alt+shift+ keybindings on windows 2024-12-24 12:31:47 +01:00
072d418672
build(deps): update libvaxis 2024-12-21 21:08:07 +01:00
77cae58aeb
build: make zig wrapper support nightly builds 2024-12-21 20:55:03 +01:00
afca8a86bc
feat: add configuration option default_cursor 2024-12-20 21:44:35 +01:00
deaafbefa0
feat: upgrade cursors to block cursors when multi-cursor editing
This is to match the secondary cursors which are always block cursors.
It also give some visual feedback that we are multi-cursor.
2024-12-20 21:14:17 +01:00
2357c44912
build: Run all tests before building a release 2024-12-20 20:46:27 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
1aa64b8ea4
fix: hover should convert column to byte position in LSP request
closes: #85
2024-12-20 17:56:04 +01:00
030b3cb139
refactor: show modifiers of modifiers in input view 2024-12-20 17:51:49 +01:00
8dc7a42306
refactor: remove alternate text from synthetic sync_mode_state events 2024-12-20 17:32:53 +01:00
f02fc60e1b
feat: add resulting key event detail to input view 2024-12-20 17:26:32 +01:00
7b21398487
fix: do not add key id string to input events if no text field is received 2024-12-20 17:25:33 +01:00
1c087203e0
fix: escape file list contents to avoid rendering garbage 2024-12-20 15:34:29 +01:00
ca784d1712
feat: allow cursor shape configuration for mini and overlay modes 2024-12-20 13:59:08 +01:00
d2671259f4
fix: build without tree-sitter 2024-12-20 12:17:58 +01:00
cf7fdb644c
build: update build.zig.zon version field 2024-12-19 22:44:07 +01:00
d3b12774c4
refactor: rename Buffer.del_chars to Buffer.delete_bytes 2024-12-19 22:41:26 +01:00
f134fdb747
fix: simplify Buffer.del_chars to use only byte offsets
This is a much faster implementation avoids duplicating work done by
Buffer.get_range. Buffer.get_range also does not have the bug reported
in #83.

The test case was also updated to reflect that get_chars now uses bytes,
instead of columns.

closes #83
2024-12-19 22:36:40 +01:00
5d5b157295
refactor: add test case for #83 2024-12-19 19:36:19 +01:00
df1646d3b1
fix: unittest bitrot 2024-12-19 18:47:20 +01:00
286316b494
feat: process completion response messages and send results to editor 2024-12-18 21:57:04 +01:00
502710cadb
fix: disable markdown in LSP responses
Until we have a markdown renderer...
2024-12-18 21:46:36 +01:00
a0d9dede18
feat: hide line highlight when selecting if theme requires it 2024-12-18 16:22:56 +01:00
587b707069
fix: crash if pos_to_width is given an out of range value
Possible with bad lsp diagnostics for example.
2024-12-18 16:08:51 +01:00
c0a9be21f5
feat: sanitize non utf-8 and display a status bar warning 2024-12-18 15:52:57 +01:00
e865a89ede
feat: render secondary/unfocused cursors with secondary cursor theme style 2024-12-17 21:22:49 +01:00
32d67a3972
feat: use terminal cursors for mini mode and overlay input boxes
closes: #80
2024-12-17 19:15:20 +01:00
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
e17345eff7
fix: disable fast scroll and/or jump mode when changing to mini/overlay modes
closes: #82
2024-12-17 17:15:41 +01:00
3be04c0303
fix: overflow in find_in_files on large input 2024-12-17 17:04:33 +01:00
cbc8df69d3
feat: improve filter executable not found errors 2024-12-16 23:16:44 +01:00
047c9bbb99
feat: improve language server not found errors 2024-12-16 23:14:24 +01:00
11215b21ad
feat: improve ripgrep errors 2024-12-16 22:49:17 +01:00
a25e753ff4
feat: update thespian to get better language server errors 2024-12-16 22:29:11 +01:00
57942ac4f0
fix: use associated text if available instead input codepoint
closes: #78
2024-12-16 22:11:23 +01:00
edwloef
0465a3b8d5 add JuliaFormatter as julia formatter 2024-12-16 10:00:52 +01:00
edwloef
21a4b48b5b add rustfmt as rust formatter 2024-12-16 10:00:52 +01:00
c83d9387ef
fix: prevent find_in_file from removing the last char of a match string 2024-12-13 21:55:53 +01:00
fd648b7b07
fix: foreground color alpha calculation 2024-12-12 21:19:35 +01:00
af68c397bc
fix: rendering of minimode separator 2024-12-12 20:12:11 +01:00
beef23703d
fix: style of home menu items when clicked 2024-12-12 19:35:46 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +01:00
fa25d250c6
fix: improve alpha rendering on gutter 2024-12-12 19:11:54 +01:00
62a4ec1400
fix: alpha rendering of status bar 2024-12-12 18:46:57 +01:00
76ad218729
feat: add clock to default status bar 2024-12-12 18:29:42 +01:00