Commit Graph
100 Commits
Author SHA1 Message Date
Krzosa Karol 01a0d5f05f Don't draw out of bounds line numbers 2024-07-28 14:38:12 +02:00
Krzosa Karol 0569d64cc9 Highlight line number part 2024-07-28 14:36:04 +02:00
Krzosa Karol f55f895cfd Remove tabs 2024-07-28 14:31:38 +02:00
Krzosa Karol de7f084633 Experimenting with tabs 2024-07-28 14:30:24 +02:00
Krzosa Karol 0c2683afaa Fixing stuff 2024-07-28 11:42:12 +02:00
Krzosa Karol d6b850178e Using file path rules 2024-07-28 10:39:57 +02:00
Krzosa Karol a486a09d9e Error reporting and popup, debug window 2024-07-28 10:12:18 +02:00
Krzosa Karol 07a41e0266 Using app data path, deleting config every time, improve loop 2024-07-27 22:07:58 +02:00
Krzosa Karol 052894a628 Config magic 2024-07-27 20:34:20 +02:00
Krzosa Karol 60f26ca40e Fix delete and loading lua config dynamically 2024-07-27 16:47:28 +02:00
Krzosa Karol d5e392c3bc Debug buffer, scroll highlight 2024-07-27 15:04:21 +02:00
Krzosa Karol 8b00f15710 Improve search 2024-07-27 14:14:47 +02:00
Krzosa Karol 0ebe63eff3 Misc 2024-07-27 14:10:38 +02:00
Krzosa Karol 9955181b0d Small refactor 2024-07-27 13:01:11 +02:00
Krzosa Karol 477b485a34 Replace text_editor and bring back ctrl + f, fix circle rendering pos 2024-07-27 11:38:41 +02:00
Krzosa Karol 03eece4e41 Restructure and reload font 2024-07-27 11:35:14 +02:00
Krzosa Karol a43fe1789b Ported mouse movement and conditional update 2024-07-27 09:43:46 +02:00
Krzosa Karol 1e0c5dac83 Porting mouse related events and abstraction idea 2024-07-27 08:58:52 +02:00
Krzosa Karol 680c782a56 Remove platform, small rendering improvement 2024-07-27 08:30:27 +02:00
Krzosa Karol dfe8aa56e9 Port window commands 2024-07-27 08:21:14 +02:00
Krzosa Karol 71494984de Scrolling clip and global commands 2024-07-27 07:41:15 +02:00
Krzosa Karol 8117d043aa Porting focus based features and fix rendering 2024-07-26 22:27:36 +02:00
Krzosa Karol 9d02d5ab78 Fixing scissoring 2024-07-26 21:47:23 +02:00
Krzosa Karol 7803bc87a6 Transitioning text editor to SDL 2024-07-26 17:08:14 +02:00
Krzosa Karol 27b322bf25 Transitioning text editor to SDL 2024-07-26 17:08:05 +02:00
Krzosa Karol def8b6bdc2 Opengl render and font 2024-07-26 14:47:03 +02:00
Krzosa Karol ee6df45e2d Begin move to SDL 2024-07-26 11:33:12 +02:00
Krzosa Karol a74409c3ec Optimize cursor rendering 2024-07-26 09:57:15 +02:00
Krzosa Karol 672a0b3561 Fix line number rendering 2024-07-26 08:25:42 +02:00
Krzosa Karol 48b918a551 Eval lua, fix ordering and fix caret overdraw 2024-07-26 08:09:19 +02:00
Krzosa Karol 4aa738fcc9 Tried to introduce NextActiveWindow but then we lose events like mouse press 2024-07-26 07:52:53 +02:00
Krzosa Karol 7eefa2e6c2 Fix merge carets 2024-07-26 07:37:02 +02:00
Krzosa Karol d4136ef0e3 Performance - not drawing selection outside of line range, add select all matches 2024-07-25 14:55:56 +02:00
Krzosa Karol 469cf3dd24 FindInBuffer, improve find 2024-07-25 13:50:04 +02:00
Krzosa Karol 2d60e795c0 Scrolling even when window inactive 2024-07-25 13:35:10 +02:00
Krzosa Karol 754d6cd3bd Begin search buffer 2024-07-24 17:07:10 +02:00
Krzosa Karol d1b4053205 Small improvements 2024-07-24 16:28:44 +02:00
Krzosa Karol 1cd5e71904 Improve open command 2024-07-24 16:16:57 +02:00
Krzosa Karol cb4f380313 List files and fix scrolling 2024-07-24 14:16:58 +02:00
Krzosa Karol 93e0104c1e Ctrl + Enter 2024-07-24 13:53:21 +02:00
Krzosa Karol c9aed019d5 Refactor active windows 2024-07-24 13:48:56 +02:00
Krzosa Karol 8b8229f73a Line range refactor 2024-07-24 13:23:20 +02:00
Krzosa Karol 039d2f9350 No history buffer, Active window stack 2024-07-24 13:03:52 +02:00
Krzosa Karol bb3044d168 lua improvements 2024-07-24 10:30:33 +02:00
Krzosa Karol 8dace27f56 Font size adjustment, toying with command windows and lua 2024-07-24 08:33:59 +02:00
Krzosa Karol 30932b0d7c Listing open windows, views and buffers 2024-07-24 08:02:46 +02:00
Krzosa Karol afdd3834b9 Info bar and exec bar 2024-07-24 07:30:36 +02:00
Krzosa Karol 02b63bf8d2 Improving window/view/buffer management 2024-07-24 07:12:50 +02:00
Krzosa Karol fb19abb69f Forgot management.cpp 2024-07-23 22:33:08 +02:00
Krzosa Karol 1528ecac52 Working on resource management stuff 2024-07-23 22:33:01 +02:00
Krzosa Karol 4cb892133f Only one infobar 2024-07-23 17:14:11 +02:00
Krzosa Karol 5864b060a9 Misc 2024-07-23 17:02:25 +02:00
Krzosa Karol 0ebfedbf4d Lua and better cursor movement 2024-07-23 16:49:13 +02:00
Krzosa Karol 45c6495121 Small refactor work on focus and windows 2024-07-23 14:13:03 +02:00
Krzosa Karol 24ad9464b5 Z ordering, prep for command window 2024-07-23 13:34:12 +02:00
Krzosa Karol 0f34416726 Window flags, improve mouse cursor, 2024-07-23 13:04:33 +02:00
Krzosa Karol 7249bbf92b Move globals to text_editor.h 2024-07-23 09:09:18 +02:00
Krzosa Karol 5f18779f1d Null objects 2024-07-23 09:06:39 +02:00
Krzosa Karol 740b0f217f View, window and buffer ids 2024-07-23 08:57:09 +02:00
Krzosa Karol bc4fbfd28a Initial window implementation 2024-07-22 17:16:48 +02:00
Krzosa Karol 37a0c73dc3 Prepare for adding windows 2024-07-22 16:46:41 +02:00
Krzosa Karol 53e153a696 Improve double click 2024-07-22 16:26:50 +02:00
Krzosa Karol 06082f2273 Ctrl + D 2024-07-22 15:35:22 +02:00
Krzosa Karol b1c123977d Fix line numbers 2024-07-22 15:26:39 +02:00
Krzosa Karol 535b6d00c4 Draw line numbers 2024-07-22 15:20:54 +02:00
Krzosa Karol 5594b55e5c Info bar 2024-07-22 15:05:55 +02:00
Krzosa Karol 9229135588 Improve scrollbar 2024-07-22 14:49:09 +02:00
Krzosa Karol 9f2aafb95e Improve scrollbar 2024-07-22 14:43:27 +02:00
Krzosa Karol ce20a1d940 Ctrl + A 2024-07-22 10:36:53 +02:00
Krzosa Karol c2b2c2a6ae Improve scrolling 2024-07-22 10:31:02 +02:00
Krzosa Karol b2d9688fbe Scrollbar 2024-07-22 09:59:52 +02:00
Krzosa Karol 254407e89e Clipboard 2024-07-22 08:15:40 +02:00
Krzosa Karol a5069cd148 Undo redo 2024-07-22 08:03:22 +02:00
Krzosa Karol 91d2db6116 Create cursor above, double click, render whitespace when selecting 2024-07-22 07:30:40 +02:00
Krzosa Karol 4c9366d495 Fix merge carets with mouse 2024-07-21 18:12:43 +02:00
Krzosa Karol 915620da34 Full width line highlight and commands.cpp 2024-07-21 17:47:41 +02:00
Krzosa Karol 5d3f1fcf08 Command refactor 2024-07-21 17:38:02 +02:00
Krzosa Karol 9554160edc Experimenting with key bindings 2024-07-21 15:10:54 +02:00
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