<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rayedit.git/view.c, branch master</title>
<subtitle>Text editor for large files
</subtitle>
<id>http://git.dilluti0n.com/rayedit.git/atom?h=master</id>
<link rel='self' href='http://git.dilluti0n.com/rayedit.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/'/>
<updated>2026-07-16T16:20:17Z</updated>
<entry>
<title>Fix compiler warning</title>
<updated>2026-07-16T16:20:17Z</updated>
<author>
<name>dilluti0n</name>
<email>hskim@dilluti0n.com</email>
</author>
<published>2026-07-16T16:20:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=b88fc8c140cd8ed4b856f3cafcad839a7e27c5d1'/>
<id>urn:sha1:b88fc8c140cd8ed4b856f3cafcad839a7e27c5d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed curser not displaying at the end of a line</title>
<updated>2026-04-20T07:42:43Z</updated>
<author>
<name>dilluti0n</name>
<email>hskim@dilluti0n.com</email>
</author>
<published>2026-04-20T07:42:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=9bbfd56da30c32805a98baf74453638137a2cc6e'/>
<id>urn:sha1:9bbfd56da30c32805a98baf74453638137a2cc6e</id>
<content type='text'>
or an unallocated line
</content>
</entry>
<entry>
<title>Make scroll actaully scroll</title>
<updated>2026-04-20T07:23:58Z</updated>
<author>
<name>dilluti0n</name>
<email>hskim@dilluti0n.com</email>
</author>
<published>2026-04-20T07:23:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=2e42e90096ca6240358b651950be633ad1c7e51a'/>
<id>urn:sha1:2e42e90096ca6240358b651950be633ad1c7e51a</id>
<content type='text'>
Fixed draw offsets and added scroll guard to not to try draw
non-existing parts and produce this:
  (gdb) bt
  #0  0x00007ffff7daba3c in ?? () from /usr/lib64/libc.so.6
  #1  0x00007ffff7d51bd6 in raise () from /usr/lib64/libc.so.6
  #2  0x00007ffff7d3930d in abort () from /usr/lib64/libc.so.6
  #3  0x00007ffff7d39275 in ?? () from /usr/lib64/libc.so.6
  #4  0x000055555555d7a5 in Vec_slinep_get (v=0x555555ae1ea0, index=50) at editor.c:20
  #5  0x000055555555d950 in eb_get_line (eb=0x555556479b50, index=50) at editor.c:67
  #6  0x000055555555e18b in eb_get_line_slice (eb=0x555556479b50, pos=50, sl=0x7fffffffc6e0) at editor.c:255
  #7  0x0000555555560c98 in view_eb_draw (veb=0x555556258100) at view.c:220
  #8  0x00005555555607d9 in view_draw_under (root=0x555556689000) at view.c:155
  #9  0x000055555555fc78 in main (argc=2, argv=0x7fffffffd8c8) at main.c:47

I mean... what I were doing last year? This is just unreadable.
</content>
</entry>
<entry>
<title>refactor: modify field 'w' and 'h' to width and height respectively</title>
<updated>2025-06-01T12:47:05Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-06-01T12:46:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=97df651d19d47087a2febeb7b167935c79923ff2'/>
<id>urn:sha1:97df651d19d47087a2febeb7b167935c79923ff2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: enable fraction format of each geometry metadatas on view</title>
<updated>2025-06-01T12:44:52Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-06-01T12:42:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=0611be2d5fcf7d49663a2f03407c12097c1fcc5a'/>
<id>urn:sha1:0611be2d5fcf7d49663a2f03407c12097c1fcc5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: mark unused dirty flag as TODO</title>
<updated>2025-06-01T12:03:04Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-06-01T12:03:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=44179352b530a627911a32202adc7ffe44557634'/>
<id>urn:sha1:44179352b530a627911a32202adc7ffe44557634</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: view_eb_draw to draw text only for its boarder</title>
<updated>2025-06-01T11:52:36Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-06-01T11:52:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=5da179c7f0c1e52729b5aa054f00b1b862921fea'/>
<id>urn:sha1:5da179c7f0c1e52729b5aa054f00b1b862921fea</id>
<content type='text'>
- rename and refactor draw_text_slice to draw_textn for more freely used
</content>
</entry>
<entry>
<title>refactor: introduce view.c; ui drawing abstraction layer</title>
<updated>2025-06-01T09:30:13Z</updated>
<author>
<name>dilluti0n</name>
<email>hskimse1@gmail.com</email>
</author>
<published>2025-06-01T09:24:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/rayedit.git/commit/?id=626845736af8601dd31c312a738f8b23537af260'/>
<id>urn:sha1:626845736af8601dd31c312a738f8b23537af260</id>
<content type='text'>
This patch extracts the drawing logic from redr_raylib.c and moves it
into a new abstraction layer in view.c, introducing a tree-based view
system for UI rendering.

- view.c defines a hierarchical 'view' structure with polymorphic draw methods.
- root and ed_buf views are implemented as a proof of concept.
- redr.c (via redr.h) now exposes only backend rendering primitives (text, clear, measure).
- main.c is updated to instantiate and draw the view tree.

This separation clarifies the responsibilities between layout (view)
and rendering (redr) and prepares the system for future UI extensions
such as nested panels, split views, and overlays.
</content>
</entry>
</feed>
