Felix Angell
b82927c31f
disabled window resize for now
2019-03-16 19:23:58 +00:00
Felix Angell
d36ac61a74
resized the command palette so that the height is relative to the font size
2019-03-16 19:19:50 +00:00
Felix Angell
55bd38f041
really simple dpi scaling for mac
2019-03-16 19:15:26 +00:00
Felix Angell
412d7dc45a
fixed command palette being rendered off centre
2019-03-02 21:16:40 +00:00
Felix Angell
26ed844536
delete some test files
2019-03-02 21:07:05 +00:00
Felix Angell
8687f612d4
command palette is now has a hand written lexer
...
this means that we can 'type check' command palette arguments, e.g. if something should be a string or not, etc.
it uses the same lexer which is used for the syntax highlighting ... let's see how long that lasts.
2019-03-02 20:54:01 +00:00
Felix Angell
1633194c22
fixed oob in command palette command processor
2018-08-09 22:25:56 +01:00
Felix Angell
877e627dcd
remove 'command ting'
2018-08-09 22:24:18 +01:00
Felix Angell
9777cb0336
fixed buffer rendering bug
...
this bug was causing the editor to crash when the command palette is
opened if there are no buffers open.
2018-08-09 22:18:17 +01:00
Felix Angell
454068ff05
readme formatting
2018-06-22 23:48:58 +01:00
Felix Angell
04f2b77429
travis build status in readme
2018-06-22 23:48:35 +01:00
Felix Angell
3b16d61b42
woops; that wont build! remove sdl2 since we dont even execute the
...
editor anyway...
2018-06-22 23:46:41 +01:00
Felix Angell
82358fbb62
fix error in piece table tests; try install later version of sdl2
2018-06-22 23:46:04 +01:00
Felix Angell
e0b55b1692
make sdl install on travis
2018-06-22 23:41:44 +01:00
Felix Angell
285614e98a
added travis for ci
2018-06-22 23:37:49 +01:00
Felix Angell
4ef2b08405
package cleanups
2018-06-22 23:36:08 +01:00
Felix Angell
ec7e6902f5
major package cleanup
2018-06-22 11:36:52 +01:00
Felix Angell
2cd7c8495e
comments and name style changes
2018-06-22 10:27:45 +01:00
Felix Angell
4fdfe4141e
naming refactors to comply with go vet
2018-06-22 10:20:55 +01:00
Felix Angell
a14d7d2842
getting started edits
2018-06-22 10:08:59 +01:00
Felix Angell
e0d546dd1e
added a little getting started page
2018-06-22 10:04:56 +01:00
Felix Angell
3713dc6300
added piectable
2018-06-22 09:43:02 +01:00
Felix Angell
c1b51df9dd
remove dialog stuff for now; updated phi to support new strife changes
2018-06-22 09:40:01 +01:00
Felix Angell
a634897283
syntaxes can now specify foreground and background; closes #39
2018-06-19 22:28:12 +01:00
Felix Angell
b942c22d3a
moved piectable into phi; file now saves w 0644
2018-06-19 22:09:53 +01:00
Felix Angell
f97faade73
Merge pull request #91 from felixangell/resize
...
the editor now handles resize events properly
2018-06-09 11:19:08 +01:00
Felix Angell
05b92f949e
move cursor render into cursor
2018-06-09 10:58:06 +01:00
Felix Angell
2c0775ad55
bounds check on moveleft
2018-06-09 10:36:45 +01:00
Felix Angell
02dc3753ac
remove manual cursor move calls
2018-06-09 10:27:09 +01:00
Felix Angell
fb6332f2d0
starting to fix tabs...
2018-06-09 10:01:59 +01:00
Felix Angell
27836e01b8
fixes so that it builds w/ strife api changes
2018-06-09 09:28:47 +01:00
Felix Angell
6d5a4c2610
more text selection semantic cleanups
2018-06-04 20:27:23 +01:00
Felix Angell
619bb38ae8
cleanup text selection semantics
2018-06-04 20:24:48 +01:00
Felix Angell
3c00983191
cleaned up text selection rendering
2018-06-04 20:08:37 +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
9fa60138b3
cleanups to character colouring code
2018-05-19 13:04:57 +01:00
Felix Angell
7fbab6202e
fix cursor invert to use camera offset
2018-05-19 12:58:17 +01:00
Felix Angell
ac40cc874a
cursor renders under text
2018-05-19 00:03:30 +01:00
Felix Angell
15a73fa175
clicking lines now selects the correct character
2018-05-18 23:53:27 +01:00
Felix Angell
a7ce51cac2
clamp camera fixes panic when trying to scroll out of bounds
2018-05-18 23:31:24 +01:00
Felix Angell
2012c04a10
clicking in a buffer now moves the cursor to the selected line; set cursor to ibeam
2018-05-18 22:01:48 +01:00
Felix Angell
5a2f71e9ad
Merge branch 'master' of github.com:felixangell/phi
2018-05-18 18:17:30 +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
9710d55307
visual updates to readme
2018-05-18 14:12:43 +01:00
Felix Angell
8e955777f4
readme update!
2018-05-18 13:59:05 +01:00
Felix Angell
378c0e0030
update readme!
2018-05-18 13:58:14 +01:00
Felix Angell
edbe684306
undo and redo of text, closes #53
2018-05-16 21:52:17 +01:00
Felix Angell
ee055fdc67
Merge pull request #84 from felixangell/piecetable
...
move from rope to piece table
2018-05-16 21:39:54 +01:00