Commit Graph
100 Commits
Author SHA1 Message Date
Krzosa Karol 331f75c7ab Address sanitizer 2024-08-05 10:44:43 +02:00
Krzosa Karol 55465ad6de Fix memory issues because of pointer to item in dynamic array, add clang-cl, add address sanitizer stuff 2024-08-05 10:44:00 +02:00
Krzosa Karol 10f0d7dca2 Add titlebar windows everywhere and make them selectable even in disappearing windows 2024-08-05 08:37:46 +02:00
Krzosa Karol c9aabdec68 Experimenting with execution 2024-08-05 08:25:33 +02:00
Krzosa Karol da1def101b Highlight exec word 2024-08-05 07:29:02 +02:00
Krzosa Karol 4d22995ea3 Fix line number matching bug 2024-08-05 07:19:38 +02:00
Krzosa Karol d3b89d22fb Add some external libs to source tree 2024-08-05 07:13:04 +02:00
Krzosa Karol 9215205aba Load lua functions from an array 2024-08-05 07:12:52 +02:00
Krzosa Karol 7fc071154f Small Open improvements 2024-08-04 14:49:02 +02:00
Krzosa Karol e3c1bcb56e Fix wrong selection after cut 2024-08-04 14:25:07 +02:00
Krzosa Karol 7e35e0cbed Misc 2024-08-04 14:22:42 +02:00
Krzosa Karol d59a8d9c8b Mouse rewrite 2024-08-04 14:14:15 +02:00
Krzosa Karol 605f3aa68d Mouse rewrite 2024-08-04 14:08:46 +02:00
Krzosa Karol c6a415f642 Mouse rewrite 2024-08-04 14:00:42 +02:00
Krzosa Karol edff7a4267 Mouse rewrite 2024-08-04 13:37:05 +02:00
Krzosa Karol 48bbef0b10 Before mouse rewrite 2024-08-04 11:00:25 +02:00
Krzosa Karol b267000394 Delete indent in multiples of indent size 2024-08-04 10:40:03 +02:00
Krzosa Karol c3bd96d5d6 Move back mouse stuff to window 2024-08-04 10:19:43 +02:00
Krzosa Karol 28dbac4a35 Ctrl + Q Alt + Q 2024-08-04 10:15:09 +02:00
Krzosa Karol 22dc4be100 Go to last bread crumb but mouse is bugging 2024-08-04 10:07:36 +02:00
Krzosa Karol ffb38664b8 Fix GetWordEnd type of functions to make sure range.max is past the last index even on buffer end 2024-08-04 08:54:08 +02:00
Krzosa Karol 3f16888fe0 Home + left stops at indent 2024-08-04 08:34:09 +02:00
Krzosa Karol 2b5f441e92 Indented new line 2024-08-04 08:28:42 +02:00
Krzosa Karol e761761108 Improve load 2024-08-04 08:09:07 +02:00
Krzosa Karol 324e5e1ea1 Fixing ActiveWindow switching, actual happens switch after event is handled 2024-08-04 08:01:25 +02:00
Krzosa Karol cc04fec1de Command window opens files and move fuzzy search to view 2024-08-04 07:55:49 +02:00
Krzosa Karol b68b80f317 Movement with new semantics fully completed 2024-08-04 07:35:55 +02:00
Krzosa Karol cfad821e8e Command_Move down 2024-08-04 07:10:36 +02:00
Krzosa Karol 815e3c9670 Work on Open 2024-08-03 19:11:36 +02:00
Krzosa Karol 0c4dc62170 EncloseLoadWord 2024-08-03 15:50:55 +02:00
Krzosa Karol 7655ece178 Implement a lot of position moving functions 2024-08-03 12:58:53 +02:00
Krzosa Karol 22899c2523 Add kill selected lines 2024-08-03 10:47:12 +02:00
Krzosa Karol 7f85f8348e Trim whitespace on save and skip lines with cursor 2024-08-03 10:30:35 +02:00
Krzosa Karol ee863e3b09 MoveOnWhitespaceBoundaryVertical 2024-08-03 10:14:22 +02:00
Krzosa Karol 1ebe8d9929 buffer_ops.cpp unify MoveOnWhitespaceBoundary 2024-08-03 10:05:43 +02:00
Krzosa Karol 6c975b98a1 Underline enclose word of main cursor and fix Enclose word 2024-08-03 08:45:49 +02:00
Krzosa Karol e4a248bb60 Fix wrong cursor on line numbers and scroll 2024-08-03 08:27:42 +02:00
Krzosa Karol d382735b80 Fix mouse in full-screen scrolling on edge of monitor 2024-08-03 08:21:25 +02:00
Krzosa Karol a42a4e435d Fixed mouse 2024-08-03 08:05:08 +02:00
Krzosa Karol f79fce83ca Update todo, add indent size option 2024-08-03 07:26:37 +02:00
Krzosa Karol 4c7f6340d6 Add Trim trailing whitespace 2024-08-02 21:52:44 +02:00
Krzosa Karol f3059ec8ea Shift Mouse Press works now 2024-08-02 21:38:12 +02:00
Krzosa Karol 4f12887a91 Fix offseting carets after edit without killing selection, add dedent 2024-08-02 21:30:12 +02:00
Krzosa Karol 03b6b80568 Indent selected lines 2024-08-02 21:16:46 +02:00
Krzosa Karol cbf1cb8c4a Redesign lua reloading and other generation stuff 2024-08-02 20:42:02 +02:00
Krzosa Karol 7fc8e6e8bb Search now has title bar, title bars now have history 2024-08-02 14:51:40 +02:00
Krzosa Karol 48dc808dcb Improve command window 2024-08-02 12:49:03 +02:00
Krzosa Karol 95dc31be91 Fix focus on console buffer and console buffer not drawing 2024-08-02 12:16:08 +02:00
Krzosa Karol 55223b763a Fixing small bugs and add console window 2024-08-02 12:03:51 +02:00
Krzosa Karol cff301499f SDL passthrough hint and default size 2024-08-02 07:51:47 +02:00
Krzosa Karol 4cdb8a986a Basic splitting, column concept 2024-08-02 07:43:33 +02:00
Krzosa Karol 0ae0c03775 Fix a bug 2024-08-01 16:47:44 +02:00
Krzosa Karol d6378922cf Remove dependence on FrameID 2024-08-01 16:44:58 +02:00
Krzosa Karol 6ce5fd59a3 New event loop setup 2024-08-01 16:28:10 +02:00
Krzosa Karol b93cdd8f4c Title bar adjust looks 2024-08-01 08:20:58 +02:00
Krzosa Karol cadf7742ab Add title bar windows 2024-08-01 08:07:13 +02:00
Krzosa Karol 5f8021c570 Improve font rendering 2024-08-01 08:06:57 +02:00
Krzosa Karol 1b0d0520bc Append to end of console 2024-07-31 07:37:56 +02:00
Krzosa Karol be99b0aabb Editing infobar applies changes to buffer 2024-07-31 07:32:42 +02:00
Krzosa Karol 2ab1917b73 Update todo 2024-07-31 06:39:33 +02:00
Krzosa Karol 111781dc71 SetActiveView 2024-07-30 07:31:51 +02:00
Krzosa Karol 7df09a9ebd Implement circular array 2024-07-30 07:27:05 +02:00
Krzosa Karol 7b13dff29c Remove window view children 2024-07-30 06:56:54 +02:00
Krzosa Karol c48abbf5c9 Don't draw carets when inactive, todo update 2024-07-28 21:43:33 +02:00
Krzosa Karol 12b459507a Fix memory corruption 2024-07-28 20:49:40 +02:00
Krzosa Karol 77a6cc5e53 Improve alignment of infobar, set buffer name in window title 2024-07-28 15:16:12 +02:00
Krzosa Karol 978d2d603a Add xwheel 2024-07-28 14:49:46 +02:00
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