Commit Graph

251 Commits

Author SHA1 Message Date
Felix Angell
fb6332f2d0 starting to fix tabs... 2018-06-09 10:01:59 +01:00
Felix Angell
27836e01b8 fixes so that it builds w/ strife api changes 2018-06-09 09:28:47 +01:00
Felix Angell
6d5a4c2610 more text selection semantic cleanups 2018-06-04 20:27:23 +01:00
Felix Angell
619bb38ae8 cleanup text selection semantics 2018-06-04 20:24:48 +01:00
Felix Angell
3c00983191 cleaned up text selection rendering 2018-06-04 20:08:37 +01:00
Felix Angell
172344ad3f fixed buffer overflow from colour change focus thing; added highlight
line col
2018-05-24 02:22:26 +01:00
Felix Angell
5da67dbe41 changed colour encoding to store as unsigned integer rather than signed
this is to reflect the changes to strife
2018-05-24 02:09:30 +01:00
Felix Angell
e6234ba706 you can now set a custom font dir 2018-05-23 20:02:51 +01:00
Felix Angell
9fa60138b3 cleanups to character colouring code 2018-05-19 13:04:57 +01:00
Felix Angell
7fbab6202e fix cursor invert to use camera offset 2018-05-19 12:58:17 +01:00
Felix Angell
ac40cc874a cursor renders under text 2018-05-19 00:03:30 +01:00
Felix Angell
15a73fa175 clicking lines now selects the correct character 2018-05-18 23:53:27 +01:00
Felix Angell
a7ce51cac2 clamp camera fixes panic when trying to scroll out of bounds 2018-05-18 23:31:24 +01:00
Felix Angell
2012c04a10 clicking in a buffer now moves the cursor to the selected line; set cursor to ibeam 2018-05-18 22:01:48 +01:00
Felix Angell
5a2f71e9ad Merge branch 'master' of github.com:felixangell/phi 2018-05-18 18:17:30 +01:00
Felix Angell
420937a402 added vsync option; these are now set in the strife configs too; vsync off by default 2018-05-18 18:17:01 +01:00
Felix Angell
9710d55307
visual updates to readme 2018-05-18 14:12:43 +01:00
Felix Angell
8e955777f4
readme update! 2018-05-18 13:59:05 +01:00
Felix Angell
378c0e0030
update readme! 2018-05-18 13:58:14 +01:00
Felix Angell
edbe684306 undo and redo of text, closes #53 2018-05-16 21:52:17 +01:00
Felix Angell
ee055fdc67
Merge pull request #84 from felixangell/piecetable
move from rope to piece table
2018-05-16 21:39:54 +01:00
Felix Angell
c20d7a61d3 fix buffer open file 2018-05-16 21:35:23 +01:00
Felix Angell
900f5e8920 removed split 2018-05-16 21:28:51 +01:00
Felix Angell
8067084340 remove use of substr, cleanup hungry backspace 2018-05-16 21:12:13 +01:00
Felix Angell
58e8ba1ad6 rope -> piece table, still a buggy wip 2018-05-16 01:57:03 +01:00
Felix Angell
df380132b3 atomic file saving, closes #27 2018-05-14 20:27:19 +01:00
Felix Angell
e0e53fa246 open file command! 2018-05-14 20:16:40 +01:00
Felix Angell
7b383606d8 added scrolling animations (but disabled for now) 2018-05-14 19:45:27 +01:00
Felix Angell
aa723f172f editor slightly handles modification sys notification
the editor will now reload a file if it has been modified outside of the editor. still a huge wip.
2018-05-14 19:18:13 +01:00
Felix Angell
e4dd07aead editor now complains about unsaved files being closed; added exit command properly 2018-05-14 18:35:23 +01:00
Felix Angell
de7def17c5 fixed behaviour of move right/left word; closes #8 2018-05-12 21:17:46 +01:00
Felix Angell
7bf1c15af8 fixed commands in command palette 2018-05-12 20:51:06 +01:00
Felix Angell
8ad459755d fixed some focus issues; change focus behaviour is now mostly sound!
in addition, the command palette shows all of the open buffers and you can switch to a buffer using the command palette.
2018-05-12 20:43:26 +01:00
Felix Angell
c20675b2a6 typo/bug fix 2018-05-12 20:12:14 +01:00
Felix Angell
a55934a3a5 current buffers meta panel is darker, closes #71 2018-05-12 20:10:28 +01:00
Felix Angell
6f893604ab fixed #78 2018-05-12 20:03:46 +01:00
Felix Angell
97eeba791f changed buffer repr. to array rather than hashmap for natural indexing of buffers 2018-05-12 19:54:41 +01:00
Felix Angell
6c0302e179 fixed split line behaviour 2018-05-12 19:20:40 +01:00
Felix Angell
b52101a470 remove magic numbers 2018-05-12 19:19:24 +01:00
Felix Angell
96cef8a0d7 added control down/up for page down/up on mac 2018-05-12 19:18:21 +01:00
Felix Angell
c610ac1a3f remove test samples and update configs for mac scrolling 2018-05-12 19:04:52 +01:00
Felix Angell
d81532c004 new screenshot with the meta bar 2018-05-11 20:06:51 +01:00
Felix Angell
f725e0d48c font fixes; close buffer behaviour fixes; etc 2018-05-09 12:49:42 +01:00
Felix Angell
bfe0073f46 command palette bug with text offset fixed; added debug mode toggled w
ctrl+f12
2018-05-09 12:32:02 +01:00
Felix Angell
e73bc28a14 remove alt 4 hack 2018-05-09 12:01:48 +01:00
Felix Angell
afe199492d fixed behaviour of the return key. 2018-05-09 11:57:56 +01:00
Felix Angell
e402b05570 round up when calculating visible lines for scroll down 2018-05-09 11:34:48 +01:00
Felix Angell
c699dfc8b7 page up/down now move cursor again 2018-05-09 11:32:41 +01:00
Felix Angell
a20070c4a5 fixed right key going to a negative offset at the end of a line 2018-05-08 12:17:04 +01:00
Felix Angell
5d9f658678 cursor now scrolls down if we leave the window bounds; closes #22 2018-05-08 12:08:21 +01:00