Tae Won Ha
5286f800e1
Make DrawerDev compile again
2021-12-24 13:18:35 +01:00
Tae Won Ha
4786aa94bb
Use ClosedRange instead of CountableClosedRange
2021-12-23 22:41:07 +01:00
Tae Won Ha
848017f450
Simplify closure a bit
2021-12-23 20:54:49 +01:00
Tae Won Ha
63f7d65084
Make use of automatic conversion between CGFloat and Double
2021-12-23 19:48:57 +01:00
Tae Won Ha
b671e0d60b
Ack Xcode recommendations
2021-12-23 19:45:18 +01:00
Tae Won Ha
1e9fe40f9c
Make use of automatic conversion between CGFloat and Double
2021-12-23 19:40:14 +01:00
Tae Won Ha
30b5ee7e4c
Make delegate weak
2021-12-23 14:27:12 +01:00
Tae Won Ha
226bc73c7b
Reformat
2021-12-23 14:19:40 +01:00
Tae Won Ha
d442e6021b
Add NvimViewDelegate for menu item key equivalent handling
2021-12-23 14:16:37 +01:00
Tae Won Ha
9b35ebb3be
Reformat
2021-12-23 14:04:50 +01:00
Tae Won Ha
351a08da23
Update neovim to 0.6.0
2021-12-01 19:09:59 +01:00
Tae Won Ha
f503b9e47e
GH-405 Vertically center-align text when linespacing > 1
2021-11-06 14:06:07 +01:00
Tae Won Ha
15ebbd4ee2
Merge remote-tracking branch 'origin/pr/805' into 805
...
- Did not change AttributesRunDrawer since it breaks the vertical
positioning with linespacing = 1.0.
Conflicts:
NvimView/Sources/NvimView/AttributesRunDrawer.swift
NvimView/Sources/NvimView/FontUtils.swift
2021-11-06 13:34:33 +01:00
Tae Won Ha
0065e0dd44
Merge remote-tracking branch 'origin/pr/874' into develop
2021-11-06 08:48:08 +01:00
Tae Won Ha
5972bbf6d2
Generate sources (did not produce changes)
2021-11-05 19:15:26 +01:00
Tae Won Ha
a67ad89cd7
Update SPM deps
2021-11-04 22:06:28 +01:00
solawing
65ff615dba
feat: draw insert marked text without accutally into vim
...
this commit fixes following issues:
1. use `-`, `=`, `arrow key` to select candidate. which shouldn't be
handle by vim
2. use `left`, `right` to move in marked text by word. which shouldn't
be handle by vim directly
3. though inserting marked text directly into UGrid cells, bypass vim
key mapping system, only the finall insertText be inserted into vim.
so vim map like jk to esc won't affect input method.
and when input i in normal mode when input method, I can press <CR>
to confirm it and only i will send to vim.
this is also the behaviour of mac terminal.
2021-10-31 17:27:30 +08:00
solawing
bb8b920d0c
refactor: sink _unmarkText
2021-10-31 16:09:28 +08:00
solawing
918fc44889
chore: avoid crash in xcode 13.1
2021-10-31 16:09:28 +08:00
Raphael Luba
61cd8848dc
Fix #750 : incorrect cursor color when over search highlight
2021-06-23 23:27:07 +02:00
Tae Won Ha
dd955fb4f1
Remove Xcode warnings
2021-06-18 08:57:57 +02:00
Tae Won Ha
52d2aac3e0
Adapt to RxSwift 6.2
2021-06-18 08:55:23 +02:00
Tae Won Ha
b059010f55
Adapt to RxSwift 6.2
2021-06-18 08:54:53 +02:00
Tae Won Ha
7093d96b0f
Adapt to RxSwift 6.2
2021-06-18 08:54:21 +02:00
Tae Won Ha
d558d2c4cc
Adapt to RxSwift 6.2
2021-06-18 08:53:40 +02:00
Tae Won Ha
a793be2f53
Adapt to RxSwift 6.2
2021-06-18 08:53:23 +02:00
Tae Won Ha
f4626b7255
Adapt to RxSwift 6.2
2021-06-18 08:52:29 +02:00
Tae Won Ha
507e2d6973
Adapt to RxSwift 6.2
2021-06-18 08:51:22 +02:00
Tae Won Ha
6254fa99e4
Update RxSwift to 6.2
2021-06-18 08:41:16 +02:00
Tae Won Ha
d8439d8e64
Update deps
...
- up to RxSwift
2021-06-18 08:06:38 +02:00
Tae Won Ha
0ae565be95
GH-832 Re-revert neovim launching code
2021-02-20 14:06:48 +01:00
Tae Won Ha
f06fd354da
Adapt NvimView demo app to custom tabs
2021-02-20 13:50:43 +01:00
Tae Won Ha
d1787e23da
Fix support apps
2020-12-24 22:22:49 +01:00
Tae Won Ha
e6c0e543e4
Update nimble
2020-12-24 21:43:56 +01:00
Tae Won Ha
06afc5131d
Reformat
2020-12-24 17:48:27 +01:00
Tae Won Ha
5761687559
Update neovim
2020-12-24 16:00:26 +01:00
Tae Won Ha
b719809402
WIP
2020-12-24 13:21:35 +01:00
Tae Won Ha
9754fdc7bf
Restructure a bit
2020-12-24 12:15:36 +01:00
Tae Won Ha
be2895bbe4
Update neovim
2020-12-24 10:36:24 +01:00
Tae Won Ha
2d2108e74b
Add self
2020-12-20 16:06:56 +01:00
Tae Won Ha
2812877cee
Ignore error when setting guifont at the very beginning
2020-12-20 16:05:12 +01:00
Tae Won Ha
18a9c93e68
Update neovim
2020-12-20 15:53:11 +01:00
Tae Won Ha
9ee067a0d3
Move shell code to Commons
2020-12-20 15:24:57 +01:00
René Köcher
62be8668a5
vimFontSpec(fromFont:) and RemoteOption.fromFont() don't need Optionals
2020-12-20 12:07:40 +01:00
René Köcher
872d61b713
Add font(fromVimFontSpec:) as reversal to vimFontSpec(forFont:)
2020-12-20 11:54:45 +01:00
René Köcher
18742458a6
Include suggestions by @qvacua & apply swiftformat
2020-12-20 11:50:56 +01:00
René Köcher
a1d3d26765
Report invalid fonts back to NvimServer
2020-12-19 22:06:20 +01:00
René Köcher
1ca66cadf3
Add support to report option changes to NvimServer
...
Currently this is only implemented for font changes, but can be
extended to any other option added in the future.
2020-12-19 21:31:30 +01:00
René Köcher
84eef4a830
Implement support for 'set guifont' via optionSet.
...
This adds a framework to handle options set from NvimServer
and hooks into the optionSet() RPC api endpoint in NVimView.
Currently it handles `guifont` and `guifontwide` in the Server->View
direction. Changes are also reflected in VimR's Preferences dialog.
Not yet handled:
- sending the currently configured font as `guifont` to NvimServer
- sending an error to NvimSever if the font specification is invalid
- differenciation between `guifont` and `guifontwide`
2020-12-19 18:12:54 +01:00
Tae Won Ha
2ba1aaf526
Reformat
2020-12-12 21:48:43 +01:00