Skip to content

Commit 7a7a758

Browse files
committed
doc: Remove references to GTK.
We don't support it.
1 parent bf7bc4d commit 7a7a758

19 files changed

+42
-264
lines changed

runtime/doc/change.txt

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -832,13 +832,13 @@ This replaces each 'E' character with a euro sign. Read more in |<Char->|.
832832
:promptf[ind] [string]
833833
Put up a Search dialog. When [string] is given, it is
834834
used as the initial search string.
835-
{only for Win32 and GTK GUI}
835+
{only for Win32 GUI}
836836

837837
*:promptr* *:promptrepl*
838838
:promptr[epl] [string]
839839
Put up a Search/Replace dialog. When [string] is
840840
given, it is used as the initial search string.
841-
{only for Win32 and GTK GUI}
841+
{only for Win32 GUI}
842842

843843

844844
4.4 Changing tabs *change-tabs*
@@ -1171,18 +1171,6 @@ See |quotestar| and |quoteplus|. When the clipboard is not available or not
11711171
working, the unnamed register is used instead. For Unix systems and Mac OS X,
11721172
see |nvim-clipboard|.
11731173

1174-
*quote_~* *quote~* *<Drop>*
1175-
The read-only "~ register stores the dropped text from the last drag'n'drop
1176-
operation. When something has been dropped onto Vim, the "~ register is
1177-
filled in and the <Drop> pseudo key is sent for notification. You can remap
1178-
this key if you want; the default action (for all modes) is to insert the
1179-
contents of the "~ register at the cursor position.
1180-
{only available when compiled with the |+dnd| feature, currently only with the
1181-
GTK GUI}
1182-
1183-
Note: The "~ register is only used when dropping plain text onto Vim.
1184-
Drag'n'drop of URI lists is handled internally.
1185-
11861174
9. Black hole register "_ *quote_*
11871175
When writing to this register, nothing happens. This can be used to delete
11881176
text without affecting the normal registers. When reading from this register,

runtime/doc/cmdline.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ followed by another Vim command:
492492
:function
493493
:global
494494
:help
495-
:helpfind
496495
:lcscope
497496
:ldo
498497
:lfdo

runtime/doc/editing.txt

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ If you want to always use ":confirm", set the 'confirm' option.
11451145
|:diffsplit|, |:diffpatch|, |:pedit|, |:redir|,
11461146
|:source|, |:update|, |:visual|, |:vsplit|,
11471147
and |:qall| if 'confirm' is set.
1148-
{only in Win32, GTK and Mac GUI}
1148+
{only in Win32 and Mac GUI}
11491149
When ":browse" is not possible you get an error
11501150
message. If the |+browse| feature is missing or the
11511151
{command} doesn't support browsing, the {command} is
@@ -1173,16 +1173,13 @@ For versions of Vim where browsing is not supported, the command is executed
11731173
unmodified.
11741174

11751175
*browsefilter*
1176-
For MS Windows and GTK, you can modify the filters that are used in the browse
1177-
dialog. By setting the g:browsefilter or b:browsefilter variables, you can
1178-
change the filters globally or locally to the buffer. The variable is set to
1179-
a string in the format "{filter label}\t{pattern};{pattern}\n" where {filter
1180-
label} is the text that appears in the "Files of Type" comboBox, and {pattern}
1181-
is the pattern which filters the filenames. Several patterns can be given,
1182-
separated by ';'.
1183-
1184-
For Motif the same format is used, but only the very first pattern is actually
1185-
used (Motif only offers one pattern, but you can edit it).
1176+
For Windows you can modify the filters that are used in the browse dialog. By
1177+
setting the g:browsefilter or b:browsefilter variables, you can change the
1178+
filters globally or locally to the buffer. The variable is set to a string in
1179+
the format "{filter label}\t{pattern};{pattern}\n" where {filter label} is the
1180+
text that appears in the "Files of Type" comboBox, and {pattern} is the
1181+
pattern which filters the filenames. Several patterns can be given, separated
1182+
by ';'.
11861183

