Felix Angell
7e4cdf11c5
added super/ctrl left/right to switch buffers; fixes #73
2018-05-06 19:59:28 +01:00
Felix Angell
b750eaf46b
removed res folder; closes #32
2018-05-06 16:13:29 +01:00
Felix Angell
1c6deed9ae
gitconfig?!; added default line gutter colour to blue
2018-05-05 20:34:51 +01:00
Felix Angell
4154d009ec
consola font on windows, handle carriage return
2018-05-05 20:31:14 +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
be01667137
added a wip command palette; removed weird complex gui system
2018-04-29 00:09:09 +01:00
Felix Angell
898092f5ce
phi-editor > phi; fix toml config
2018-04-22 18:56:47 +01:00
Felix Angell
f1c4edfec4
toml stuff
2018-04-22 18:38:01 +01:00
Felix Angell
b654a4918d
go fmt
2018-04-21 19:50:31 +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
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
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
Chyroc
c0710b2f5a
Merge branch 'master' into add/cross-compile
2018-04-17 21:31:05 +08: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
d05a74cca1
c language: directives, string literals, single line comments
2018-04-17 03:06:26 +01:00
Yasuhiro Matsumoto
c93373804d
use USERPROFILE instead of HOME for Windows
2018-04-17 09:59:46 +09:00
Felix Angell
8b3ec8dda9
you can now toggle line numbers from displaying, fixes #28
2018-04-16 19:17:45 +01:00
Felix Angell
7c4706356b
added mouse wheel scrolling + font face/size settings in toml configs
2018-04-15 19:18:01 +01:00
Felix Angell
186ad2ce2d
fixed single line comments, added case keyword
2018-04-15 17:12:58 +01:00
Felix Angell
ddcadb5ef7
more go keywords; set default conf for win/linux/mac
2018-04-14 02:15:14 +01:00
Felix Angell
9e54861667
updated screenshot; made for/if/switch/select/chan keywords in go
2018-04-14 02:13:05 +01:00
Felix Angell
0b49a015ad
simple/buggy comment highlighting
2018-04-14 01:57:01 +01:00
Felix Angell
18d4598940
go and c syntax highlighting
2018-04-14 01:40:29 +01:00
Felix Angell
55a48faa71
prototype syntax highlighter semi works!
2018-04-13 21:08:26 +01:00
Felix Angell
aa656e6b7a
always render; swap line down/up; bug fixes;
2018-04-13 20:04:10 +01:00
Felix Angell
23e74e1f16
simple scrolling + super/ctrl shortcuts now work and can be configured
...
also default configs per os
2018-04-13 17:50:10 +01:00
Felix Angell
ffa751e13c
uploaded new screenshot
2018-02-28 13:23:07 +00:00
Felix Angell
41851db6b7
simple editor commands are implemented in the preferences file
2018-02-28 00:54:59 +00:00
Felix Angell
1eca835eff
use my fork of toml, editor loads hex colours from theme
2018-02-18 23:51:04 +00:00
Felix Angell
7137385da2
nate -> phi... old imports explains some problems!!
2018-02-18 23:25:45 +00:00
Felix Angell
5ad1c514b4
Port over to use Strife, veandco/sdl2 dependency dropped! :-)
2016-12-03 05:38:33 +00:00
Felix Angell
7e95e73c29
Option to toggle hardware/software accelerated in config
2016-12-02 00:22:22 +00:00
Felix Angell
a16496fe97
Simple buffer scrolling and culling
2016-11-28 11:05:30 +00:00
Felix Angell
4fd7c32860
Configuration setting to highlight current line
2016-11-28 10:34:09 +00:00
Felix Angell
af967a37fb
Matching braces setting plus a shoddy caret width setting
2016-11-27 18:06:17 +00:00
Felix Angell
e61fc1de05
Added a default theme for the editor.
2016-11-27 17:21:03 +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
02da76691e
Match pairs setting
...
This will match {, (, and [. But not angle brackets!
2016-11-27 16:00:32 +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