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
Felix Angell
5bd152e44c
multi-line pasting mostly works
2018-04-21 17:57:00 +01:00
Felix Angell
44199a632f
added ctrl+V clipboard paste; fixed delete_line semantics
2018-04-21 17:42:18 +01:00
Felix Angell
05f1e4fcd3
moved the font loading into the config file
...
the font is now checked if it exists or not and this is thrown as an
error to the user if it does not
2018-04-21 17:25:28 +01:00
Felix Angell
264ec81fd6
dont seg fault when there is no highlighting info
2018-04-17 21:38:52 +01:00
Felix Angell
1e6fc83b89
docs and contributing files
2018-04-17 21:09:06 +01:00
Felix Angell
3a0938191f
markdown syntax highlighting (headers)
...
only added semi support for headers
2018-04-17 21:04:18 +01:00
Felix Angell
03ae13931b
go syntax highlighter keywords/types from spec
2018-04-17 20:52:33 +01:00
Felix Angell
e3ca29a5e1
Merge pull request #42 from Chyroc/add/cross-compile
2018-04-17 15:33:37 +01:00
Felix Angell
c2f1796bc2
delete line behaviour is fixed
2018-04-17 14:34:24 +01:00
Chyroc
c0710b2f5a
Merge branch 'master' into add/cross-compile
2018-04-17 21:31:05 +08:00
Felix Angell
a8b2cf1f4c
updated the readme
2018-04-17 14:23:51 +01:00
Felix Angell
c085e4e66e
languages are now written to and loaded from "PHI_CONFIG_DIR/syntax/language_name.toml"
2018-04-17 14:20:22 +01:00
Chyroc
9936b67f06
fix not any of darwin, linux or windows
2018-04-17 21:16:24 +08:00
Chyroc
b76248a81c
add cross compile
2018-04-17 21:06:29 +08:00
Felix Angell
8ece431fc4
update default configs
2018-04-17 13:50:08 +01:00
Felix Angell
09cf2a8f30
Merge pull request #41 from Chyroc/remove/DS_Store
...
remove DS_Store
2018-04-17 11:59:56 +01:00
Chyroc
5877276ddf
remove gui/untitled
2018-04-17 18:54:28 +08:00
Chyroc
f249def7e2
remove DS_Store
2018-04-17 18:38:18 +08:00
Felix Angell
eb7c5b225b
reimplemented flashing cursor; but disabled till it doesnt blink when cursor is moved.
2018-04-17 03:35:06 +01:00
Felix Angell
f44a2a0239
screenshot update
2018-04-17 03:09:01 +01:00