Commit Graph

  • 8d6f7d323e Fix minor bugs and add language detection. experimental syedm 2026-09-25 13:23:57 +01:00
  • 6711ecbaee Add basic c syntax highlighting. syedm 2026-09-14 11:25:29 +01:00
  • 8f67be87ee Add escape in strings control to ruby parser. syedm 2026-09-13 14:07:19 +01:00
  • 88785436cf Add ARCHITECTURE.md. syedm 2026-09-13 13:15:57 +01:00
  • d246559292 Make posix line mode the default always. syedm 2026-09-13 13:15:07 +01:00
  • 3346bc9f83 Fix a few bugs. - Moving lines after themselves didnt work. - moving empty lines deleted them. - "w" didnt set state to unmodified in generic buffers. - in "hl" aligned the numbers (by digits) syedm 2026-09-11 22:35:06 +01:00
  • a8d51dc0b6 Make command behave like irb with coloring - And command to run selected lines, but removing `` as that can be done by making a new buffer and writing in that. syedm 2026-09-10 07:21:22 +01:00
  • 118934a393 Make mruby raii cleanup, and fix cleanup bug. - Functions were cleaned up after mruby, which was wrong. - Becuase functions could have stored a reference to a Block which refers to mruby. - And so it would crash on release builds at exit if custom functions were used. syedm 2026-09-08 23:12:52 +01:00
  • f5ec5516fa Cleanup flake.nix syedm 2026-09-08 22:44:58 +01:00
  • c325409dd0 Add basic runtime function operations. syedm 2026-09-08 22:34:45 +01:00
  • 0e4422b0c8 Fix issue with mruby linking. syedm 2026-09-08 19:10:52 +01:00
  • bb3ce7549a Add basic scripting support. - Fix certain bugs in ruby parser - And a lot more cleanup/minor fixes. syedm 2026-09-08 18:07:39 +01:00
  • a5794d9ab3 Cleanup. syedm 2026-09-08 11:56:26 +01:00
  • d6d3f31326 Add cancel buffer (to store cancelled operations.) syedm 2026-09-08 11:50:17 +01:00
  • 51676362b9 Fix cancellation procedure. syedm 2026-09-08 07:06:38 +01:00
  • 0760209417 Major updates/cleanup. syedm 2026-09-08 07:00:13 +01:00
  • 0df03f418a Improve colors for command highlighting. syedm 2026-09-03 18:12:16 +01:00
  • a276bf60da Add command syntax highlighting. syedm 2026-09-03 16:46:13 +01:00
  • 3bfebe30ce Add buffer listing function. syedm 2026-09-03 14:40:11 +01:00
  • 46bdb8cd0f Fix io system and highlighting. syedm 2026-09-03 14:23:05 +01:00
  • 662df68ab4 Add help and history prune commands - And other minor fixes/cleanup. syedm 2026-09-03 11:40:07 +01:00
  • cd9583ec34 Honor suppress mode. - Allow P command to create a new prompt string. syedm 2026-09-03 09:53:14 +01:00
  • 0104f96d51 Add comments and echo commands. syedm 2026-09-03 09:52:33 +01:00
  • abbfcc352a Support piped input. syedm 2026-09-03 09:52:13 +01:00
  • f8975a60d8 Fix regex and current() system. syedm 2026-09-03 07:42:50 +01:00
  • 33dc9ad507 Fix bugs with history setup. syedm 2026-09-03 06:59:55 +01:00
  • 956bdd6039 Add history support, and fix parsing system. syedm 2026-09-03 00:30:47 +01:00
  • 151817973f Ruby parser: support heredocs for block navigation syedm 2026-08-31 13:06:41 +01:00
  • 25f4d8efa8 Grow text mode properly during pastes. syedm 2026-08-31 13:00:14 +01:00
  • 569b69263a Add x function and other bug fixes. syedm 2026-08-31 12:56:14 +01:00
  • c0f9c6a234 Make r fucntion allow zero. main syedm 2026-08-31 10:16:25 +01:00
  • 4b0f3b8fb7 Fix first == npos bug. syedm 2026-08-31 10:15:07 +01:00
  • 24914028c0 Fix incorrect error message. syedm 2026-08-31 10:13:46 +01:00
  • 0d126021d0 Seperate cd and pwd semantics to mimic shells syedm 2026-08-31 10:13:14 +01:00
  • e44267a6fe Cleanup io calls and add cd function. syedm 2026-08-31 10:11:29 +01:00
  • a996beb4aa Add all basic ed functions - except global and history ones syedm 2026-08-31 08:14:12 +01:00
  • 010f916d35 Rename buffer.cc. syedm 2026-08-30 19:19:14 +01:00
  • 81bb65b7cf Add clipboard buffer. syedm 2026-08-30 19:18:26 +01:00
  • 49bf5a2e2d Make substitutions work and other minor fixes. syedm 2026-08-30 17:02:34 +01:00
  • 41049b1ab6 Make % address work with @ mode - add d function. syedm 2026-08-30 14:56:08 +01:00
  • 4a87a1a834 Fix incorrect start of range. syedm 2026-08-30 14:38:49 +01:00
  • 44e58b3041 Fix off by one error. syedm 2026-08-30 14:36:36 +01:00
  • 7a18aa0db2 Add text mode handling. syedm 2026-08-30 14:33:39 +01:00
  • 87d9148b82 Fix segv on uninitialized command fields. syedm 2026-08-30 13:08:48 +01:00
  • e19a8e6bba Fix compile issue (due to incorrect include) syedm 2026-08-30 12:54:35 +01:00
  • afa60dd12f Fixes. syedm 2026-08-30 12:51:11 +01:00
  • b8eac7b2da Major updates: - A lotta cleanup - BEd command parser rewrite - Vase class removed - Proper IO system. - A lot more. syedm 2026-08-29 22:30:01 +01:00
  • d7278251ec Update trie to return better results for search. syedm 2026-08-23 16:01:27 +01:00
  • c8a270378a Improve suffix handling for commands. syedm 2026-08-23 13:16:33 +01:00
  • 6f1c87400a Improve command input and adding resize handling. syedm 2026-08-23 13:16:08 +01:00
  • f4e3a190b8 Fix one off error in regex reverse search. syedm 2026-08-23 11:10:11 +01:00
  • dba279b036 Fix nix compilation issue with marks system. syedm 2026-08-22 23:06:19 +01:00
  • 2ac71085db Add mouse mode cleanup in IO. syedm 2026-08-22 22:58:01 +01:00
  • 3563324a1c Major update - Add an IO system to hijack a bit of the terminal. - Other minor fixes. syedm 2026-08-22 22:57:18 +01:00
  • 1f3b53753a Cleanup. syedm 2026-08-22 15:31:21 +01:00
  • 387ea61efd Add a sample ruby file syedm 2026-08-22 15:05:07 +01:00
  • bea8ff18c0 Add marks and regex addressing systems - Hook up parser to buffer edits. - Other minor fixes. syedm 2026-08-22 15:01:48 +01:00
  • 2a903f761a Minor fixes in address resolving. syedm 2026-08-21 21:57:43 +01:00
  • 9680a18e05 Decrease memory footprint of storing blocks. syedm 2026-08-21 21:36:28 +01:00
  • 556bb631f6 Fixing addressing - Fix double resolve bug in address handler - Fix multiple major issues with next_closing and prev_opening functions. - add = ed command. - Other minor fixes. syedm 2026-08-21 20:35:20 +01:00
  • 3e3fb6c39d Major updates - Improve ruby block detection heuristics - Add block information storage and block aware movements. - Other minor fixes syedm 2026-08-21 18:34:22 +01:00
  • 739d2e450e Improve ruby parsing heuristics. syedm 2026-08-21 12:28:16 +01:00
  • 6ea03d651a Update syntax parser system. syedm 2026-08-20 19:33:45 +01:00
  • 1489b08d57 Make parser optional. syedm 2026-08-20 13:12:48 +01:00
  • 3a41af01f9 Implement syntax highlighting - Create a generic incremental syntax highlighting system. - Implement a ruby syntax highlighter for it. syedm 2026-08-20 02:23:11 +01:00
  • 48fb8e3501 Add a few more ed commands. syedm 2026-08-13 16:38:01 +01:00
  • cd13557e15 Reqrite project as BEd specific. syedm 2026-08-13 16:17:32 +01:00
  • cc5d475ab8 Fix incorrect parsing of quit commands. syedm 2026-08-10 20:38:57 +01:00
  • c077ba2dc8 Reformat newline syedm 2026-08-10 18:16:54 +01:00
  • e2a79c60d9 Rename ed to BEd syedm 2026-08-10 18:15:55 +01:00
  • 31a43e17bb Update readme.md syedm 2026-08-10 17:44:43 +01:00
  • 20ac202f88 Rewrite plans for BEd. syedm 2026-08-10 17:13:01 +01:00
  • 512bdd522c Update readme.md syedm 2026-08-10 16:56:17 +01:00
  • b852c604c8 Update readme with plans for BEd. syedm 2026-08-10 16:52:35 +01:00
  • f6d4987b8c Add some more ed commands. syedm 2026-08-10 16:29:33 +01:00
  • 23b7b8c8a8 Fix iteration and petal append bugs. syedm 2026-08-10 14:21:46 +01:00
  • e56f784c9a Add more ed commands. syedm 2026-08-09 21:44:02 +01:00
  • f044f69f1c Setup ed the posix line editor. syedm 2026-08-09 16:31:09 +01:00
  • 717c048d6f Setup routing. syedm 2026-08-07 14:21:44 +01:00
  • fdb67b449d Setup cli routing & other cleanup. syedm 2026-08-06 23:21:38 +01:00
  • 04a27b30aa namespace vase. syedm 2026-08-06 20:36:14 +01:00
  • 0720a254a3 Rearrange project files. syedm 2026-08-06 20:16:40 +01:00
  • 9841c2cf15 Update readme. syedm 2026-08-06 19:40:54 +01:00
  • 189b9ab6ca Make append buffer contiguous and update iterators syedm 2026-08-06 19:39:59 +01:00
  • 5722731c6a Cleanup namespace and api. syedm 2026-08-04 23:41:31 +01:00
  • 1f57c40eef Cleanup syedm 2026-08-04 09:41:57 +01:00
  • e253fa0efb Remove debugging line syedm 2026-08-04 07:50:28 +01:00
  • 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. syedm 2026-08-04 07:48:26 +01:00
  • 72d0ff85a3 Fix searching api. syedm 2026-08-03 20:34:24 +01:00
  • 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 syedm 2026-08-03 20:26:02 +01:00
  • 557edb5191 Fix throw statement syedm 2026-08-02 12:24:24 +01:00
  • c235692770 Readme cleanup syedm 2026-08-02 11:50:17 +01:00
  • 234aee059a Adding license and readme. syedm 2026-08-02 11:48:55 +01:00
  • 16cd5255ee Set unicode_width as vendored. syedm 2026-08-02 11:16:08 +01:00
  • 51e193d28b Major changes to api and structure. syedm 2026-08-02 11:07:04 +01:00
  • 89b24a7488 Improvements with regex system. syedm 2026-07-29 16:40:08 +01:00
  • b10f1291a0 Update build system. syedm 2026-07-29 13:49:21 +01:00
  • b90c8a7fef Cleanup syedm 2026-07-29 07:03:21 +01:00
  • 15f1456fac Major refractor - Add regex search and replace - Add chunk iterator + update line iterator. - Cleanup/formatting. syedm 2026-07-29 04:50:22 +01:00
  • d8a59a5f5c Fix bug in split and add line->byte lookup. syedm 2026-07-28 19:18:31 +01:00