Tae Won Ha
4b3e756e0f
GH-232 Reformat
2016-08-21 20:00:29 +02:00
Tae Won Ha
a236b2c16a
GH-232 Launch neovim synchronously.
...
- The agent waits till neovim has finished launching. This makes many
things easier...
2016-08-21 18:43:21 +02:00
Tae Won Ha
85d17cfb73
GH-255 Add Save and Save As menu items
2016-08-20 19:02:16 +02:00
Tae Won Ha
918c743c89
GH-257 Let neovim clean up when using Cmd-Q
...
- Refactor NeoVimView slightly
2016-08-20 16:59:30 +02:00
Tae Won Ha
49cf51077c
GH-229 Send dirty status when changed to the UI
2016-08-18 23:11:33 +02:00
Tae Won Ha
07a16e6d99
GH-243 Set $PATH when launching neovim
2016-08-18 17:40:41 +02:00
Tae Won Ha
0d6d804925
GH-253 Improve cursor rendering
...
- Tried to minimize the background filling by only filling the cursor
rects, but it did not work. Dunno why...
2016-08-16 21:52:36 +02:00
Tae Won Ha
6c9e6ff612
GH-225 Display cell size when resizing
2016-08-15 21:53:40 +02:00
Tae Won Ha
53ee7612d1
User user's monospace font by default
2016-08-15 21:02:35 +02:00
Tae Won Ha
ee8f4fdc06
GH-252 Update cursor when putting
2016-08-15 20:30:44 +02:00
Tae Won Ha
4cfb644a0e
GH-248 Deactivate some logs
2016-08-12 23:44:16 +02:00
Tae Won Ha
534a0077e1
GH-248 Close the current tab instead of always closing the whole window
2016-08-12 23:07:16 +02:00
Tae Won Ha
a7716c5c7e
GH-247 Clean up swap files
...
- Cleaning the swap files are done by `ml_close_all()` in `mch_exit()`
and now we call it before stopping UI in neovim.
- When all main windows are closed we quit. Using Observable here, but
it's messy...
2016-08-12 19:37:03 +02:00
Tae Won Ha
7871eddd63
GH-228 Refactor open and open in new tab
2016-08-12 14:57:39 +02:00
Tae Won Ha
b84e24a2d5
GH-228 Open when drag & dropping
2016-08-12 14:57:35 +02:00
Tae Won Ha
ecc63fbbfe
GH-228 Open files using escaped file name
...
- Let NeoVim escape the file names.
2016-08-12 10:51:44 +02:00
Tae Won Ha
d1676d38f8
GH-228 Typo
2016-08-11 22:52:36 +02:00
Tae Won Ha
179bc3e03e
GH-228 Add external parameter name
2016-08-11 22:50:44 +02:00
Tae Won Ha
6e723ddeeb
GH-228 Add open
2016-08-11 22:37:41 +02:00
Tae Won Ha
8de82c2d30
GH-228 Add newTab and openInNewTab
2016-08-11 21:19:03 +02:00
Tae Won Ha
d56972966c
GH-234 Simplify a bit
2016-08-09 18:50:35 +02:00
Tae Won Ha
2118542031
GH-234 Implement other edit menu items
...
- Sync Mode with ui.c
- Refactor cut/copy/paste
2016-08-09 18:38:49 +02:00
Tae Won Ha
95e5c22052
GH-214 Improve background drawing
...
- draw only when not equal to the default background
- use the foreground color when drawing the cursor
2016-08-07 18:14:02 +02:00
Tae Won Ha
efc3ef4c3b
GH-214 When not in Commandline mode, draw the screenCursor and not the put-cursor.
2016-08-07 16:15:33 +02:00
Tae Won Ha
9885505a68
GH-226 Enable or disable cut/copy/paste menu items
2016-08-04 23:34:09 +02:00
Tae Won Ha
74f5989ec3
GH-226 Comment out a log msg
2016-08-04 23:19:31 +02:00
Tae Won Ha
ce18e5cdee
GH-226 Implement cut/copy/paste
...
- cursor drawing is not yet correct
2016-08-04 23:13:40 +02:00
Tae Won Ha
dcb31e895c
GH-226 Reformat
2016-08-03 22:33:33 +02:00
Tae Won Ha
972d04f0f5
GH-226 Reformat
2016-08-03 21:35:24 +02:00
Tae Won Ha
729ba7429a
GH-226 Add Mode enum and use it
2016-08-03 21:34:39 +02:00
Tae Won Ha
18bc493ec4
GH-221 Refactor slightly
2016-08-01 21:57:06 +02:00
Tae Won Ha
d9a5e907e0
GH-221 Fix cursor drawing in the command area
2016-08-01 21:55:41 +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
6bdfb5ed8c
GH-221 Use bounds and take offsets into account when computing Region from a CGRect
2016-08-01 21:34:22 +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
083d8618fa
GH-221 Add useLigatures flag and use it in the TextDrawer
2016-07-30 18:31:33 +02:00
Tae Won Ha
db4b7c6bee
Reformat and refactor slightly
2016-07-30 09:49:39 +02:00
Tae Won Ha
12fe0daa4b
GH-223 When pinching use a proxy image
2016-07-29 22:23:43 +02:00
Tae Won Ha
da0720f169
GH-223 Add rudimentary pinch support
2016-07-29 18:25:32 +02:00
Tae Won Ha
c967a912da
GH-224 Check null for set title and set icon
2016-07-28 22:14:27 +02:00
Tae Won Ha
9f40b738f0
GH-222 Add some font related menu items
2016-07-28 19:37:39 +02:00
Tae Won Ha
3ae8a1d4c2
GH-213 Handle initial font setting
2016-07-27 00:04:31 +02:00
Tae Won Ha
4b4ccd13b3
GH-218 Add hasDirtyDocs()
...
- Use it to determine whether to close the window or not.
2016-07-18 20:16:56 +02:00
Tae Won Ha
e51c823b17
GH-216 Get rid of almost all cleanUp() methods
...
- We cannot get rid of -cleanUp of NeoVimAgent since -dealloc does not
get called unless the run loop has been stopped.
2016-07-17 15:56:36 +02:00
Tae Won Ha
6a66cb877c
GH-216: Implement the stop UI callback
...
- There was a leak of NeoVimAgent because the thread where the we ran a
CFRunLoop never stopped. We now stop the run loop explicitly.
2016-07-17 15:49:34 +02:00
Tae Won Ha
b02c0b4c87
GH-215 Refactor slightly
...
- play with some constants
2016-07-16 18:49:19 +02:00
Tae Won Ha
a06c1ca4f6
GH-215 Use one file for NeoVimView
...
- This way we can use more `private` properties.
2016-07-16 18:49:14 +02:00
Tae Won Ha
b6a1d21912
GH-215 Support trackpad scrolling
...
- We use some heuristics to make the scrolling on trackpad kind of ok...
- Scrolling using the scrollwheel of a mouse is probably broken.
2016-07-15 19:50:35 +02:00
Tae Won Ha
1bfc1380c3
GH-211 Implement left mouse events
2016-07-14 20:18:30 +02:00