mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
API: Refactor: Register/unregister created/destroyed tabpages
- Add the 'handle' field to `tabpage_T` - Add declare/implement functions for registering/unregistering/retrieving tabpages - Register/unregister tabpages when they are created/destroyed.
This commit is contained in:
@@ -738,6 +738,7 @@ struct diffblock_S {
|
||||
*/
|
||||
typedef struct tabpage_S tabpage_T;
|
||||
struct tabpage_S {
|
||||
uint64_t handle;
|
||||
tabpage_T *tp_next; /* next tabpage or NULL */
|
||||
frame_T *tp_topframe; /* topframe for the windows */
|
||||
win_T *tp_curwin; /* current window in this Tab page */
|
||||
|
Reference in New Issue
Block a user