<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rayedit.git/editor.h, branch feat/piece</title>
<subtitle>Text editor for large files
</subtitle>
<id>http://git.dilluti0n.com/rayedit.git/atom?h=feat%2Fpiece</id>
<link rel='self' href='http://git.dilluti0n.com/rayedit.git/atom?h=feat%2Fpiece'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/'/>
<updated>2025-05-27T15:58:16Z</updated>
<entry>
<title>refactor: abstract input/rendering modules from main routine</title>
<updated>2025-05-27T15:58:16Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-05-27T15:58:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=1fecff5e4206c5eff3bad68ad799ed19f302adc9'/>
<id>urn:sha1:1fecff5e4206c5eff3bad68ad799ed19f302adc9</id>
<content type='text'>
This fetch moves raylib-specific logics to redr_raylib.c and
input_raylib.c from main routine. Each apis are defined in redr.h and
input.h respectively.
</content>
</entry>
<entry>
<title>refactor: main draw routine to use eb_get_line_slice instead string.</title>
<updated>2025-04-29T13:27:03Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-29T13:27:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=8a20b01ec5ec7b557eb6ce3c489b2270d6958081'/>
<id>urn:sha1:8a20b01ec5ec7b557eb6ce3c489b2270d6958081</id>
<content type='text'>
Implement helper draw_text_slice which just allocate C-string on the
stack and pass it to the DrawText.
</content>
</entry>
<entry>
<title>feat: add slice-based accessors for line and editor buffer</title>
<updated>2025-04-29T12:56:40Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-29T12:53:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=5e4cb3121fd3eaf9ed6b6887e8010f6a80ed0f3d'/>
<id>urn:sha1:5e4cb3121fd3eaf9ed6b6887e8010f6a80ed0f3d</id>
<content type='text'>
This adds `line_get_slice` and `eb_get_line_slice`, enabling
slice-style (pointer + length) access to line contents without
requiring materialization into a null-terminated string.

- `line_get_slice` returns either the original mmap'd buffer (if the
- line is lazy) or the materialized vector contents (if edited).
- `eb_get_line_slice` wraps `line_get_slice` to provide safe access at
- the editor buffer level.  Update `line.h` and `editor.h` headers to
- declare the new functions.  Minor documentation improvements to
- clarify "init", "modify", and "get" function categories.

This prepares the codebase for transitioning away from C-string
dependency where possible, improving efficiency and avoiding
unnecessary memory copies.
</content>
</entry>
<entry>
<title>refactor: decouple line.h from main.c</title>
<updated>2025-04-29T07:50:40Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-29T07:50:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=498e3ccefcc5997182067ebe9a8ed79094b13aa8'/>
<id>urn:sha1:498e3ccefcc5997182067ebe9a8ed79094b13aa8</id>
<content type='text'>
By making eb_get_line a static function within editor.c and
introducing API wrappers that internally delegate to eb_get_line and
line_get_string, thereby avoiding direct exposure of the line
structure.  Considering a future transition from C-style
null-terminated strings to explicit length-based string management.
</content>
</entry>
<entry>
<title>refactor: organize editor.h to look pretty :)</title>
<updated>2025-04-28T13:50:00Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-28T13:50:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=fa7fa2c9215eaf22c866e1bf01dd4b1e60245060'/>
<id>urn:sha1:fa7fa2c9215eaf22c866e1bf01dd4b1e60245060</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add: basic i/o structure on main rendering loop</title>
<updated>2025-04-28T07:40:09Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-28T07:40:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=c8f6112d89c0f4a50d1f53172bf428631171f620'/>
<id>urn:sha1:c8f6112d89c0f4a50d1f53172bf428631171f620</id>
<content type='text'>
eb_bind binds file path to the ed_buf, eb_load_file loads to the
buffer if exists and eb_save_file save the buffer to that path.
</content>
</entry>
<entry>
<title>refactor: move ed_* modules from main.c to editor.c</title>
<updated>2025-04-28T03:18:46Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-04-28T03:18:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=4f8a065949dfbe122b2b27d4855712f634cd4b33'/>
<id>urn:sha1:4f8a065949dfbe122b2b27d4855712f634cd4b33</id>
<content type='text'>
</content>
</entry>
</feed>
