Mercurial > vim
changeset 708:7cf327ccb632
updated for version 7.0213
author | vimboss |
---|---|
date | Fri, 03 Mar 2006 22:58:45 +0000 |
parents | 111b7dcc8a17 |
children | ecee28dd16d2 |
files | runtime/doc/todo.txt src/gui_gtk_x11.c |
diffstat | 2 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- 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 Vi *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 @@ 7 When using manual folding, the undo 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.
--- 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