Commit Graph
73 Commits
Author SHA1 Message Date
syedm 8f67be87ee Add escape in strings control to ruby parser. 2026-09-13 14:07:19 +01:00
syedm d246559292 Make posix line mode the default always. 2026-09-13 13:15:07 +01:00
syedm 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)
2026-09-11 22:35:06 +01:00
syedm 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.
2026-09-10 07:21:22 +01:00
syedm 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.
2026-09-08 23:12:52 +01:00
syedm c325409dd0 Add basic runtime function operations. 2026-09-08 22:34:45 +01:00
syedm bb3ce7549a Add basic scripting support.
- Fix certain bugs in ruby parser
- And a lot more cleanup/minor fixes.
2026-09-08 18:07:39 +01:00
syedm d6d3f31326 Add cancel buffer (to store cancelled operations.) 2026-09-08 11:50:17 +01:00
syedm 0760209417 Major updates/cleanup. 2026-09-08 07:00:13 +01:00
syedm 0df03f418a Improve colors for command highlighting. 2026-09-03 18:12:16 +01:00
syedm a276bf60da Add command syntax highlighting. 2026-09-03 16:46:13 +01:00
syedm 3bfebe30ce Add buffer listing function. 2026-09-03 14:40:11 +01:00
syedm 46bdb8cd0f Fix io system and highlighting. 2026-09-03 14:23:05 +01:00
syedm 662df68ab4 Add help and history prune commands
- And other minor fixes/cleanup.
2026-09-03 11:40:07 +01:00
syedm abbfcc352a Support piped input. 2026-09-03 09:52:13 +01:00
syedm 33dc9ad507 Fix bugs with history setup. 2026-09-03 06:59:55 +01:00
syedm 956bdd6039 Add history support, and fix parsing system. 2026-09-03 00:30:47 +01:00
syedm 25f4d8efa8 Grow text mode properly during pastes. 2026-08-31 13:00:14 +01:00
syedm 569b69263a Add x function and other bug fixes. 2026-08-31 12:56:14 +01:00
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