Commit Graph

191 Commits

Author SHA1 Message Date
Felix Angell
6800f56a8f started work on auto complete stuff 2018-05-06 17:43:58 +01:00
Felix Angell
b750eaf46b removed res folder; closes #32 2018-05-06 16:13:29 +01:00
Felix Angell
56c15a175a line padding closes #38 2018-05-06 15:58:49 +01:00
Felix Angell
cb2dc70fce removed test file 2018-05-06 15:28:01 +01:00
Felix Angell
2e82561a89 windows build instructions; fixes #48 2018-05-06 15:27:35 +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
c9d915a7af remove weird files 2018-05-05 20:40:37 +01:00
Felix Angell
bd8bf44da6 escape key doesnt trigger buffer input 2018-05-05 20:40:21 +01:00
Felix Angell
e585c6044a set windows default icon 2018-05-05 20:36:51 +01:00
Felix Angell
1c6deed9ae gitconfig?!; added default line gutter colour to blue 2018-05-05 20:34:51 +01:00
Felix Angell
e2ce28d153 gitignore exe phi file 2018-05-05 20:31:33 +01:00
Felix Angell
4154d009ec consola font on windows, handle carriage return 2018-05-05 20:31:14 +01:00
Felix Angell
d15c8b67ce new screenshot 2018-05-05 14:12:14 +01:00
Felix Angell
5fccad1a58 readme updates 2018-04-29 19:12:49 +01:00
Felix Angell
6d0060834b remove test file 2018-04-29 19:03:42 +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
b263501c7c gitignore binary 2018-04-22 19:17:58 +01:00
Felix Angell
898092f5ce phi-editor > phi; fix toml config 2018-04-22 18:56:47 +01:00
Felix Angell
57a53bae05 name change + disclaimers 2018-04-22 18:43:01 +01:00
Felix Angell
c5e6adb967 Merge branch 'master' of github.com:felixangell/phi-editor 2018-04-22 18:38:19 +01:00
Felix Angell
f1c4edfec4 toml stuff 2018-04-22 18:38:01 +01:00
Felix Angell
5c09f60f1e
Merge pull request #50 from matsuu/patch-1 2018-04-22 11:03:18 +01:00
MATSUU Takuto
3c16a6727e
pkg-config is required on macOS 2018-04-22 10:35:31 +09:00
Felix Angell
b654a4918d go fmt 2018-04-21 19:50:31 +01:00
Felix Angell
a669134873 remove use of currentTimeMillis for the go time.Time stuff 2018-04-21 19:37:53 +01:00
Felix Angell
73bbc2a150 force a render to get font metrics; fixes #43 2018-04-21 19:22:55 +01:00
Felix Angell
112eb553b8 golang highlight := operator 2018-04-21 19:14:04 +01:00
Felix Angell
984f8e9362 added more symbols to c and go highlighters 2018-04-21 19:11:41 +01:00
Felix Angell
fb72830c6b signficant speedup in highlighter by compiling the regex once
i thought my little lazy regex compiling caching thing worked but
apparently not and the editor was still recompiling the regular
expressions every frame... they are now compiled when the editor is
loaded instead. this is ideal since the editor will crash on a bad
config rather than encountering a highlight and crashing then.

and obviously its a lot faster too! its hard to gauge the speed increase
since im running this editor in a VM, but the fps went from 30 to 60
frames per second after doing this so that seems good to me!
2018-04-21 19:05:20 +01:00
Felix Angell
159346ab91 cleanups to lex syntax highlighter thing 2018-04-21 18:58:21 +01:00
Felix Angell
33cf82bb0c started to split things into a sep. lexer 2018-04-21 18:45:10 +01:00
Felix Angell
172a7bd777 little hack to fix some syntax highlighter inconsistencies 2018-04-21 18:09:05 +01:00