Mercurial > vim
comparison runtime/doc/eval.txt @ 18008:8ae333756614 v8.1.2000
patch 8.1.2000: plugin cannot get the current IME status
Commit: https://github.com/vim/vim/commit/a3a124627d2eb9d36e3dc3757429d87e041f8c0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 7 15:08:38 2019 +0200
patch 8.1.2000: plugin cannot get the current IME status
Problem: Plugin cannot get the current IME status.
Solution: Add the getimstatus() function. (closes https://github.com/vim/vim/issues/4904)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 Sep 2019 15:15:04 +0200 |
parents | 7a19c8d6bb9e |
children | 988e5a868b60 |
comparison
equal
deleted
inserted
replaced
18007:3558fd8f7a92 | 18008:8ae333756614 |
---|---|
2466 getfontname([{name}]) String name of font being used | 2466 getfontname([{name}]) String name of font being used |
2467 getfperm({fname}) String file permissions of file {fname} | 2467 getfperm({fname}) String file permissions of file {fname} |
2468 getfsize({fname}) Number size in bytes of file {fname} | 2468 getfsize({fname}) Number size in bytes of file {fname} |
2469 getftime({fname}) Number last modification time of file | 2469 getftime({fname}) Number last modification time of file |
2470 getftype({fname}) String description of type of file {fname} | 2470 getftype({fname}) String description of type of file {fname} |
2471 getimstatus() Number |TRUE| if the IME status is active | |
2471 getjumplist([{winnr} [, {tabnr}]]) | 2472 getjumplist([{winnr} [, {tabnr}]]) |
2472 List list of jump list items | 2473 List list of jump list items |
2473 getline({lnum}) String line {lnum} of current buffer | 2474 getline({lnum}) String line {lnum} of current buffer |
2474 getline({lnum}, {end}) List lines {lnum} to {end} of current buffer | 2475 getline({lnum}, {end}) List lines {lnum} to {end} of current buffer |
2475 getloclist({nr} [, {what}]) List list of location list items | 2476 getloclist({nr} [, {what}]) List list of location list items |
5200 directory returns "dir" instead of "link". | 5201 directory returns "dir" instead of "link". |
5201 | 5202 |
5202 Can also be used as a |method|: > | 5203 Can also be used as a |method|: > |
5203 GetFilename()->getftype() | 5204 GetFilename()->getftype() |
5204 | 5205 |
5206 getimstatus() *getimstatus()* | |
5207 The result is a Number, which is |TRUE| when the IME status is | |
5208 active. | |
5209 See 'imstatusfunc'. | |
5210 | |
5205 getjumplist([{winnr} [, {tabnr}]]) *getjumplist()* | 5211 getjumplist([{winnr} [, {tabnr}]]) *getjumplist()* |
5206 Returns the |jumplist| for the specified window. | 5212 Returns the |jumplist| for the specified window. |
5207 | 5213 |
5208 Without arguments use the current window. | 5214 Without arguments use the current window. |
5209 With {winnr} only use this window in the current tab page. | 5215 With {winnr} only use this window in the current tab page. |