updated for version 7.0002
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 20
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1236,10 +1236,19 @@ eventhandler() *eventhandler()*
|
||||
executable({expr}) *executable()*
|
||||
This function checks if an executable with the name {expr}
|
||||
exists. {expr} must be the name of the program without any
|
||||
arguments. executable() uses the normal $PATH.
|
||||
On MS-DOS and MS-Windows the ".exe", ".bat", etc. must be
|
||||
included. It only checks if the file exists and is not a
|
||||
directory, not if it's really executable.
|
||||
arguments.
|
||||
executable() uses the value of $PATH and/or the normal
|
||||
searchpath for programs. *PATHEXT*
|
||||
On MS-DOS and MS-Windows the ".exe", ".bat", etc. can
|
||||
optionally be included. Then the extensions in $PATHEXT are
|
||||
tried. Thus if "foo.exe" does not exist, "foo.exe.bat" can be
|
||||
found. If $PATHEXT is not set then ".exe;.com;.bat;.cmd" is
|
||||
used. A dot by itself can be used in $PATHEXT to try using
|
||||
the name without an extension. When 'shell' looks like a
|
||||
Unix shell, then the name is also tried without adding an
|
||||
extension.
|
||||
On MS-DOS and MS-Windows it only checks if the file exists and
|
||||
is not a directory, not if it's really executable.
|
||||
The result is a Number:
|
||||
1 exists
|
||||
0 does not exist
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 May 05
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -148,7 +148,7 @@ This means that the contents of compressed files are not inspected.
|
||||
|
||||
*new-filetype*
|
||||
If a file type that you want to use is not detected yet, there are three ways
|
||||
to add it. In any way, it's better not modify the $VIMRUNTIME/filetype.vim
|
||||
to add it. In any way, it's better not to modify the $VIMRUNTIME/filetype.vim
|
||||
file. It will be overwritten when installing a new version of Vim.
|
||||
|
||||
A. If you want to overrule all default file type checks.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -375,6 +375,11 @@ This redefines the backspace key to start a new undo sequence. You can now
|
||||
undo the effect of the backspace key, without changing what you typed before
|
||||
that, with CTRL-O u.
|
||||
|
||||
Using CTRL-O splits undo: the text typed before and after it is undone
|
||||
separately. If you want to avoid this (e.g., in a mapping) you might be able
|
||||
to use CTRL-R = |i_CTRL-R|. E.g., to call a function: >
|
||||
:imap <F2> <C-R>=MyFunc()<CR>
|
||||
|
||||
When the 'whichwrap' option is set appropriately, the <Left> and <Right>
|
||||
keys on the first/last character in the line make the cursor wrap to the
|
||||
previous/next line.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Apr 02
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -467,6 +467,13 @@ DEFINING BREAKPOINTS
|
||||
Set a breakpoint in a sourced file. Example: >
|
||||
:breakadd file 43 .vimrc
|
||||
|
||||
:breaka[dd] here
|
||||
Set a breakpoint in the current line of the current file.
|
||||
Like doing: >
|
||||
:breakadd file <cursor-line> <current-file>
|
||||
< Note that this only works for commands that are executed when
|
||||
sourcing the file, not for a function defined in that file.
|
||||
|
||||
The [lnum] is the line number of the breakpoint. Vim will stop at or after
|
||||
this line. When omitted line 1 is used.
|
||||
|
||||
@ -501,6 +508,9 @@ DELETING BREAKPOINTS
|
||||
:breakd[el] file [lnum] {name}
|
||||
Delete a breakpoint in a sourced file.
|
||||
|
||||
:breakd[el] here
|
||||
Delete a breakpoint at the current line of the current file.
|
||||
|
||||
When [lnum] is omitted, the first breakpoint in the function or file is
|
||||
deleted.
|
||||
The {name} must be exactly the same as what was typed for the ":breakadd"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 20
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,6 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Change for fsync() error in Vim 6 as patch?
|
||||
|
||||
For version 7.0:
|
||||
- Include many PATCHES:
|
||||
9 Merge in ideas from tutor.txt (Gabriel Zachmann)
|
||||
@ -59,7 +61,7 @@ For version 7.0:
|
||||
InsmodLeave Taro Muraoka, 2004 Jun 16
|
||||
- Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand)
|
||||
Do not add Qtopia yet, it doesn't work very well.
|
||||
Mickael will update the patch before 21st.
|
||||
update from Mickael 2004 Jun 20.
|
||||
8 Unix: When libcall() fails there is no clear error message. Johannes
|
||||
Zellner has a patch for this.
|
||||
updated patch 2004 June 16.
|
||||
@ -88,7 +90,8 @@ For version 7.0:
|
||||
7 Completion of network shares, patch by Yasuhiro Matsumoto.
|
||||
Update 2004 Jun 17.
|
||||
8 Patches from Peter "Rain Dog" Cucka:
|
||||
- guifont selector (2002 Dec 15) will send update
|
||||
- guifont selector (2002 Dec 15)
|
||||
update 2004 Jun 20
|
||||
7 Add an option to set the width of the 'number' column. Eight
|
||||
positions is often more than needed. Or adjust the width to the
|
||||
length of the file?
|
||||
@ -215,11 +218,6 @@ For version 7.0:
|
||||
7 Motif: use the menu font consistently. Patch from Martin Dalecki 2002
|
||||
Jan 11.
|
||||
- Motif: add 3D shading for the menu entries? Patch from Martin Dalecki.
|
||||
9 When 'autoindent' is set, hitting <CR> twice, while there is text after
|
||||
the cursor, doesn't delete the autoindent in the resulting blank line.
|
||||
(Rich Wales) This is Vi compatible, but it looks like a bug. Rich has
|
||||
a suggestion for a patch to fix this.
|
||||
e-mail to Rich bounced.
|
||||
7 For Visual mode: Command to do a search for the string in the marked
|
||||
area. Only when fewer than two lines. Use "g/" and "gb". Patch from
|
||||
Yegappan Lakshmanan.
|
||||
@ -260,6 +258,12 @@ For version 7.0:
|
||||
ispell inside Vim). Gautam Iyer has an example with "aspell".
|
||||
"engspchk" from Charles Campbell is a good way. Support for
|
||||
approximate-regexps will help (agrep http://www.tgries.de/agrep/).
|
||||
- Charles Campbell asks for method to add "contained" groups to
|
||||
existing syntax items (to add @Spell). Add ":syntax contains
|
||||
{pattern} add=@Spell" command? A bit like ":syn cluster" but change
|
||||
the contains list directly for matching syntax items.
|
||||
- Keep wordlist in syntax group, load it only once and use it several
|
||||
times later. Sort of global syntax items.
|
||||
- REFACTORING: The main() function is very long. Move parts to separate
|
||||
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
|
||||
Feb 9).
|
||||
@ -302,6 +306,11 @@ For version 7.0:
|
||||
Especially when using the scrollbar. Typing a cursor-movement command
|
||||
scrolls back to where the cursor is.
|
||||
8 Support four composing characters, needed for Hebrew. (Ron Aaron)
|
||||
- Add a few more things to 'diffopt': "horizontal", "vertical",
|
||||
"foldcolumn". (Benji Fisher, 2004 Jun 21)
|
||||
- FileChangedShellPost autocommand event: after (not) reloading a changed
|
||||
file. Can be used to update statusline oslt.
|
||||
- Displaying size of Visual area: use 24-33 column display.
|
||||
|
||||
|
||||
Vi incompatibility:
|
||||
@ -1111,6 +1120,8 @@ Problems that will (probably) not be solved:
|
||||
- GTK: When pasting a selection from Vim to xclipboard gvim crashes with a
|
||||
ABRT signal. Probably an error in the file gdkselection.c, the assert
|
||||
always fails when XmbTextListToTextProperty() fails. (Tom Allard)
|
||||
- GTK 2: gives an assertion error for every non-builtin icon in the toolbar.
|
||||
This is a GTK 2.4.x bug, fixed in GTK 2.4.2. (Thomas de Grenier de Latour)
|
||||
- When using an xterm that supports the termresponse feature, and the 't_Co'
|
||||
termcap option was wrong when Vim started, it will be corrected when the
|
||||
termresponse is received. Since the number of colors changes, the
|
||||
@ -2171,6 +2182,9 @@ Command line history:
|
||||
|
||||
|
||||
Insert mode:
|
||||
9 When 'autoindent' is set, hitting <CR> twice, while there is text after
|
||||
the cursor, doesn't delete the autoindent in the resulting blank line.
|
||||
(Rich Wales) This is Vi compatible, but it looks like a bug.
|
||||
8 When using CTRL-O in Insert mode, then executing an insert command
|
||||
"a" or "i", should we return to Insert mode after <Esc>? (Eggink)
|
||||
Perhaps it can be allowed a single time, to be able to do
|
||||
@ -3299,8 +3313,6 @@ Various improvements:
|
||||
- Implement 'redraw' option.
|
||||
- Add special code to 'sections' option to define something else but '{' or
|
||||
'}' as the start of a section (e.g. one shiftwidth to the right).
|
||||
- Add 'indent' option: Always use this amount of indent when starting a new
|
||||
line and when formatting text.
|
||||
- Use pipes for filtering on Unix. Requires using fork() to be able to read
|
||||
and write at the same time, or some select() mechanism.
|
||||
7 Allow using Vim in a pipe: "ls | vim -u xxx.vim - | yyy". Only needs
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Mar 12
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -369,8 +369,8 @@ adding. If it's OK, you can give the new one another name: >
|
||||
mv thefile ~/.vim/ftplugin/stuff_too.vim
|
||||
|
||||
The underscore is used to separate the name of the filetype from the rest,
|
||||
which can be anything. If you would use "otherstuff.vim" it wouldn't work, it
|
||||
would be loaded for the "otherstuff" filetype.
|
||||
which can be anything. If you use "otherstuff.vim" it wouldn't work, it would
|
||||
be loaded for the "otherstuff" filetype.
|
||||
|
||||
On MS-DOS you cannot use long filenames. You would run into trouble if you
|
||||
add a second plugin and the filetype has more than six characters. You can
|
||||
@ -505,7 +505,7 @@ before and after the option name. For example: >
|
||||
:help 'wrap'
|
||||
|
||||
In case you have messed up an option value, you can set it back to the
|
||||
default by putting a ampersand (&) after the option name. Example: >
|
||||
default by putting an ampersand (&) after the option name. Example: >
|
||||
|
||||
:set iskeyword&
|
||||
|
||||
@ -514,8 +514,8 @@ NOT WRAPPING LINES
|
||||
|
||||
Vim normally wraps long lines, so that you can see all of the text. Sometimes
|
||||
it's better to let the text continue right of the window. Then you need to
|
||||
scroll the text left-right to see all of a long line. Switch wrapping of with
|
||||
this command: >
|
||||
scroll the text left-right to see all of a long line. Switch wrapping off
|
||||
with this command: >
|
||||
|
||||
:set nowrap
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 07
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -32,6 +32,20 @@ INCOMPATIBLE CHANGES *incompatible-7*
|
||||
These changes are incompatible with previous releases. Check this list if you
|
||||
run into a problem when upgrading from Vim 6.x to 7.0
|
||||
|
||||
":helpgrep" now uses a help window to display a match.
|
||||
|
||||
|
||||
Minor incompatibilities:
|
||||
|
||||
For filetype detection: For many types, instead of ~/.dir/filename use
|
||||
*/.dir/filename, so that it also works for other user's files.
|
||||
|
||||
":0verbose" now sets 'verbose' to zero instead of one.
|
||||
|
||||
Removed the old and incomplete "VimBuddy" code.
|
||||
|
||||
Buffers without a name report "No Name" instead of "No File". It was
|
||||
confusing for buffers with a name and 'buftype' set to "nofile".
|
||||
|
||||
==============================================================================
|
||||
NEW FEATURES *new-7*
|
||||
@ -68,10 +82,21 @@ New autocommand events: ~
|
||||
|
||||
New Syntax files: ~
|
||||
|
||||
Others: ~
|
||||
|
||||
Mac: Add the selection type to the clipboard, so that Block, line and
|
||||
character selections can be used between two Vims. (Eckehard Berns)
|
||||
Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
|
||||
"yyp".
|
||||
|
||||
==============================================================================
|
||||
IMPROVEMENTS *improvements-7*
|
||||
|
||||
":helpgrep" accepts a language specifier after the pattern: "pat@it".
|
||||
|
||||
":breakadd here" and ":breakdel here" can be used to set or delete a
|
||||
breakpoint at the cursor.
|
||||
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
@ -80,5 +105,51 @@ COMPILE TIME CHANGES *compile-changes-7*
|
||||
==============================================================================
|
||||
BUG FIXES *bug-fixes-7*
|
||||
|
||||
When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
|
||||
instead of "copy". When 'printdevice' was empty the copy command did not
|
||||
work. Use "LPT1" then.
|
||||
|
||||
The GTK font dialog uses a font size zero when the font name doesn't include a
|
||||
size. Use a default size of 10.
|
||||
|
||||
This example in the documentation didn't work:
|
||||
:e `=foo . ".c" `
|
||||
Skip over the expression in `=expr` when looking for comments, |, % and #.
|
||||
|
||||
When ":helpgrep" doesn't find anything there is no error message.
|
||||
|
||||
"L" and "H" did not take closed folds into account.
|
||||
|
||||
Win32: The "-P title" argument stopped at the first title that matched, even
|
||||
when it doesn't support MDI.
|
||||
|
||||
Mac GUI: CTRL-^ and CTRL-@ did not work.
|
||||
|
||||
"2daw" on "word." at the end of a line didn't include the preceding white
|
||||
space.
|
||||
|
||||
Win32: Using FindExecutable() doesn't work to find a program. Use
|
||||
SearchPath() instead. For executable() use $PATHEXT when the program searched
|
||||
for doesn't have an extension.
|
||||
|
||||
When 'virtualedit' is set, moving the cursor up after appending a character
|
||||
may move it to a different column. Was caused by auto-formatting moving the
|
||||
cursor and not putting it back where it was.
|
||||
|
||||
When indent was added automatically and then moving the cursor, the indent was
|
||||
not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used
|
||||
to make it work the old way.
|
||||
|
||||
When <Space> is mapped to something that starts with a space, typing <Space>
|
||||
does not expand abbreviations. Only disable expanding abbreviations when a
|
||||
mapping is not remapped, not when the RHS starts with the LHS.
|
||||
|
||||
When opening a command-line window, 'textwidth' gets set to 78 by the Vim
|
||||
filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken.
|
||||
|
||||
After using cursor(line, col) moving up/down doesn't keep the same column.
|
||||
|
||||
Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
|
||||
fields. (Walter Briscoe)
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
"=============================================================================
|
||||
" File: explorer.vim
|
||||
" Author: M A Aziz Ahmed (aziz@acorn-networks.com - doesn't work)
|
||||
" Last Change: 2004 May 13
|
||||
" Last Change: 2004 Jun 22
|
||||
" Version: 2.5 + changes
|
||||
" Additions by Mark Waggoner (waggoner@aracnet.com) et al.
|
||||
"-----------------------------------------------------------------------------
|
||||
@ -647,7 +647,7 @@ function! s:ShowDirectory()
|
||||
let b:maxFileLen = 0
|
||||
0
|
||||
/^"=/+1,$g/^/call s:MarkDirs()
|
||||
normal! `t
|
||||
keepjumps normal! `t
|
||||
call s:AddFileInfo()
|
||||
endif
|
||||
|
||||
@ -840,7 +840,7 @@ function! s:AddFileInfo()
|
||||
call s:AddSeparators()
|
||||
|
||||
" return to start
|
||||
normal! `t
|
||||
keepjumps normal! `t
|
||||
|
||||
let &sc = save_sc
|
||||
endfunction
|
||||
@ -973,7 +973,7 @@ function! s:UpdateHeader()
|
||||
" Go back where we came from if possible
|
||||
0
|
||||
if line("'t") != 0
|
||||
normal! `t
|
||||
keepjumps normal! `t
|
||||
endif
|
||||
|
||||
let &report=oldRep
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
"
|
||||
" Language: Logtalk
|
||||
" Maintainer: Paulo Moura <pmoura@logtalk.org>
|
||||
" Last Change: 2004 May 16
|
||||
" Last Change: 2004 June 1
|
||||
|
||||
|
||||
" Quit when a syntax file was already loaded:
|
||||
@ -55,9 +55,7 @@ syn region logtalkOpenEntityDir matchgroup=logtalkOpenEntityDirTag start=":- cat
|
||||
|
||||
" Logtalk closing entity directives
|
||||
|
||||
syn match logtalkCloseEntityDir ":- end_object\."
|
||||
syn match logtalkCloseEntityDir ":- end_protocol\."
|
||||
syn match logtalkCloseEntityDir ":- end_category\."
|
||||
syn match logtalkCloseEntityDir ":- end_\(object\|protocol\|category\)\."
|
||||
|
||||
|
||||
" Logtalk entity relations
|
||||
@ -88,38 +86,24 @@ syn region logtalkDir matchgroup=logtalkDirTag start=":- uses(" matchgroup=log
|
||||
|
||||
" Logtalk built-in predicates
|
||||
|
||||
syn match logtalkBuiltIn "\<current_object\ze("
|
||||
syn match logtalkBuiltIn "\<current_protocol\ze("
|
||||
syn match logtalkBuiltIn "\<current_category\ze("
|
||||
syn match logtalkBuiltIn "\<current_\(object\|protocol\|category\)\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<create_object\ze("
|
||||
syn match logtalkBuiltIn "\<create_protocol\ze("
|
||||
syn match logtalkBuiltIn "\<create_category\ze("
|
||||
syn match logtalkBuiltIn "\<create_\(object\|protocol\|category\)\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<object_property\ze("
|
||||
syn match logtalkBuiltIn "\<protocol_property\ze("
|
||||
syn match logtalkBuiltIn "\<category_property\ze("
|
||||
syn match logtalkBuiltIn "\<\(object\|protocol\|category\)_property\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<abolish_object\ze("
|
||||
syn match logtalkBuiltIn "\<abolish_protocol\ze("
|
||||
syn match logtalkBuiltIn "\<abolish_category\ze("
|
||||
syn match logtalkBuiltIn "\<abolish_\(object\|protocol\|category\)\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<extends_object\ze("
|
||||
syn match logtalkBuiltIn "\<extends_protocol\ze("
|
||||
syn match logtalkBuiltIn "\<implements_protocol\ze("
|
||||
syn match logtalkBuiltIn "\<instantiates_class\ze("
|
||||
syn match logtalkBuiltIn "\<specializes_class\ze("
|
||||
syn match logtalkBuiltIn "\<imports_category\ze("
|
||||
syn match logtalkBuiltIn "\<extends_\(object\|protocol\)\ze("
|
||||
syn match logtalkBuiltIn "\<imp\(orts_category\|lements_protocol\)\ze("
|
||||
syn match logtalkBuiltIn "\<\(instantiates\|specializes\)_class\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<abolish_events\ze("
|
||||
syn match logtalkBuiltIn "\<\(abolish\|define\)_events\ze("
|
||||
syn match logtalkBuiltIn "\<current_event\ze("
|
||||
syn match logtalkBuiltIn "\<define_events\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<current_logtalk_flag\ze("
|
||||
syn match logtalkBuiltIn "\<set_logtalk_flag\ze("
|
||||
syn match logtalkBuiltIn "\<\(current\|set\)_logtalk_flag\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<logtalk_compile\ze("
|
||||
syn match logtalkBuiltIn "\<logtalk_load\ze("
|
||||
syn match logtalkBuiltIn "\<logtalk_\(compile\|load\)\ze("
|
||||
|
||||
syn match logtalkBuiltIn "\<forall\ze("
|
||||
syn match logtalkBuiltIn "\<retractall\ze("
|
||||
@ -128,24 +112,20 @@ syn match logtalkBuiltIn "\<retractall\ze("
|
||||
" Logtalk built-in methods
|
||||
|
||||
syn match logtalkBuiltInMethod "\<parameter\ze("
|
||||
syn match logtalkBuiltInMethod "\<self\ze("
|
||||
syn match logtalkBuiltInMethod "\<sender\ze("
|
||||
syn match logtalkBuiltInMethod "\<se\(lf\|nder\)\ze("
|
||||
syn match logtalkBuiltInMethod "\<this\ze("
|
||||
|
||||
syn match logtalkBuiltInMethod "\<current_predicate\ze("
|
||||
syn match logtalkBuiltInMethod "\<predicate_property\ze("
|
||||
|
||||
syn match logtalkBuiltInMethod "\<abolish\ze("
|
||||
syn match logtalkBuiltInMethod "\<asserta\ze("
|
||||
syn match logtalkBuiltInMethod "\<assertz\ze("
|
||||
syn match logtalkBuiltInMethod "\<assert\(a\|z\)\ze("
|
||||
syn match logtalkBuiltInMethod "\<clause\ze("
|
||||
syn match logtalkBuiltInMethod "\<retract\ze("
|
||||
syn match logtalkBuiltInMethod "\<retractall\ze("
|
||||
|
||||
syn match logtalkBuiltInMethod "\<bagof\ze("
|
||||
syn match logtalkBuiltInMethod "\<findall\ze("
|
||||
syn match logtalkBuiltInMethod "\<forall\ze("
|
||||
syn match logtalkBuiltInMethod "\<setof\ze("
|
||||
syn match logtalkBuiltInMethod "\<\(bag\|set\)of\ze("
|
||||
syn match logtalkBuiltInMethod "\<f\(ind\|or\)all\ze("
|
||||
|
||||
syn match logtalkBuiltInMethod "\<before\ze("
|
||||
syn match logtalkBuiltInMethod "\<after\ze("
|
||||
@ -163,13 +143,12 @@ syn match logtalkOperator "@"
|
||||
|
||||
syn match logtalkKeyword "\<true\>"
|
||||
syn match logtalkKeyword "\<fail\>"
|
||||
syn match logtalkKeyword "\<call\ze("
|
||||
syn match logtalkKeyword "\<ca\(ll\|tch\)\ze("
|
||||
syn match logtalkOperator "!"
|
||||
syn match logtalkOperator ","
|
||||
" syn match logtalkOperator ","
|
||||
syn match logtalkOperator ";"
|
||||
syn match logtalkOperator "-->"
|
||||
syn match logtalkOperator "->"
|
||||
syn match logtalkKeyword "\<catch\ze("
|
||||
syn match logtalkKeyword "\<throw\ze("
|
||||
|
||||
|
||||
@ -188,8 +167,7 @@ syn match logtalkKeyword "\<integer\ze("
|
||||
syn match logtalkKeyword "\<float\ze("
|
||||
syn match logtalkKeyword "\<atomic\ze("
|
||||
syn match logtalkKeyword "\<compound\ze("
|
||||
syn match logtalkKeyword "\<nonvar\ze("
|
||||
syn match logtalkKeyword "\<number\ze("
|
||||
syn match logtalkKeyword "\<n\(onvar\|umber\)\ze("
|
||||
|
||||
|
||||
" Term comparison
|
||||
@ -227,10 +205,8 @@ syn match logtalkOperator ">="
|
||||
|
||||
" Stream selection and control
|
||||
|
||||
syn match logtalkKeyword "\<current_input\ze("
|
||||
syn match logtalkKeyword "\<current_output\ze("
|
||||
syn match logtalkKeyword "\<set_input\ze("
|
||||
syn match logtalkKeyword "\<set_output\ze("
|
||||
syn match logtalkKeyword "\<current_\(input\|output\)\ze("
|
||||
syn match logtalkKeyword "\<set_\(input\|output\)\ze("
|
||||
syn match logtalkKeyword "\<open\ze("
|
||||
syn match logtalkKeyword "\<close\ze("
|
||||
syn match logtalkKeyword "\<flush_output\ze("
|
||||
@ -241,33 +217,20 @@ syn match logtalkKeyword "\<at_end_of_stream\>"
|
||||
syn match logtalkKeyword "\<set_stream_position\ze("
|
||||
|
||||
|
||||
" Character input/output
|
||||
" Character and byte input/output
|
||||
|
||||
syn match logtalkKeyword "\<get_char\ze("
|
||||
syn match logtalkKeyword "\<get_code\ze("
|
||||
syn match logtalkKeyword "\<peek_char\ze("
|
||||
syn match logtalkKeyword "\<peek_code\ze("
|
||||
syn match logtalkKeyword "\<put_char\ze("
|
||||
syn match logtalkKeyword "\<put_code\ze("
|
||||
syn match logtalkKeyword "\<\(get\|peek\|put\)_\(char\|code\|byte\)\ze("
|
||||
syn match logtalkKeyword "\<nl\ze("
|
||||
syn match logtalkKeyword "\<nl\>"
|
||||
|
||||
|
||||
" Byte input/output
|
||||
|
||||
syn match logtalkKeyword "\<get_byte\ze("
|
||||
syn match logtalkKeyword "\<peek_byte\ze("
|
||||
syn match logtalkKeyword "\<put_byte\ze("
|
||||
|
||||
|
||||
" Term input/output
|
||||
|
||||
syn match logtalkKeyword "\<read_term\ze("
|
||||
syn match logtalkKeyword "\<read\ze("
|
||||
syn match logtalkKeyword "\<write_term\ze("
|
||||
syn match logtalkKeyword "\<write\ze("
|
||||
syn match logtalkKeyword "\<writeq\ze("
|
||||
syn match logtalkKeyword "\<write_canonical\ze("
|
||||
syn match logtalkKeyword "\<write_\(canonical\|term\)\ze("
|
||||
syn match logtalkKeyword "\<op\ze("
|
||||
syn match logtalkKeyword "\<current_op\ze("
|
||||
syn match logtalkKeyword "\<char_conversion\ze("
|
||||
@ -283,20 +246,15 @@ syn match logtalkKeyword "\<repeat\>"
|
||||
|
||||
" Atomic term processing
|
||||
|
||||
syn match logtalkKeyword "\<atom_length\ze("
|
||||
syn match logtalkKeyword "\<atom_concat\ze("
|
||||
syn match logtalkKeyword "\<atom_\(length\|concat\|chars\|codes\)\ze("
|
||||
syn match logtalkKeyword "\<sub_atom\ze("
|
||||
syn match logtalkKeyword "\<atom_chars\ze("
|
||||
syn match logtalkKeyword "\<atom_codes\ze("
|
||||
syn match logtalkKeyword "\<char_code\ze("
|
||||
syn match logtalkKeyword "\<number_chars\ze("
|
||||
syn match logtalkKeyword "\<number_codes\ze("
|
||||
syn match logtalkKeyword "\<number_\(chars\|codes\)\ze("
|
||||
|
||||
|
||||
" Implementation defined hooks functions
|
||||
|
||||
syn match logtalkKeyword "\<set_prolog_flag\ze("
|
||||
syn match logtalkKeyword "\<current_prolog_flag\ze("
|
||||
syn match logtalkKeyword "\<\(current\|set\)_prolog_flag\ze("
|
||||
syn match logtalkKeyword "\<halt\ze("
|
||||
syn match logtalkKeyword "\<halt\>"
|
||||
|
||||
@ -314,8 +272,7 @@ syn match logtalkKeyword "\<mod\ze("
|
||||
syn match logtalkKeyword "\<mod\>"
|
||||
syn match logtalkKeyword "\<abs\ze("
|
||||
syn match logtalkKeyword "\<sign\ze("
|
||||
syn match logtalkKeyword "\<float_integer_part\ze("
|
||||
syn match logtalkKeyword "\<float_fractional_part\ze("
|
||||
syn match logtalkKeyword "\<float_\(integer\|fractional\)_part\ze("
|
||||
syn match logtalkKeyword "\<float\ze("
|
||||
syn match logtalkKeyword "\<floor\ze("
|
||||
syn match logtalkKeyword "\<truncate\ze("
|
||||
@ -326,12 +283,11 @@ syn match logtalkKeyword "\<ceiling\ze("
|
||||
" Other arithemtic functors
|
||||
|
||||
syn match logtalkOperator "\*\*"
|
||||
syn match logtalkKeyword "\<sin\ze("
|
||||
syn match logtalkKeyword "\<s\(in\|qrt\)\ze("
|
||||
syn match logtalkKeyword "\<cos\ze("
|
||||
syn match logtalkKeyword "\<atan\ze("
|
||||
syn match logtalkKeyword "\<exp\ze("
|
||||
syn match logtalkKeyword "\<log\ze("
|
||||
syn match logtalkKeyword "\<sqrt\ze("
|
||||
|
||||
|
||||
" Bitwise functors
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
" Language: Texinfo (macro package for TeX)
|
||||
" Maintainer: Sandor Kopanyi <sandor.kopanyi@mailbox.hu>
|
||||
" URL: <->
|
||||
" Last Change: 2003 May 11
|
||||
" Last Change: 2004 Jun 23
|
||||
"
|
||||
" the file follows the Texinfo manual structure; this file is based
|
||||
" on manual for Texinfo version 4.0, 28 September 1999
|
||||
@ -351,7 +351,7 @@ syn region texinfoPrmAtCmd matchgroup=texinfoAtCmd start="^@oddheading" skip="
|
||||
syn match texinfoAtCmd "@refill"
|
||||
|
||||
|
||||
syn cluster texinfoAll contains=ALLBUT,{texinfoThisAtCmd,texinfoHFSpecialChar}
|
||||
syn cluster texinfoAll contains=ALLBUT,texinfoThisAtCmd,texinfoHFSpecialChar
|
||||
syn cluster texinfoReducedAll contains=texinfoSpecialChar,texinfoBrcPrmAtCmd
|
||||
"==============================================================================
|
||||
" highlighting
|
||||
|
||||
Reference in New Issue
Block a user