1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 15:25:14 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
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
b2b959fd4f
Add Quick/Nimble and a stub test 2016-07-03 21:37:12 +02:00
Tae Won Ha
acccca8fba
Refactor slightly 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
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
84499e5900
Handle default colors better(?) 2016-06-29 21:55:39 +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
9f39654e4b
Fix redraw rect when scrolling 2016-06-27 18:42:37 +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
a394f9ce4a
Remove unused stuff 2016-06-15 22:59:07 +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
681ee137f4
Call vim_input on the main_loop 2016-06-06 21:50:35 +02:00
Tae Won Ha
ab33181cc4
Use RxSwift to react to some of the UI events 2016-06-05 17:49:16 +02:00
Tae Won Ha
1459113ff1
Init the xpc with the remote UI from the main app
- Otherwise we lose some very first UI callbacks
2016-06-05 17:47:18 +02:00
Tae Won Ha
fa0ef63611
Add SwiftNeoVim framework target
- This target includes the XPC-service and will be included in the main
  app
2016-06-05 17:46:05 +02:00
Tae Won Ha
3a9d6908c3
Add HlAttrs counterpart in the main app 2016-06-04 19:49:39 +02:00
Tae Won Ha
fd90f4be0b
Add stub UI callbacks in the main app 2016-06-04 19:07:14 +02:00
Tae Won Ha
135220c963
Let the XPC talk back to the main app 2016-06-04 09:51:57 +02:00
Tae Won Ha
01b568d837
Remove the method from the XPC template 2016-06-04 08:58:13 +02:00
Tae Won Ha
b3b47668e9
Initial commit with content
- embed libnvim in an XPC-service
- send some inputs to neovim and log the UI callbacks
2016-06-03 23:43:39 +02:00