Permalink
Browse files

updated for version 7.0003

  • Loading branch information...
1 parent 18d8b2d commit 5c3784fc4549019655a8ab9cb858ee80120850d0 vimboss committed Jun 30, 2004
Showing with 15,741 additions and 1,074 deletions.
  1. +15 −2 Filelist
  2. BIN emx.dll
  3. BIN emxlibcs.dll
  4. +44 −0 runtime/KVim.desktop
  5. +18 −2 runtime/doc/autocmd.txt
  6. +9 −1 runtime/doc/eval.txt
  7. +8 −8 runtime/doc/gui.txt
  8. +66 −5 runtime/doc/gui_x11.txt
  9. +8 −8 runtime/doc/options.txt
  10. +7 −1 runtime/doc/os_amiga.txt
  11. +103 −14 runtime/doc/pi_netrw.txt
  12. +6 −5 runtime/doc/repeat.txt
  13. +30 −3 runtime/doc/tags
  14. +27 −29 runtime/doc/todo.txt
  15. +4 −4 runtime/doc/usr_27.txt
  16. +24 −1 runtime/doc/version7.txt
  17. +2 −1 runtime/filetype.vim
  18. +11 −10 runtime/ftplugin/aspvbs.vim
  19. BIN runtime/hi16-action-make.png
  20. BIN runtime/hi22-action-make.png
  21. +9,314 −0 runtime/kde-tips
  22. BIN runtime/kvim32x32.png
  23. BIN runtime/kvim48x48.png
  24. BIN runtime/kvim64x64.png
  25. +2 −2 runtime/menu.vim
  26. +26 −0 runtime/plugin/NetrwFileHandlers.vim
  27. +360 −173 runtime/plugin/netrw.vim
  28. +14 −7 runtime/syntax/netrwlist.vim
  29. +404 −242 runtime/tutor/tutor
  30. +8 −5 src/INSTALL
  31. +101 −0 src/INSTALLkde.txt
  32. +115 −4 src/Makefile
  33. +861 −466 src/auto/configure
  34. +3 −0 src/config.h.in
  35. +2 −0 src/config.mk.in
  36. +255 −3 src/configure.in
  37. +30 −0 src/edit.c
  38. +4 −0 src/eval.c
  39. +7 −1 src/ex_cmds2.c
  40. +15 −7 src/ex_docmd.c
  41. +11 −7 src/feature.h
  42. +3 −0 src/fileio.c
  43. +9 −1 src/globals.h
  44. +18 −15 src/gui.c
  45. +39 −4 src/gui.h
  46. +587 −0 src/gui_kde.cc
  47. +1,396 −0 src/gui_kde_widget.cc
  48. +234 −0 src/gui_kde_widget.h
  49. +1,307 −0 src/gui_kde_x11.cc
  50. +19 −0 src/kvim_iface.h
  51. +15 −4 src/main.c
  52. +15 −2 src/mbyte.c
  53. +5 −4 src/menu.c
  54. +1 −1 src/misc1.c
  55. +2 −2 src/misc2.c
  56. +2 −2 src/normal.c
  57. +5 −5 src/option.c
  58. +3 −3 src/option.h
  59. +27 −6 src/os_mswin.c
  60. +13 −2 src/os_unix.c
  61. +6 −0 src/os_unixx.h
  62. +5 −1 src/proto.h
  63. +19 −0 src/proto/gui_kde.pro
  64. +62 −0 src/proto/gui_kde_x11.pro
  65. +2 −0 src/proto/misc2.pro
  66. +2 −0 src/proto/os_mswin.pro
  67. +2 −2 src/screen.c
  68. +3 −0 src/structs.h
  69. +3 −3 src/ui.c
  70. +4 −0 src/version.c
  71. +2 −2 src/version.h
  72. +17 −4 src/vim.h