11871184
For example, to have only Vim files in the dialog, you could use the following
11881185
command: >

runtime/doc/eval.txt

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
25632563
{default} is omitted, 1 is used.
25642564

25652565
The optional {type} argument gives the type of dialog. This
2566-
is only used for the icon of the GTK, Mac, and Win32 GUI. It
2566+
is only used for the icon of the Mac and Win32 GUI. It
25672567
can be one of these values: "Error", "Question", "Info",
25682568
"Warning" or "Generic". Only the first character is relevant.
25692569
When {type} is omitted, "Generic" is used.
@@ -3279,8 +3279,7 @@ foreground() Move the Vim window to the foreground. Useful when sent from
32793279
On Win32 systems this might not work, the OS does not always
32803280
allow a window to bring itself to the foreground. Use
32813281
|remote_foreground()| instead.
3282-
{only in the Win32 and GTK GUI versions and the
3283-
Win32 console version}
3282+
{only in the Win32 GUI and console version}
32843283

32853284

32863285
function({name}) *function()* *E700*
@@ -3528,8 +3527,6 @@ getfontname([{name}]) *getfontname()*
35283527
Only works when the GUI is running, thus not in your vimrc or
35293528
gvimrc file. Use the |GUIEnter| autocommand to use this
35303529
function just after the GUI has started.
3531-
Note that the GTK 2 GUI accepts any font name, thus checking
3532-
for a valid name does not work.
35333530

35343531
getfperm({fname}) *getfperm()*
35353532
The result is a String, which is the read, write, and execute
@@ -5213,8 +5210,7 @@ remote_foreground({server}) *remote_foreground()*
52135210
Note: This does not restore the window if it was minimized,
52145211
like foreground() does.
52155212
This function is not available in the |sandbox|.
5216-
{only in the Win32 and GTK GUI versions and the
5217-
Win32 console version}
5213+
{only in the Win32 GUI and the Win32 console version}
52185214

52195215

