diff options
author | vimboss <devnull@localhost> | 2006-03-03 22:58:45 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2006-03-03 22:58:45 +0000 |
commit | eaaea2d0579da5f9c6e1de9da71070426467369f (patch) | |
tree | 1be5b43f29d8c6131c88f0b81e524404e41f2f38 | |
parent | 0093b4070b479a042b93e8f7d9ecb388b3013436 (diff) | |
download | vim-eaaea2d0579da5f9c6e1de9da71070426467369f.tar.gz |
updated for version 7.0213
-rw-r--r-- | runtime/doc/todo.txt | 16 | ||||
-rw-r--r-- | src/gui_gtk_x11.c | 11 |
2 files changed, 14 insertions, 13 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index ddc6b05f..199c5519 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 02 +*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,17 +30,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- -Add setpos(), opposite of getpos(). -7 Add the markclear() function to delete a mark in another buffer. Charles - Campbell (2004 Jan 9) - http://mysite.verizon.net/astronaut/vim/index.html#Patch - Implement setmark(markname, lnum [, col [, filename]]) instead? - When "lnum" is zero delete the mark. - When "filename" has no wildcards and there is no matching buffer, add - the buffer (unlisted). - -Make match() use {start} differently when using {count} argument. - Function to get and restore window position? Including topline, column offset, etc. Use dictionary to store the info? @@ -1464,7 +1453,8 @@ Folding: to implement this? - "zJ" command: add the line or fold below the fold in the fold under the cursor. -- 'foldmethod' "syntax": "fold=3": set fold level for a region. +- 'foldmethod' "syntax": "fold=3" argument: set fold level for a region or + match. - Apply a new foldlevel to a range of lines. (Steve Litt) 8 Have some way to restrict commands to not folded text. Also commands like searches. diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 8e66d33e..04f1372e 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3198,12 +3198,23 @@ gui_mch_show_tabline(int showit) if (!showit != !gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline))) { + /* Note: this may cause a resize event */ gtk_notebook_set_show_tabs(GTK_NOTEBOOK(gui.tabline), showit); update_window_manager_hints(); } } /* + * Return TRUE when tabline is displayed. + */ + int +gui_mch_showing_tabline(void) +{ + return gui.tabline != NULL + && gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline)); +} + +/* * Update the labels of the tabline. */ void |