Commit Graph

66 Commits

Author SHA1 Message Date
Felix Angell
ec7e6902f5 major package cleanup 2018-06-22 11:36:52 +01:00
Felix Angell
a634897283 syntaxes can now specify foreground and background; closes #39 2018-06-19 22:28:12 +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
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
edbe684306 undo and redo of text, closes #53 2018-05-16 21:52:17 +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
f725e0d48c font fixes; close buffer behaviour fixes; etc 2018-05-09 12:49:42 +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
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