dfdb82ca20
refactor: move write_range to Buffer
2025-09-26 15:04:17 +02:00
06b9d2384e
fix: flush lsp log file after every message
2025-09-26 14:09:44 +02:00
705ff49ae8
fix: remove bogus assert in Buffer drain function
2025-09-26 13:17:04 +02:00
4125db2617
fix: Writer.Allocation.initOwnedSlice does not append
2025-09-26 12:51:52 +02:00
720bb9515f
Merge branch 'master' into zig-0.15
2025-09-25 22:04:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build
2025-09-25 22:01:29 +02:00
7c49138eac
feat: add :qa!
aliase for quit_without_saving
in vim mode
2025-09-25 14:56:26 +02:00
6c385bc35a
fix: missing padding in buffer_palette
2025-09-25 14:55:57 +02:00
203f05fef7
feat: make select_next_sibling select the node at the cursor if there is no selection
2025-09-25 10:56:16 +02:00
bfa3ea007c
feat: make shrink_selection select the node at the cursor if there is no selection
2025-09-25 10:55:33 +02:00
e6b39c274c
refactor: lots and lots of writergate changes
2025-09-24 22:30:18 +02:00
96e8100373
Merge branch 'master' into zig-0.15
2025-09-24 18:33:33 +02:00
bcef17a466
fix: make sure we don't destroy file_path before navigating in open_file mini mode
2025-09-24 13:59:56 +02:00
622d65497a
feat: add helix mode keybindings for keypad keys
2025-09-23 22:58:52 +02:00
82c11c64f3
feat: add keybindings for keypad navigation keys
2025-09-23 22:52:21 +02:00
14dbc08bcf
feat: add string mappings for keypad key events
2025-09-23 22:31:12 +02:00
Jonathan Marler
5cc6724a07
win32 gui: center double-wide characters
2025-09-23 22:14:29 +02:00
Jonathan Marler
921f094509
workaround crash when rendering some utf8 on win32 gui
...
closes #194
Ignores cells that have graphemes with more than 1 codepoint rather than
crash.
2025-09-23 22:14:29 +02:00
Jonathan Marler
2790dcfd11
add some new text to the font test
2025-09-23 22:14:29 +02:00
Jonathan Marler
05b87b1406
finish win32 gui support for double-wide characters
2025-09-23 22:14:29 +02:00
8278a080af
fix: actually use staging_size in WindowState.generateGlyph
2025-09-23 22:14:29 +02:00
a9d4fed205
feat: support wide characters in win32 gui
...
closes #132
2025-09-23 22:14:29 +02:00
f7496654ae
feat: add vim mode aliases for buffer commands
...
This adds these vim mode specific commands:
:bd (Close file)
:bw (Delete buffer)
:bnext (Next buffer/tab)
:bprevious (Previous buffer/tab)
:ls (List/switch buffers)
closes #296
2025-09-23 15:52:18 +02:00
be758be087
feat: make delete_buffer command with no argument delete the current buffer
2025-09-23 15:51:27 +02:00
52996ed57d
feat: make AST keybindings more intuitive
2025-09-22 13:07:03 +02:00
1ef77601e3
feat: allow next/previous sibling functions to work with no selection
2025-09-22 13:06:53 +02:00
8100e7d52b
refactor: improve const correctness in AST navigation functions
2025-09-22 12:58:10 +02:00
30af629a1a
refactor: expose CurSel.to_selection method
2025-09-22 12:55:31 +02:00
99dc805817
feat: add flow mode keybinds for unnamed AST sibling movement
2025-09-22 12:26:43 +02:00
60016a3d03
feat: improve expand_selection by selecting top selection matching node
2025-09-22 12:26:43 +02:00
4035cefcaf
feat: add optional integer arguments to goto and goto_offset commands
2025-09-17 23:05:21 +02:00
2461717f11
feat: add support for byte offsets in file links to navigate command
2025-09-17 22:47:50 +02:00
7228a604b0
feat: add byte offset support to vim style '+' cli arguments
...
This adds support for using `+b{offset}` on the command line.
2025-09-17 22:46:35 +02:00
219b8cd00a
feat: support byte offsets in file links
...
This adds support for a 'b' prefix to the first file link argument
to denote a byte offset.
`{path/to/file.ext}:b{offset}`
2025-09-17 22:42:25 +02:00
7c5a22c959
feat: add goto_offset keybind "b" in goto mini mode
...
This effectively makes `ctrl+g b` the goto_offset keybinding.
2025-09-17 22:18:45 +02:00
30a457158c
feat: add goto_offset mini mode and command
2025-09-17 22:18:20 +02:00
18cd62ba7e
feat: add editor goto_byte_offset command
2025-09-17 22:17:48 +02:00
935b178d89
feat: add Buffer.Node.byte_offset_to_line_and_col and testcase
2025-09-17 22:17:00 +02:00
933126e2a0
feat: add support for {row}:{column} syntax in goto mini mode
2025-09-17 20:39:45 +02:00
59921d8e10
feat: restore cursor column when cancelling goto mini mode
...
This commit refactors the numeric_input mini mode to make the input value
type generic. This allows the goto mini mode to store the origin column
along with the row. Also, this will allow more complex numeric_input modes,
for example a goto mini mode that supports column and row.
2025-09-17 10:04:27 +02:00
9bdc3e0a0a
fix: handle completion items with no type icon
...
superhtml fix
2025-09-13 20:06:44 +02:00
76600bc6bd
fix: handle completion items with no insert and/or replace coordinates
...
superhtml fix
2025-09-13 20:06:04 +02:00
67b214675f
refactor: log issues in LSP completion item messages
2025-09-13 20:05:28 +02:00
f958aa3039
Merge branch 'master' into zig-0.15
2025-09-13 16:16:51 +02:00
4eda1fec0c
feat: set beam_blick as the default cursor shape if we have mutil cursor support
2025-09-13 16:09:59 +02:00
2d55bd0326
feat: use block cursor in flow mode select submode
2025-09-13 16:09:41 +02:00
3d90b199ad
fix: do not return zero width codepoints from egc_at
...
Skip them and return the next non-zero width codepoint. This makes more sense and
prevents endless loops in code that scans by egc width using egc_at, like
Cursor.move_right_until for example.
2025-09-13 15:45:17 +02:00
8903ca86b1
Merge branch 'master' into zig-0.15
2025-09-12 01:05:35 +02:00
a299d27b1f
feat: add F# language support
...
closes #291
2025-09-09 22:30:54 +02:00
000aaf9685
fix: ignore trailing whitespace in bracketed file links
2025-09-09 12:41:21 +02:00