Commit Graph
99 Commits
Author SHA1 Message Date
Krzosa Karol fc928da75b Tune the looks 2024-07-21 14:16:09 +02:00
Krzosa Karol 8c1118b429 Refactor and Escape+Delete+Backspace 2024-07-21 12:39:31 +02:00
Krzosa Karol 846d4e7ab5 Add more testing load buffers 2024-07-21 11:07:32 +02:00
Krzosa Karol 816c24c1b6 Manual rendering and small fixes 2024-07-21 10:46:07 +02:00
Krzosa Karol 6ac1c8711c Forgot to add math int 2024-07-21 10:00:01 +02:00
Krzosa Karol c9cd2e6c1e Move to integer based rendering, fix Big line 2024-07-21 09:59:50 +02:00
Krzosa Karol 4c1630d61d Line highlight improvements and misc 2024-07-21 09:03:30 +02:00
Krzosa Karol ddbee2f0ec Optimize, working on a buffer with million lines 2024-07-21 08:30:27 +02:00
Krzosa Karol 8de8938be1 Mouse scrolling, BUFFER_DEBUG, todo list 2024-07-21 08:09:38 +02:00
Krzosa Karol 675e4a10dd Page up and page down, home and end 2024-07-21 07:43:13 +02:00
Krzosa Karol 2b2cc9cf6c Mouse click add cursor 2024-07-21 06:40:44 +02:00
Krzosa Karol 0b74fd81e3 Writing text 2024-07-20 10:06:25 +02:00
Krzosa Karol 941652b4bc Rename cursor to caret because cursor can be confused with mouse pointer 2024-07-20 09:48:40 +02:00
Krzosa Karol 2ba9d991bf Scrolling left right 2024-07-20 09:45:36 +02:00
Krzosa Karol ba5930b585 Scrolling up and scrolling down 2024-07-20 09:37:02 +02:00
Krzosa Karol 3868afce93 Refactor movement code 2024-07-20 09:20:25 +02:00
Krzosa Karol ba4ed9afff Ctrl cursor movement and fix selection draw bug 2024-07-20 09:15:15 +02:00
Krzosa Karol adeb2de366 Implement decently fast selection 2024-07-20 07:56:56 +02:00
Krzosa Karol 0071136146 Cursor movement, draw selection and fixing bugs 2024-07-20 07:41:02 +02:00
Krzosa Karol cd48094a18 Split buffer into multiple files 2024-07-18 14:19:48 +02:00
Krzosa Karol e0ac9654c3 Buffer multi cursor 2024-07-18 14:10:35 +02:00
Krzosa Karol 196d5353c8 Buffer cursor work 2024-07-18 13:22:55 +02:00
Krzosa Karol e9783b2317 Buffer work 2024-07-18 12:25:40 +02:00
Krzosa Karol 47d92dba14 Working on the buffer 2024-07-18 10:08:16 +02:00
Krzosa Karol 24eeca8f79 New project 2024-07-17 07:30:55 +02:00
Krzosa Karol f7ac92cd01 New project 2024-07-17 07:30:46 +02:00
Krzosa Karol 63bd416e7c Convert to SDL3 and static link 2024-07-13 08:58:30 +02:00
Krzosa Karol e6b23b2a98 MenuOpen mode, deffered read on start, cleanup todos 2024-07-13 07:19:22 +02:00
Krzosa Karol 83bc33015d Delete _main.cpp 2024-07-13 06:53:35 +02:00
Krzosa Karol c660118f8b Read on start and omit file type 2024-07-12 12:47:29 +02:00
Krzosa Karol 1ec217905d Config 2024-07-12 10:34:17 +02:00
Krzosa Karol bd97ecb9eb Big update 2024-07-12 08:27:24 +02:00
Krzosa Karol 9891a302ac Big update 2024-07-12 08:27:19 +02:00
Krzosa Karol 37982e0448 Add pdfio 2024-07-08 10:38:35 +02:00
Krzosa Karol 22828c9d23 Print loaded files and errors, enable loading and searching 2024-07-06 09:51:39 +02:00
Krzosa Karol e3a176b2f9 Trying to improve threading, thread queue 2024-07-06 07:55:38 +02:00
Krzosa Karol 30fa22aed5 Gui improvements and optimizations 2024-07-06 06:56:18 +02:00
Krzosa Karol 0dd6289509 Rewrite to IMGUI 2024-07-05 15:24:58 +02:00
Krzosa Karol e23a7b9c02 Fix move down out of selection 2024-07-04 16:23:12 +02:00
Krzosa Karol b48cffd880 Page up page down 2024-07-04 16:21:02 +02:00
Krzosa Karol 2f52c018cd Add spall profiler and stop generating layout every frame 2024-07-04 14:30:20 +02:00
Krzosa Karol 143a88ac1d String coloring 2024-07-04 10:02:51 +02:00
Krzosa Karol 21df381d12 Coloring strings 2024-07-04 07:35:29 +02:00
Krzosa Karol e7f53d2c07 Line highlights 2024-07-04 07:20:45 +02:00
Krzosa Karol a77a149664 Basic line wrapping works 2024-07-03 07:14:57 +02:00
Krzosa Karol 0a75cde80c Fix scrolling 2024-07-02 11:09:20 +02:00
Krzosa Karol 8250058296 Scroll clamping 2024-07-02 11:06:04 +02:00
Krzosa Karol d3c4c4cd02 Add line number drawing 2024-07-02 08:56:29 +02:00
Krzosa Karol aa41d9e15b Basic scroll bars 2024-07-02 08:42:39 +02:00
Krzosa Karol 186ec3c11d Adding bars to the window 2024-07-02 07:36:40 +02:00
Krzosa Karol 620954631a Add math ops 2024-07-02 07:36:21 +02:00
Krzosa Karol e0505dc974 Implement double click 2024-07-02 07:10:32 +02:00
Krzosa Karol ce13f83d46 Multicursor clipboard 2024-07-01 15:13:23 +02:00
Krzosa Karol 1a420e2f22 Redo working 2024-07-01 07:41:44 +02:00
Krzosa Karol d1f83fa669 Undo working 2024-07-01 07:23:46 +02:00
Krzosa Karol 4425db7ca3 Fix cursor offsetting after change 2024-07-01 07:16:11 +02:00
Krzosa Karol ceecb6cc81 Trying to add undo 2024-06-29 12:15:39 +02:00
Krzosa Karol c8ad9222fd Hopefully fixed BeforeEdit, needs a refactor though 2024-06-29 10:49:07 +02:00
Krzosa Karol 7e68e09b22 Fix BeforeEdit cursor removal, add multicursor deletion 2024-06-29 10:27:16 +02:00
Krzosa Karol e3150f8203 Implement Ctrl + D 2024-06-29 09:52:08 +02:00
Krzosa Karol 93ef620448 Improve mouse selection, add multicursor for mouse selection 2024-06-29 09:05:26 +02:00
Krzosa Karol ba711b7f14 Improve mouse scrolling 2024-06-29 08:55:16 +02:00
Krzosa Karol 0d3cb029d8 Toying with event recording to see if it can be used for testing 2024-06-29 07:35:22 +02:00
Krzosa Karol 2807573012 Toying with raylib automation 2024-06-28 18:04:39 +02:00
Krzosa Karol 8528bfefc1 Fix shadowing bug 2024-06-28 17:26:28 +02:00
Krzosa Karol d561883144 Work on end of buffer 2024-06-28 17:24:58 +02:00
Krzosa Karol 2dacc969a3 Refactored lines to contain 'new line' 2024-06-28 15:43:41 +02:00
Krzosa Karol 63adca1fac Cursor scrolling working 2024-06-28 13:43:58 +02:00
Krzosa Karol 4dfa9b432e Refactor y cursor, add small utility for debugging, fix bug in buffer 2024-06-28 13:30:55 +02:00
Krzosa Karol b8cdb49ea5 Fix visual bug when scrolling 2024-06-28 10:37:47 +02:00
Krzosa Karol ffe1ca643e Fixing bugs, bring back mouse selection 2024-06-28 10:20:17 +02:00
Krzosa Karol 95cafa3200 Major refactor of text layout 2024-06-28 09:30:22 +02:00
Krzosa Karol 784028c7a9 X scrolling using main cursor 2024-06-26 07:31:21 +02:00
Krzosa Karol fcb4d361bc Add todos 2024-06-25 09:57:48 +02:00
Krzosa Karol ceb9985242 Scrolling the main cursor properly 2024-06-25 09:38:43 +02:00
Krzosa Karol 03644c0561 Ctrl+c, ctrlv, ctrlx 2024-06-25 07:45:30 +02:00
Krzosa Karol 7ef502f3b0 Adding commands, BeforeEdit AfterEdit 2024-06-25 07:29:28 +02:00
Krzosa Karol 84f0b65fa9 Fix multiple cursors crashes by sorting cursors by min range 2024-06-24 07:27:38 +02:00
Krzosa Karol 66b9a5d15f Fix cursor merging on boundary 2024-06-24 07:00:15 +02:00
Krzosa Karol e82edb89ae Small improvements 2024-06-24 06:51:34 +02:00
Krzosa Karol 37518ed7b0 Selecting text using mouse and new abstraction for cursors 2024-06-23 12:24:22 +02:00
Krzosa Karol b76d825f55 Drawing selection and overlapping selections 2024-06-23 10:05:54 +02:00
Krzosa Karol 10afbd3e4f Port Seek word, add ctrl+left 2024-06-23 09:17:54 +02:00
Krzosa Karol c0d69521fe More proper offseting of cursors during char insert 2024-06-23 07:53:30 +02:00
Krzosa Karol e54596809e Drawing line numbers 2024-06-23 07:46:00 +02:00
Krzosa Karol 6347b56751 Adding scrollbars and titlebars, laying it out 2024-06-23 07:22:03 +02:00
Krzosa Karol 48eca55a4c Move up down and multi cursor 2024-06-22 20:58:29 +02:00
Krzosa Karol 5ba9975c10 Basic cursor movement, handling end of buffer, end of line in drawing 2024-06-22 16:09:26 +02:00
Krzosa Karol 7b818c5cde Drawing the cursor and cell setup 2024-06-22 14:48:32 +02:00
Krzosa Karol 443e88b4a9 Extract font grid from raylib 2024-06-22 12:29:40 +02:00
Krzosa Karol 64540d2d36 Working on rendering lines and clipping 2024-06-22 10:02:12 +02:00
Krzosa Karol 94555d2a60 Working on rendering 2024-06-22 08:35:11 +02:00
Krzosa Karol a329bc2424 Improving the buffer and bug fixing 2024-06-20 16:35:18 +02:00
Krzosa Karol b3b8a54f7f Buffer iterator and utf8 2024-06-20 11:52:33 +02:00
Krzosa Karol 5539bbd3b9 Basic multiline buffer concept 2024-06-20 09:40:05 +02:00
Krzosa Karol b919678913 Add text editor, misc changes 2024-06-20 08:17:54 +02:00
Krzosa Karol 7fe6aa2a97 Reading multiple directories in transcript browser 2024-06-19 10:40:20 +02:00
Krzosa Karol 055be9b058 Refactor to be more input/output, remove globals from parsing 2024-06-19 07:11:18 +02:00
Krzosa Karol a75c8a2e4f Init repo 2024-06-19 06:51:06 +02:00