52205216
remote_peek({serverid} [, {retvar}]) *remote_peek()*
@@ -6980,7 +6976,6 @@ debug Compiled with "DEBUG" defined.
69806976
dialog_con Compiled with console dialog support.
69816977
dialog_gui Compiled with GUI dialog support.
69826978
digraphs Compiled with support for digraphs.
6983-
dnd Compiled with support for the "~ register |quote_~|.
69846979
eval Compiled with expression evaluation support. Always
69856980
true, of course!
69866981
ex_extra Compiled with extra Ex commands |+ex_extra|.
@@ -6998,9 +6993,6 @@ fname_case Case in file names matters (for Windows this is not
69986993
folding Compiled with |folding| support.
69996994
gettext Compiled with message translation |multi-lang|
70006995
gui Compiled with GUI enabled.
7001-
gui_gnome Compiled with Gnome support (gui_gtk is also defined).
7002-
gui_gtk Compiled with GTK+ GUI (any version).
7003-
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
70046996
gui_mac Compiled with Macintosh GUI.
70056997
gui_running Vim is running in the GUI, or it will start soon.
70066998
gui_win32 Compiled with MS Windows Win32 GUI.

runtime/doc/gui.txt

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,6 @@ The default menus have these priorities:
593593
When no or zero priority is given, 500 is used.
594594
The priority for the PopUp menu is not used.
595595

596-
The Help menu will be placed on the far right side of the menu bar on systems
597-
which support this (GTK+). For GTK+ 2, this is not done anymore
598-
because right-aligning the Help menu is now discouraged UI design.
599-
600596
You can use a priority higher than 9999, to make it go after the Help menu,
601597
but that is non-standard and is discouraged. The highest possible priority is
602598
about 32000. The lowest is 1.
@@ -665,10 +661,8 @@ level. Vim interprets the items in this menu as follows:
665661
toolbar button image. Note that the exact filename is OS-specific: For
666662
example, under Win32 the command >
667663
:amenu ToolBar.Hello :echo "hello"<CR>
668-
< would find the file 'hello.bmp'. Under GTK+/X11 it is 'Hello.xpm'. With
669-
GTK+ 2 the files 'Hello.png', 'Hello.xpm' and 'Hello.bmp' are checked for
670-
existence, and the first one found would be used.
671-
For MS-Windows and GTK+ 2 the bitmap is scaled to fit the button. For
664+
< would find the file 'hello.bmp'. Under X11 it is 'Hello.xpm'.
665+
For MS-Windows and the bitmap is scaled to fit the button. For
672666
MS-Windows a size of 18 by 18 pixels works best.
673667
For MS-Windows the bitmap should have 16 colors with the standard palette.
674668
The light grey pixels will be changed to the Window frame color and the
@@ -717,8 +711,8 @@ nr Name Normal action ~
717711
30 WinMinWidth make current window use few columns
718712

719713
*hidden-menus* *win32-hidden-menus*
720-
In the Win32 and GTK+ GUI, starting a menu name with ']' excludes that menu
721-
from the main menu bar. You must then use the |:popup| command to display it.
714+
In the Win32 GUI, starting a menu name with ']' excludes that menu from the
715+
main menu bar. You must then use the |:popup| command to display it.
722716

723717
*popup-menu*
724718
You can define the special menu "PopUp". This is the menu that is displayed
@@ -871,9 +865,8 @@ a menu item - you don't need to do a :tunmenu as well.
871865

872866
5.9 Popup Menus
873867

874-
In the Win32 and GTK+ GUI, you can cause a menu to popup at the cursor.
875-
This behaves similarly to the PopUp menus except that any menu tree can
876-
be popped up.
868+
In the Win32 GUI, you can cause a menu to popup at the cursor. This behaves
869+
similarly to the PopUp menus except that any menu tree can be popped up.
877870

878871
This command is for backwards compatibility, using it is discouraged, because
879872
it behaves in a strange way.
@@ -882,7 +875,7 @@ it behaves in a strange way.
882875
:popu[p] {name} Popup the menu {name}. The menu named must
883876
have at least one subentry, but need not
884877
appear on the menu-bar (see |hidden-menus|).
885-
{only available for Win32 and GTK GUI}
878+
{only available for Win32 GUI}
886879

887880
:popu[p]! {name} Like above, but use the position of the mouse
888881
pointer instead of the cursor.

runtime/doc/helphelp.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ command: >
184184
:!xterm -e vim +help &
185185
<
186186

187-
*:helpfind* *:helpf*
188-
:helpf[ind] Like |:help|, but use a dialog to enter the argument.
189-
Only for backwards compatibility. It now executes the
190-
ToolBar.FindHelp menu entry instead of using a builtin
191-
dialog. {only when compiled with |+GUI_GTK|}
192-
193187
*:helpt* *:helptags*
194188
*E154* *E150* *E151* *E152* *E153* *E670*
195189
:helpt[ags] [++t] {dir}

runtime/doc/index.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,6 @@ tag command action ~
12411241
|:hardcopy| :ha[rdcopy] send text to the printer
12421242
|:help| :h[elp] open a help window
12431243
|:helpclose| :helpc[lose] close one help window
1244-
|:helpfind| :helpf[ind] dialog to open a help window
12451244
|:helpgrep| :helpg[rep] like ":grep" but searches help files
12461245
|:helptags| :helpt[ags] generate help tags for a directory
12471246
|:highlight| :hi[ghlight] specify highlighting methods

runtime/doc/mbyte.txt

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ is the difficult part. It depends on the system you are using, the locale and
9797
a few other things. See the chapters on fonts: |mbyte-fonts-X11| for
9898
X-Windows and |mbyte-fonts-MSwin| for MS-Windows.
9999

100-
For GTK+ 2, you can skip most of this section. The option 'guifontset' does
101-
no longer exist. You only need to set 'guifont' and everything should "just
102-
work". If your system comes with Xft2 and fontconfig and the current font
103-
does not contain a certain glyph, a different font will be used automatically
104-
if available. The 'guifontwide' option is still supported but usually you do
105-
not need to set it. It is only necessary if the automatic font selection does
106-
not suit your needs.
107-
108100
For X11 you can set the 'guifontset' option to a list of fonts that together
109101
cover the characters that are used. Example for Korean: >
110102
@@ -484,11 +476,6 @@ For Vim you may need to set 'encoding' to "utf-8".
484476
Unfortunately, using fonts in X11 is complicated. The name of a single-byte
485477
font is a long string. For multi-byte fonts we need several of these...
486478

487-
Note: Most of this is no longer relevant for GTK+ 2. Selecting a font via
488-
its XLFD is not supported; see 'guifont' for an example of how to
489-
set the font. Do yourself a favor and ignore the |XLFD| and |xfontset|
490-
sections below.
491-
492479
First of all, Vim only accepts fixed-width fonts for displaying text. You
493480
cannot use proportionally spaced fonts. This excludes many of the available
494481
(and nicer looking) fonts. However, for menus and tooltips any font can be
@@ -791,20 +778,6 @@ For example, when you are using kinput2 as |IM-server| and sh, >
791778
export XMODIFIERS="@im=kinput2"
792779
<
793780

794-
FULLY CONTROLLED XIM
795-
796-
You can fully control XIM, like with IME of MS-Windows (see |multibyte-ime|).
797-
This is currently only available for the GTK GUI.
798-
799-
Before using fully controlled XIM, one setting is required. Set the
800-
'imactivatekey' option to the key that is used for the activation of the input
801-
method. For example, when you are using kinput2 + canna as IM Server, the
802-
activation key is probably Shift+Space: >
803-
804-
:set imactivatekey=S-space
805-
806-
See 'imactivatekey' for the format.
807-
808781
==============================================================================
809782
8. Input on MS-Windows *mbyte-IME*
810783

@@ -1142,14 +1115,12 @@ internally.
11421115

11431116
Vim has comprehensive UTF-8 support. It works well in:
11441117
- xterm with utf-8 support enabled
1145-
- Motif and GTK GUI
11461118
- MS-Windows GUI
11471119
- several other platforms
11481120

11491121
Double-width characters are supported. This works best with 'guifontwide' or
11501122
'guifontset'. When using only 'guifont' the wide characters are drawn in the
1151-
normal width and a space to fill the gap. Note that the 'guifontset' option
1152-
is no longer relevant in the GTK+ 2 GUI.
1123+
normal width and a space to fill the gap.
11531124

11541125
*bom-bytes*
11551126
When reading a file a BOM (Byte Order Mark) can be used to recognize the
@@ -1219,8 +1190,6 @@ doesn't always work. See the system specific remarks below, and 'langmenu'.
12191190

12201191
USING UTF-8 IN X-Windows *utf-8-in-xwindows*
12211192

1222-
Note: This section does not apply to the GTK+ 2 GUI.
1223-
12241193
You need to specify a font to be used. For double-wide characters another
12251194
font is required, which is exactly twice as wide. There are three ways to do
12261195
this:

runtime/doc/message.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,6 @@ You have used an ":unabbreviate" command with an argument which is not an
401401
existing abbreviation. All variations of this command give the same message:
402402
":cunabbrev", ":iunabbrev", etc. Check for trailing white space.
403403

404-
>
405-
/dev/dsp: No such file or directory
406-
407-
Only given for GTK GUI with Gnome support. Gnome tries to use the audio
408-
device and it isn't present. You can ignore this error.
409-
410404
*E31* >
411405
No such mapping
412406

0 commit comments

Comments
 (0)