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
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
Felix Angell
7e56f9af56
fixed logging/shortcuts on os x
2018-05-07 09:17:25 +01:00
Felix Angell
3218885df8
line number and columns are no longer 0 indexed...
2018-05-06 20:35:35 +01:00
Felix Angell
4e03b841a8
remove pprof stuff; avoid seg fault
2018-05-06 20:17:10 +01:00
Felix Angell
7e4cdf11c5
added super/ctrl left/right to switch buffers; fixes #73
2018-05-06 19:59:28 +01:00
Felix Angell
6800f56a8f
started work on auto complete stuff
2018-05-06 17:43:58 +01:00
Felix Angell
56c15a175a
line padding closes #38
2018-05-06 15:58:49 +01:00
Felix Angell
c383c81178
hacked in a visual indicator for unsaved file; closes #65
2018-05-06 15:14:46 +01:00
Felix Angell
c03af2199f
attempted to not blink while moving... didnt work!
2018-05-06 14:53:31 +01:00
Felix Angell
a46f211c0d
goto command; closes #56
2018-05-06 14:33:13 +01:00
Felix Angell
58b7cb9d50
added meta panel to buffers with line/col info
2018-05-06 13:59:14 +01:00
Felix Angell
faa0d58d3f
handle alt f4; buffer pane over buffers
2018-05-06 13:45:17 +01:00
Felix Angell
bd8bf44da6
escape key doesnt trigger buffer input
2018-05-05 20:40:21 +01:00
Felix Angell
4154d009ec
consola font on windows, handle carriage return
2018-05-05 20:31:14 +01:00
Felix Angell
bcab1eee76
new file + open file commands; commands can take args
2018-04-29 19:03:24 +01:00
Felix Angell
ac351ec9db
command palette fixes
2018-04-29 18:32:03 +01:00
Felix Angell
d092aa78db
fix line count gutter width
2018-04-29 18:03:22 +01:00
Felix Angell
0497504406
command palette is styled
2018-04-29 17:55:42 +01:00
Felix Angell
e80e33b577
style options for the command palette
2018-04-29 17:32:45 +01:00
Felix Angell
8376e1d4eb
command palette now works for simple actions
2018-04-29 17:00:42 +01:00
Felix Angell
8c27c35353
fuzzy searching stuff for cmd suggestions
2018-04-29 01:31:41 +01:00
Felix Angell
d44801de76
only render visible characters (i.e. horizontal line culling)
2018-04-29 01:03:45 +01:00
Felix Angell
e6fa391b06
re-implemented close_buffer; fixed highlight line flickering
2018-04-29 00:54:08 +01:00
Felix Angell
445d645ab9
palette closes on esc keypress
2018-04-29 00:39:49 +01:00
Felix Angell
c561879fb6
change focus now works with ctrl+left/right
2018-04-29 00:38:26 +01:00
Felix Angell
d8fc3f0452
command palette now hides as well as clears the input
2018-04-29 00:17:03 +01:00
Felix Angell
0992e6f73e
reset buffer width so now the buffers actually render...
2018-04-29 00:12:33 +01:00
Felix Angell
be01667137
added a wip command palette; removed weird complex gui system
2018-04-29 00:09:09 +01:00
Felix Angell
fe3c3c44a9
cleanups; render re-order; wall of text test; simple selection rendering
...
selections can be created with the shift and arrow keys. note that this
does not actually do anything other than render a little box showing the
selection we've made.
also the box rendering isn't entirely accurate (mostly when you use the
up/left arrow key) as it doesnt handle negative values well yet.
2018-04-22 20:11:01 +01:00
Felix Angell
898092f5ce
phi-editor > phi; fix toml config
2018-04-22 18:56:47 +01:00