Tae Won Ha
c16b70db04
Update neovim
2016-07-05 18:50:48 +02:00
Tae Won Ha
07ac09e95f
Make resizing NeoVimView work
...
- live resizing is not yet activated, but can be easily done
- @autoreleasepool-block for each UI callback and for each key input is
ugly...
2016-07-05 18:49:19 +02:00
Tae Won Ha
b0e82ff005
Add resize method to XPC
2016-07-04 19:36:37 +02:00
Tae Won Ha
a5d6ca0ffd
Handle x,y-offset in the view drawing
...
- we won't resize the view in integer steps, but just draw some margins
2016-07-04 19:04:49 +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
b2b959fd4f
Add Quick/Nimble and a stub test
2016-07-03 21:37:12 +02:00
Tae Won Ha
2871424688
Update neovim
2016-07-03 18:41:43 +02:00
Tae Won Ha
2c7327e611
Add release flag to libnvim compilation
2016-07-03 17:05:16 +02:00
Tae Won Ha
23d36d83be
Revert ugly cursor color
2016-07-03 16:42:25 +02:00
Tae Won Ha
6ddaecdbdf
Update README
2016-07-03 16:38:34 +02:00
Tae Won Ha
acccca8fba
Refactor slightly
2016-07-03 15:55:11 +02:00
Tae Won Ha
4b4668ae21
Add a note on text input
2016-07-03 15:55:11 +02:00
Tae Won Ha
734b31c7e6
Make Hanja handling better(?)
2016-07-03 15:54:44 +02:00
Tae Won Ha
3d48c17fc1
Guard against too early call of selected range
2016-07-03 07:49:49 +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
84499e5900
Handle default colors better(?)
2016-06-29 21:55:39 +02:00
Tae Won Ha
47a41156f4
Turn off some logging
2016-06-29 20:11:20 +02:00
Tae Won Ha
015b12332d
Improve cursor drawing
2016-06-29 20:10:00 +02:00
Tae Won Ha
8f38a53698
Add very rudimentary cursor drawing
2016-06-29 19:54:06 +02:00
Tae Won Ha
a27a16c47b
Update neovim
2016-06-29 18:36:55 +02:00
Tae Won Ha
903f72b542
Add a comment
2016-06-29 18:32:33 +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
10ed436bd6
Update neovim
2016-06-27 18:47:06 +02:00
Tae Won Ha
9f39654e4b
Fix redraw rect when scrolling
2016-06-27 18:42:37 +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
02b338ed9a
Test NSTextInputClient using a stub view
2016-06-27 18:42:34 +02:00
Tae Won Ha
776b144afb
Update neovim
2016-06-27 18:42:24 +02:00
Tae Won Ha
a4112d4927
Remove unnec' constant
2016-06-19 21:11:03 +02:00
Tae Won Ha
5c2f4abe9d
Update neovim
2016-06-19 20:56:44 +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
edffb8956b
Use @import where appropriate
2016-06-18 23:14:49 +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
a394f9ce4a
Remove unused stuff
2016-06-15 22:59:07 +02:00
Tae Won Ha
5b05e84baa
Update neovim
2016-06-15 22:51:07 +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
79e39b8350
Remove some crashing
2016-06-14 23:50:25 +02:00
Tae Won Ha
355844ad01
Add very very rudimentary rendering of some characters
2016-06-13 18:09:34 +02:00
Tae Won Ha
1ca45e84c5
Manually memory-manage in the XPC implementation
...
- Input events are fed and processed in two different threads. We want
to be sure that our NSStrings are released only after the processing
of the event has been done.
2016-06-07 19:47:27 +02:00
Tae Won Ha
5acc58d376
Add a probe method to the XPC service
2016-06-07 18:48:59 +02:00
Tae Won Ha
872036dd66
Update README.md
2016-06-06 23:29:36 +02:00
Tae Won Ha
f8e759162a
Delete unused file
2016-06-06 23:11:02 +02:00
Tae Won Ha
103b254505
Update README.md
2016-06-06 23:00:55 +02:00
Tae Won Ha
681ee137f4
Call vim_input on the main_loop
2016-06-06 21:50:35 +02:00
Tae Won Ha
e67ade62de
Update neovim
2016-06-05 17:50:43 +02:00