Commit Graph
54 Commits
Author SHA1 Message Date
syedm e44267a6fe Cleanup io calls and add cd function. 2026-08-31 10:11:29 +01:00
syedm a996beb4aa Add all basic ed functions
- except global and history ones
2026-08-31 08:14:12 +01:00
syedm 81bb65b7cf Add clipboard buffer. 2026-08-30 19:18:26 +01:00
syedm 49bf5a2e2d Make substitutions work and other minor fixes. 2026-08-30 17:02:34 +01:00
syedm 41049b1ab6 Make % address work with @ mode
- add `d` function.
2026-08-30 14:56:08 +01:00
syedm 7a18aa0db2 Add text mode handling. 2026-08-30 14:33:39 +01:00
syedm 87d9148b82 Fix segv on uninitialized command fields. 2026-08-30 13:08:48 +01:00
syedm e19a8e6bba Fix compile issue (due to incorrect include) 2026-08-30 12:54:35 +01:00
syedm afa60dd12f Fixes. 2026-08-30 12:51:11 +01:00
syedm b8eac7b2da Major updates:
- A lotta cleanup
- BEd command parser rewrite
- Vase class removed
- Proper IO system.
- A lot more.
2026-08-29 22:30:01 +01:00
syedm d7278251ec Update trie to return better results for search. 2026-08-23 16:01:27 +01:00
syedm c8a270378a Improve suffix handling for commands. 2026-08-23 13:16:33 +01:00
syedm 6f1c87400a Improve command input and adding resize handling. 2026-08-23 13:16:08 +01:00
syedm dba279b036 Fix nix compilation issue with marks system. 2026-08-22 23:06:19 +01:00
syedm 3563324a1c Major update
- Add an IO system to hijack a bit of the terminal.
- Other minor fixes.
2026-08-22 22:57:18 +01:00
syedm 1f3b53753a Cleanup. 2026-08-22 15:31:21 +01:00
syedm bea8ff18c0 Add marks and regex addressing systems
- Hook up parser to buffer edits.
- Other minor fixes.
2026-08-22 15:01:48 +01:00
syedm 9680a18e05 Decrease memory footprint of storing blocks. 2026-08-21 21:36:28 +01:00
syedm 3e3fb6c39d Major updates
- Improve ruby block detection heuristics
- Add block information storage and block aware movements.
- Other minor fixes
2026-08-21 18:34:22 +01:00
syedm 739d2e450e Improve ruby parsing heuristics. 2026-08-21 12:28:16 +01:00
syedm 6ea03d651a Update syntax parser system. 2026-08-20 19:33:45 +01:00
syedm 1489b08d57 Make parser optional. 2026-08-20 13:12:48 +01:00
syedm 3a41af01f9 Implement syntax highlighting
- Create a generic incremental syntax highlighting system.
- Implement a ruby syntax highlighter for it.
2026-08-20 02:23:11 +01:00
syedm cd13557e15 Reqrite project as BEd specific. 2026-08-13 16:17:32 +01:00
syedm e2a79c60d9 Rename ed to BEd 2026-08-10 18:15:55 +01:00
syedm f6d4987b8c Add some more ed commands. 2026-08-10 16:29:33 +01:00
syedm 23b7b8c8a8 Fix iteration and petal append bugs. 2026-08-10 14:21:46 +01:00
syedm e56f784c9a Add more ed commands. 2026-08-09 21:44:02 +01:00
syedm f044f69f1c Setup ed the posix line editor. 2026-08-09 16:31:09 +01:00
syedm 717c048d6f Setup routing. 2026-08-07 14:21:44 +01:00
syedm fdb67b449d Setup cli routing & other cleanup. 2026-08-06 23:21:38 +01:00
syedm 04a27b30aa namespace vase. 2026-08-06 20:36:14 +01:00
syedm 0720a254a3 Rearrange project files. 2026-08-06 20:16:40 +01:00
syedm 189b9ab6ca Make append buffer contiguous and update iterators 2026-08-06 19:39:59 +01:00
syedm 5722731c6a Cleanup namespace and api. 2026-08-04 23:41:31 +01:00
syedm 0bfa9300db Perfect
- Make original buffer use a disk backed mapping to save memory.
- rearrange api function headers for search etc.
- fix bugs with iterators.
- support uint64_t for all byte and line offsets to allow for much larger files to be opened.
- and more minor bug fixes.
2026-08-04 07:48:26 +01:00
syedm 72d0ff85a3 Fix searching api. 2026-08-03 20:34:24 +01:00
syedm 8c61f186cf Major fixes:
- ChunkIterator is now bidirectional
- LineIterator is now also bidirectional
- Undo/redo history operations
- Replace operation
- Range based api functions
- And more minor bug fixes
2026-08-03 20:26:02 +01:00
syedm 51e193d28b Major changes to api and structure.
- Remove newline caching
- limit petal sizes
- make public facing api use points only
- fix iterators (chunk & line)
2026-08-02 11:07:04 +01:00
syedm 89b24a7488 Improvements with regex system. 2026-07-29 16:40:08 +01:00
syedm b10f1291a0 Update build system. 2026-07-29 13:49:21 +01:00
syedm b90c8a7fef Cleanup 2026-07-29 07:03:21 +01:00
syedm 15f1456fac Major refractor
- Add regex search and replace
- Add chunk iterator + update line iterator.
- Cleanup/formatting.
2026-07-29 04:50:22 +01:00
syedm d8a59a5f5c Fix bug in split and add line->byte lookup. 2026-07-28 19:18:31 +01:00
syedm 9c84118e63 Add a line content iterator. 2026-07-28 18:01:48 +01:00
syedm ed020792f6 Fix memory leaks 2026-07-28 16:33:34 +01:00
syedm ee887d0806 Make typing hotpath work. 2026-07-28 15:19:25 +01:00
syedm 9ac1407907 Add AVL balancing 2026-07-28 14:12:49 +01:00
syedm 7503561c40 Make basic (unbalanced) insertion work. 2026-07-28 03:26:28 +01:00
syedm 92f59cbb86 Reformat/cleanup 2026-07-28 03:00:15 +01:00