Tae Won Ha
a90b16d976
GH-284 Remove unused param
2016-10-06 19:49:41 +02:00
Tae Won Ha
46b69882ef
GH-286 Add a stub file browser
2016-10-02 11:28:22 +02:00
Tae Won Ha
0f7b564667
GH-227 It compiles, it compiles
2016-09-25 17:50:33 +02:00
Tae Won Ha
89bd9e7b41
GH-275 Use default fore- and background to draw cursor
...
- draw the text in the cursor region with inverted attributes.
2016-09-15 20:42:43 +02:00
Tae Won Ha
a53073e6a0
GH-252 Use different color when drawing cursor
...
- when bg=dark, then use the foreground
2016-08-25 15:26:45 +02:00
Tae Won Ha
8c7e7b8ca6
GH-226 Import Cocoa (almost) everywhere in SwiftNeoVim
2016-08-03 21:43:05 +02:00
Tae Won Ha
7aa2875ef6
GH-221 Take zero puts into account when computing the word boundaries
2016-08-01 21:55:36 +02:00
Tae Won Ha
9b30934f77
GH-221 Improve drawing when cursor is on the cell
2016-08-01 21:34:26 +02:00
Tae Won Ha
3863fca9a4
GH-221 Refactor slightly
2016-07-31 21:16:08 +02:00
Tae Won Ha
2530472729
GH-221 Rename a method
2016-07-31 20:53:51 +02:00
Tae Won Ha
75f922d4e7
GH-221 Draw word-wise to take ligatures into account
2016-07-31 20:51:28 +02:00
Tae Won Ha
1bfc1380c3
GH-211 Implement left mouse events
2016-07-14 20:18:30 +02:00
Tae Won Ha
01cbb584be
Guard against invalid positions
2016-07-05 19:00:27 +02:00
Tae Won Ha
1948c2ea9f
Reformat
2016-07-03 22:08:14 +02:00
Tae Won Ha
e5f82261ca
Refactor slightly
2016-07-03 22:07:02 +02:00
Tae Won Ha
e685ef3581
Try to correctly render marked text
2016-07-02 18:59:23 +02:00
Tae Won Ha
1d1c46c3fc
Make hanja menu pop up
...
- Very rudimentary: since we don't use the replacement range when
setting marked text, the original hangul character won't be replaced.
- We probably should use a different mechanism for returning attributed
string: e.g. ask neovim to return the correct string...
2016-07-02 18:57:38 +02:00
Tae Won Ha
5a8fdbe9bc
Add some comments regarding two-cell-characters
2016-06-29 21:55:44 +02:00
Tae Won Ha
015b12332d
Improve cursor drawing
2016-06-29 20:10:00 +02:00
Tae Won Ha
a27a16c47b
Update neovim
2016-06-29 18:36:55 +02:00
Tae Won Ha
7358243b07
Add some support for marked text
...
- implement some of usual text-editing related selectors of NSResponder
- do not send <S-a> for A
- introduce a dispatch queue in XPC which is needed to sync all marked
stuff
2016-06-29 18:18:11 +02:00
Tae Won Ha
ec4dbeb9aa
Play around with Cocoa's text input system
2016-06-27 18:42:35 +02:00
Tae Won Ha
a4112d4927
Remove unnec' constant
2016-06-19 21:11:03 +02:00
Tae Won Ha
d5420f4b78
Use CoreText's font metric
2016-06-19 20:54:55 +02:00
Tae Won Ha
bbc0096019
Implement update fg/bg/sp
2016-06-19 20:54:47 +02:00
Tae Won Ha
c95d2c3201
Draw bold/italic/underline and correct color
2016-06-18 23:09:34 +02:00
Tae Won Ha
8e9c532b40
Minor refactoring
2016-06-16 18:36:26 +02:00
Tae Won Ha
c124f1adbb
Find out which Cells to draw in drawRect
...
- NeoVim's UI callbacks stores the screen data in the Grid and sets
appropriate rects invalid.
- drawRect() then computes which cells are invalidated and draw them.
2016-06-15 22:39:46 +02:00
Tae Won Ha
c7fe3f1dac
Add scroll for Grid
2016-06-15 20:37:02 +02:00
Tae Won Ha
355844ad01
Add very very rudimentary rendering of some characters
2016-06-13 18:09:34 +02:00