Commit Graph

298 Commits

Author SHA1 Message Date
Felix Angell
03aa461dd8 Cleaned up component abstractions... added command palette that does nothing 2016-11-27 18:43:01 +00:00
Felix Angell
af967a37fb Matching braces setting plus a shoddy caret width setting 2016-11-27 18:06:17 +00:00
Felix Angell
cca2b1f017 README updates 2016-11-27 17:31:40 +00:00
Felix Angell
990d4d1352 Backspace actually removes the line rather than popping it 2016-11-27 17:29:29 +00:00
Felix Angell
e61fc1de05 Added a default theme for the editor. 2016-11-27 17:21:03 +00:00
Felix Angell
2407cf2572 Up and down arrow keys. 2016-11-27 17:14:02 +00:00
Felix Angell
462d7fb436 Insert an empty string rather than a string with a single space 2016-11-27 17:07:10 +00:00
Felix Angell
08ac0fd213 Fixed behaviour of the return splitting lines 2016-11-27 17:02:29 +00:00
Felix Angell
c015673c2b Removed TOML aliases -- it's case insensitive. Added simple theme config 2016-11-27 16:58:12 +00:00
Felix Angell
fc019c43db Invert the colour of the currently selected character. 2016-11-27 16:26:48 +00:00
Felix Angell
02da76691e Match pairs setting
This will match {, (, and [. But not angle brackets!
2016-11-27 16:00:32 +00:00
Felix Angell
556e027011 Fixed tab insertion/deletion in tabs-spaces mode. 2016-11-27 15:53:19 +00:00
Felix Angell
3244c0a5ae Cache the surfaces as well as the textures!!! 2016-11-27 15:46:27 +00:00
Felix Angell
531928b727 Aliasing configuration now acted upon 2016-11-27 15:37:52 +00:00
Felix Angell
5f03c27355 Configurations for showing/flashing the cursor now take effect. 2016-11-27 15:36:01 +00:00
Felix Angell
2dfa88edf7 Moved cursor to its own file; refactored names. 2016-11-27 15:33:21 +00:00
Felix Angell
e16da88add Re-structure the GUI component hierarchy
This is mostly cleanups to make things less repetitive and make
everything easier to work with
2016-11-27 15:28:15 +00:00
Felix Angell
b4558759a0 Attempted to get hungry backspace to work... default config now writes 2016-11-27 15:06:37 +00:00
Felix Angell
87f18894c2 Added default toml config; config settings now used; changed default
size
2016-11-27 14:07:05 +00:00
Felix Angell
be48857389 Delete current line rather than pop the last line 2016-11-26 22:12:27 +00:00
Felix Angell
0528230f57 Tab indentation with \t and spaces. Closes #2 2016-11-26 21:56:03 +00:00
Felix Angell
e2a2028cbb Updated readme to accurately reflect repository 2016-11-26 20:45:39 +00:00
Felix Angell
2315acc5b6 Cache any textures we create rather than initializing/disposing them each frame 2016-11-26 20:32:42 +00:00
Felix Angell
15b6fd0f89 Make the .nate-editor configuration directory on start
Setup a configuration directory in $HOME if it doesn't exist as well as the TOML configuration file. This avoids the program from panicing when its first started.
2016-11-26 20:00:53 +00:00
Felix Angell
7a8149b317 Merge pull request #1 from vnev/master
be mindful of your language feliks
2016-11-25 16:15:45 +00:00
Vedant
f0d0a3744e be mindful of your language feliks 2016-11-25 11:05:02 -05:00
Felix Angell
cce1aa11cb Simple column layout system for buffers 2016-11-24 10:14:43 +00:00
Felix Angell
2676becf66 Icon loading + bug fixes 2016-11-24 09:31:14 +00:00
Felix Angell
3f4769210b Bug fix 2016-11-19 16:19:01 +00:00
Felix Angell
f184523801 Quick fix for weird panic when deleting last character in rope 2016-11-15 20:30:45 -08:00
Felix Angell
961fc5bc58 Small fix for text input 2016-11-15 20:29:53 -08:00
Felix Angell
67a74cb900 Build notes 2016-11-15 20:26:29 -08:00
Felix Angell
2ac9e8c47e Fixme 2016-11-14 14:33:11 +00:00
Felix Angell
d25ba80eb6 Backspace behaviour
If we backspace at cur.x = 0 then the editor will either concat the line with the previous line, or it will pop the line
2016-11-14 11:20:31 +00:00
Felix Angell
7b85978b5d Left and right arrow keys + return keys behaviour 2016-11-14 11:01:19 +00:00
Felix Angell
225c49442d TOML config loads 2016-11-14 08:14:53 +00:00
Felix Angell
b496fe896c fmt codebase 2016-11-14 07:24:19 +00:00
Felix Angell
1ae5e9afe3 Pretty colours 2016-11-14 07:06:25 +00:00
Felix Angell
f0542586d7 Cursor flashing + stops flashing when typing 2016-11-14 06:42:17 +00:00
Felix Angell
bbf148b732 Backspace sorta works 2016-11-14 06:35:46 +00:00
Felix Angell
d3da2369b5 Graphics accelerated 2016-11-14 06:16:37 +00:00
Felix Angell
c8ad5e8173 license 2016-11-14 00:17:42 +00:00
Felix Angell
b8d10422e5 Text input + action events i.e. enter/backspace
Note that these action events aren't properly implemented yet.
2016-11-14 00:16:29 +00:00
Felix Angell
4b77bd3b53 Cursor + simple input handling 2016-11-13 23:32:44 +00:00
Felix Angell
1f8687f272 Text renders per character + simple cursor rendering 2016-11-13 23:08:01 +00:00
Felix Angell
d9b2dba327 fps limit stuff 2016-11-13 22:34:59 +00:00
Felix Angell
9f213a0665 editor -> gui, simple text rendering with rope ds 2016-11-13 22:31:21 +00:00
Felix Angell
86e47d5bbf Project structure 2016-11-13 22:10:03 +00:00