View
@@ -130,6 +130,7 @@ SRC_UNIX = \
pixmaps/gen-inline-pixbufs.sh \
pixmaps/stock_icons.h \
src/INSTALL \
+ src/INSTALLkde.txt \
src/Makefile \
src/auto/configure \
src/config.aap.in \
@@ -146,6 +147,11 @@ SRC_UNIX = \
src/gui_gtk_f.c \
src/gui_gtk_f.h \
src/gui_gtk_x11.c \
+ src/gui_kde.cc \
+ src/gui_kde_widget.cc \
+ src/gui_kde_widget.h \
+ src/gui_kde_x11.cc \
+ src/kvim_iface.h \
src/gui_motif.c \
src/gui_x11.c \
src/hangulin.c \
@@ -164,6 +170,8 @@ SRC_UNIX = \
src/proto/gui_athena.pro \
src/proto/gui_gtk.pro \
src/proto/gui_gtk_x11.pro \
+ src/proto/gui_kde.pro \
+ src/proto/gui_kde_x11.pro \
src/proto/gui_motif.pro \
src/proto/gui_x11.pro \
src/proto/hangulin.pro \
@@ -504,6 +512,13 @@ RT_SCRIPTS = \
# Unix runtime
RT_UNIX = \
README_unix.txt \
+ runtime/KVim.desktop \
+ runtime/hi16-action-make.png \
+ runtime/hi22-action-make.png \
+ runtime/kde-tips \
+ runtime/kvim32x32.png \
+ runtime/kvim48x48.png \
+ runtime/kvim64x64.png \
runtime/vim16x16.png \
runtime/vim16x16.xpm \
runtime/vim32x32.png \
@@ -630,8 +645,6 @@ EXTRA = \
src/tee/Makefile* \
src/tee/tee.c \
csdpmi4b.zip \
- emx.dll \
- emxlibcs.dll \
# generic language files
LANG_GEN = \
View
BIN emx.dll
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,44 @@
+# KDE Config File
+[Desktop Entry]
+Type=Application
+Exec=kvim -f %F
+Icon=kvim
+MiniIcon=kvim
+DocPath=kvim/index.html
+Comment=
+Comment[xx]=xx
+Terminal=0
+Name=KVim
+Name[eo]=VIM-fasado
+Name[sv]=Kvim
+Name[xx]=xx
+Comment=Text Editor
+Comment[ar]=محرر نصوص
+Comment[bg]=Текст Редактор
+Comment[de]=Texteditor
+Comment[el]=Διορθωτής Κειμένου
+Comment[eo]=Tekstredaktilo
+Comment[et]=Tekstiredaktor
+Comment[eu]=Testu Editorea
+Comment[fi]=Tekstieditori
+Comment[he]=עורך טקסט
+Comment[is]=Textaritill
+Comment[ja]=テキストエディタ
+Comment[lt]=Teksto redaktorius
+Comment[mt]=Editur tat-test
+Comment[pt_BR]=Editor de Texto
+Comment[ro]=Editor de text
+Comment[ru]=редактор
+Comment[sk]=Textový editor
+Comment[sl]=Urejevalnik besedil
+Comment[ta]=¯¨Ã ¦¾¡ÌôÀ¡Ç÷
+Comment[tr]=Metin Düzenleyici
+Comment[uk]=Редактор текстів
+Comment[vi]=Trình soạn văn bản
+Comment[xx]=xx
+Comment[zh_CN]=文本编辑器
+Comment[zh_TW]=文字編輯器
+MimeType=application/mathml+xml;application/xhtml+xml;application/x-perl;application/x-python;application/x-shellscript;audio/x-mpegurl;audio/x-scpls;image/svg+xml;message/news;message/rfc822;text/calendar;text/css;text/english;text/html;text/mrml;text/plain;text/rdf;text/rss;text/rtf;text/sgml;text/vnd.wap.wml;text/x-adasrc;text/x-bibtex;text/x-chdr;text/x-c++hdr;text/x-csrc;text/x-c++src;text/x-csv;text/x-diff;text/x-java;text/x-katefilelist;text/x-latex;text/x-log;text/x-lyx;text/x-makefile;text/xmcd;text/xml;text/x-moc;text/x-mswinurl;text/x-objcsrc;text/x-pascal;text/x-perl;text/x-python;text/x-tcl;text/x-tex;text/x-vcalendar;text/x-vcard;text/x-xslfo;text/x-xslt
+X-KDE-StartupNotify=true
+X-KDE-AuthorizeAction=shell access
+
View
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Apr 20
+*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -304,7 +304,8 @@ FocusGained When Vim got input focus. Only for the GUI
*FocusLost*
FocusLost When Vim lost input focus. Only for the GUI
version and a few console versions where this
- can be detected.
+ can be detected. May also happen when a
+ dialog pops up.
*FuncUndefined*
FuncUndefined When a user function is used but it isn't
defined. Useful for defining a function only
@@ -467,6 +468,21 @@ VimLeave Before exiting Vim, just after writing the
*EncodingChanged*
EncodingChanged Fires off when the 'encoding' option is
changed. Useful to set up fonts, for example.
+ *InsertEnter*
+InsertEnter When starting Insert mode. Also for Replace
+ mode and Virtual Replace mode. The
+ |v:insertmode| variable indicates the mode.
+ Be careful not to move the cursor or do
+ anything else that the user does not expect.
+ *InsertChange*
+InsertChange When typing <Insert> while in Insert or
+ Replace mode. The |v:insertmode| variable
+ indicates the new mode.
+ Be careful not to move the cursor or do
+ anything else that the user does not expect.
+ *InsertLeave*
+InsertLeave When leaving Insert mode. Also when using
+ CTRL-O |i_CTRL-O|.
*FileEncoding*
FileEncoding Obsolete. It still works and is equivalent
to |EncodingChanged|.
View
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
+*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -679,6 +679,13 @@ v:foldend Used for 'foldtext': last line of closed fold.
v:foldstart Used for 'foldtext': first line of closed fold.
Read-only. |fold-foldtext|
+ *v:insertmode* *insertmode-variable*
+v:insertmode Used for the |InsertEnter| and |InsertChange| autocommand
+ events. Values:
+ i Insert mode
+ r Replace mode
+ v Virtual Replace mode
+
*v:lang* *lang-variable*
v:lang The current locale setting for messages of the runtime
environment. This allows Vim scripts to be aware of the
@@ -2765,6 +2772,7 @@ gui_athena Compiled with Athena GUI.
gui_beos Compiled with BeOS GUI.
gui_gtk Compiled with GTK+ GUI (any version).
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
+gui_kde Compiled with KDE GUI |KVim|
gui_mac Compiled with Macintosh GUI.
gui_motif Compiled with Motif GUI.
gui_photon Compiled with Photon GUI.
View
@@ -25,8 +25,8 @@ Other GUI documentation:
First you must make sure you actually have a version of Vim with the GUI code
included. You can check this with the ":version" command, it should include
-"+GUI_Athena", "+GUI_BeOS", "+GUI_GTK", "+GUI_Motif" or "MS-Windows ... bit
-GUI version".
+"+GUI_Athena", "+GUI_BeOS", "+GUI_GTK", "+GUI_KDE", "+GUI_Motif" or
+"MS-Windows ... bit GUI version".
How to start the GUI depends on the system used. Mostly you can run the
GUI version of Vim with:
@@ -94,8 +94,8 @@ There are a number of options which only have meaning in the GUI version of
Vim. These are 'guicursor', 'guifont', 'guipty' and 'guioptions'. They are
documented in |options.txt| with all the other options.
-If using the Motif or Athena version of the GUI (but not for the GTK+ or Win32
-version), a number of X resources are available. See |gui-resources|.
+If using the Motif or Athena version of the GUI (but not for the KDE, GTK+ or
+Win32 version), a number of X resources are available. See |gui-resources|.
Another way to set the colors for different occasions is with highlight
groups. The "Normal" group is used to set the background and foreground
@@ -479,7 +479,7 @@ a menu entry. Hit <Enter> to execute it. Hit <Esc> if you want to cancel.
This does require the |+menu| feature enabled at compile time.
*tear-off-menus*
-GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
+KDE, GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
pop-up menus that are present all the time. If the resizing does not work
correctly, this may be caused by using something like "Vim*geometry" in the
defaults. Use "Vim.geometry" instead.
@@ -646,8 +646,8 @@ because the item will never be selected. Use a single colon to keep it
simple.
*gui-toolbar*
-The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11) and
-Photon GUI. It should turn up in other GUIs in due course. The default
+The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11),
+KDE and Photon GUI. It should turn up in other GUIs in due course. The default
toolbar is setup in menu.vim.
The display of the toolbar is controlled by the 'guioptions' letter 'T'. You
can thus have menu & toolbar together, or either on its own, or neither.
@@ -735,7 +735,7 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
to display it.
*popup-menu*
-In the Win32, GTK+, Motif, Athena and Photon GUI, you can define the special
+In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the special
menu "PopUp". This is the menu that is displayed when the right mouse button
is pressed, if 'mousemodel' is set to popup or popup_setpos.
View
@@ -12,8 +12,9 @@ Vim's Graphical User Interface *gui-x11* *GUI-X11*
4. Various |gui-x11-various|
5. GTK version |gui-gtk|
6. GNOME version |gui-gnome|
-7. Compiling |gui-x11-compiling|
-8. X11 selection mechanism |x11-selection|
+7. KDE version |gui-kde|
+8. Compiling |gui-x11-compiling|
+9. X11 selection mechanism |x11-selection|
Other relevant documentation:
|gui.txt| For generic items of the GUI.
@@ -59,7 +60,7 @@ flag in 'guioptions'. |-f|.
==============================================================================
2. GUI Resources *gui-resources* *.Xdefaults*
-If using the Motif or Athena version of the GUI (not for the GTK+ or Win32
+If using the Motif or Athena version of the GUI (not for the KDE, GTK+ or Win32
version), a number of X resources are available. You should use Vim's class
"Vim" when setting these. They are as follows:
@@ -434,7 +435,61 @@ the WM to identify the window by restoring the window role (using the |--role|
command line argument).
==============================================================================
-7. Compiling *gui-x11-compiling*
+7. KDE version *gui-kde* *KDE* *KVim*
+
+The KDE version of Vim works with KDE 2.x and KDE 3.x.
+KVim (name code for gui-kde) does not use traditional X settings for its
+configuration.
+Most important difference is the font handling, KVim uses QFont to display the
+text. To set your font use the following syntax :
+>
+ :set guifont=Fixed\ [Misc]/10/-1/5/50/0/0/0/1/0
+<
+the '10' value is the font size, other settings concerns more specific Qt
+options which you should not need to care with.
+The suggested way to choose your font is through the font selection dialog
+available with the command :
+ :set guifont=*
+
+Note: X Font names are not supported any more, so if you use GVim too, you'll
+have to set something like this in your ~/.gvimrc : >
+
+ if has("gui_kde")
+ :set guifont=Fixed\ [Misc]/10/-1/5/50/0/0/0/1/0
+ else if has("gui_gtk")
+ :set guifont=-misc-fixed-medium-r-normal-*-*-100-*-*-c-*-iso10646-1
+ endif
+<
+ *antialias*
+KVim uses antialias for its font, so that the text looks better, to disable
+this you have to refer to Qt's documentation (export QT_XFT=0 for QT 2.x).
+
+KDE provides some other features, like being able to move the menubar and the
+toolbar wherever you want around the text area.
+
+ *kde-toolbar*
+KVim can be used with a KDE-look toolbar instead of Vim's default toolbar. To
+enable this feature you have to run the configure script with the
+--enable-kde-toolbar switch. It may be moved to a runtime option in the
+future.
+
+ *DCOP*
+Since Vim 6.0, the new ClientServer feature has been added, it works fine in
+KVim too. KVim also provides its own communication scheme based on DCOP. This
+is mainly used by the |vimpart| but can freely be used by other applications
+or manually through KDE's DCOP tools. The DCOP servername is synchronized with
+the X11 servername so that it's easier to identify the same KVim through the
+two communication systems.
+
+ *vimpart* *vim-kpart*
+KVim developers are also working on a component to allow embedding of Vim into
+KDE's applications. As of this writing, the component is working and can be
+used in different KDE applications. New KDE applications should support it
+soon. To get more information about this component, refer to
+http://freehackers.org/kvim or to the KDE project.
+
+==============================================================================
+8. Compiling *gui-x11-compiling*
If using X11, Vim's Makefile will by default first try to find the necessary
GTK+ files on your system. If the GTK+ files cannot be found, then the Motif
@@ -489,6 +544,12 @@ menus look a bit better. Edit the Makefile and look for "XAW_LIB". The
scrollbars will remain the same, because Vim has its own, which are already
3D (in fact, they look more like Motif).
+ *gui-x11-kde*
+For Vim-KDE, you need at least Qt(>=2.x) and the corresponding kdelibs.
+To compile, you must use the --with-qt-dir configure flag because QTDIR is not
+automatically detected yet. Giving KDE's directories to the configure script
+may also help in some cases.
+
*gui-x11-neXtaw*
The neXtaw version is mostly like Athena, but uses different widgets.
@@ -499,7 +560,7 @@ X11R5 with a library for X11R6 probably doesn't work (although the linking
won't give an error message, Vim will crash later).
==============================================================================
-8. X11 selection mechanism *x11-selection*
+9. X11 selection mechanism *x11-selection*
If using X11, in either the GUI or an xterm with an X11-aware Vim, then Vim
provides varied access to the X11 selection and clipboard. These are accessed
View
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 21
+*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -468,10 +468,10 @@ short for "example:").
*modeline-local*
The options are set like with ":setlocal": The new value only applies to the
-buffer that contains the window. Although it's possible to set global options
-from a modeline, this is unusual. If you have two windows open and the files
-in it set the same global option to a different value, the result depends on
-which one was opened last.
+buffer and window that contain the file. Although it's possible to set global
+options from a modeline, this is unusual. If you have two windows open and
+the files in it set the same global option to a different value, the result
+depends on which one was opened last.
*modeline-version*
If the modeline is only to be used for some versions of Vim, the version
@@ -5436,7 +5436,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|shift-left-right|.
What gets inserted (a Tab or spaces) depends on the 'expandtab'
option. Also see |ins-expandtab|. When 'expandtab' is not set, the
- number of spaces minimized by using <Tab>s.
+ number of spaces is minimized by using <Tab>s.
NOTE: This option is reset when 'compatible' is set.
*'softtabstop'* *'sts'*
@@ -5480,9 +5480,9 @@ A jump table for the options with a short description can be found at |Q_op|.
global
{not in Vi}
When "on" the commands listed below move the cursor to the first
- blank of the line. When off the cursor is kept in the same column
+ non-blank of the line. When off the cursor is kept in the same column
(if possible). This applies to the commands: CTRL-D, CTRL-U, CTRL-B,
- CTRL-F, "G", "H", "M", "L", , and to the commands "d", "<<" and ">>"
+ CTRL-F, "G", "H", "M", "L", gg, and to the commands "d", "<<" and ">>"
with a linewise operator, with "%" with a count and to buffer changing
commands (CTRL-^, :bnext, :bNext, etc.). Also for an Ex command that
only has a line number, e.g., ":25" or ":+".
View
@@ -1,4 +1,4 @@
-*os_amiga.txt* For Vim version 7.0aa. Last change: 2004 Apr 25
+*os_amiga.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,12 @@ the |+digraphs| feature. If you want to use Vim with other terminals you can
recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
See the makefiles and feature.h.
+If you notice Vim crashes on some files when syntax highlighting is on, or
+when using a search pattern with nested wildcards, it might be that the stack
+is too small. Try increasing the stack size. In a shell use the Stack
+command before launching Vim. On the Workbench, select the Vim icon, use the
+workbench "Info" menu and change the Stack field in the form.
+
If you want to use different colors set the termcap codes:
t_mr (for inverted text)
t_md (for bold text)
Oops, something went wrong.

0 comments on commit 5c3784f

Please sign in to comment.