diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:33:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-12 11:33:30 +0000 |
commit | d8b0cf1cc5231e19116cc3208b680a07f842bfe9 (patch) | |
tree | ef1ddd7a76427ea943296528bce82c73d5c34a1d /runtime | |
parent | 293ee4d421cd55f4a3c014c1c26edf02f718cc83 (diff) | |
download | vim-git-d8b0cf1cc5231e19116cc3208b680a07f842bfe9.tar.gz |
updated for version 7.0022
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 17 | ||||
-rw-r--r-- | runtime/doc/tags | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index afb43a4fd..ae2c043ad 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0aa. Last change: 2004 Oct 24 +*eval.txt* For Vim version 7.0aa. Last change: 2004 Dec 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -856,6 +856,7 @@ getcmdpos() Number return cursor position in command-line getcwd() String the current working directory getfperm( {fname}) String file permissions of file {fname} getfsize( {fname}) Number size in bytes of file {fname} +getfontname( [{name}]) String name of font being used getftime( {fname}) Number last modification time of file getftype( {fname}) String description of type of file {fname} getline( {lnum}) String line {lnum} from current buffer @@ -1633,6 +1634,20 @@ getfsize({fname}) *getfsize()* If {fname} is a directory, 0 is returned. If the file {fname} can't be found, -1 is returned. +getfontname([{name}]) *getfontname()* + Without an argument returns the name of the normal font being + used. Like what is used for the Normal highlight group + |hl-Normal|. + With an argument a check is done whether {name} is a valid + font name. If not then an empty string is returned. + Otherwise the actual font name is returned, or {name} if the + GUI does not support obtaining the real name. + Only works when the GUI is running, thus not you your vimrc or + Note that the GTK 2 GUI accepts any font name, thus checking + for a valid name does not work. + gvimrc file. Use the |GUIEnter| autocommand to use this + function just after the GUI has started. + getfperm({fname}) *getfperm()* The result is a String, which is the read, write, and execute permissions of the given file {fname}. diff --git a/runtime/doc/tags b/runtime/doc/tags index 4c020a1eb..eb84af453 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4803,6 +4803,7 @@ getcharmod() eval.txt /*getcharmod()* getcmdline() eval.txt /*getcmdline()* getcmdpos() eval.txt /*getcmdpos()* getcwd() eval.txt /*getcwd()* +getfontname() eval.txt /*getfontname()* getfperm() eval.txt /*getfperm()* getfsize() eval.txt /*getfsize()* getftime() eval.txt /*getftime()* @@ -4932,6 +4933,7 @@ hebrew hebrew.txt /*hebrew* hebrew.txt hebrew.txt /*hebrew.txt* help various.txt /*help* help-context help.txt /*help-context* +help-tags tags 1 help-translated various.txt /*help-translated* help-xterm-window various.txt /*help-xterm-window* help.txt help.txt /*help.txt* |