too strict judgement probably to grab word for electronic dictionary

2007-01-28 Thread Liu Yubao
Hi, Some people find a widely used English to Chinese electronic dictionary can't grab word from VIM under Windows, this dictionary program hooks TextOut() API family and sends a WM_PAINT to other programs to intercept text. After digged the code I think a judgement in

Re: replacing with a newline

2007-01-28 Thread A.J.Mechelynck
Bill McCarthy wrote: On Sat 27-Jan-07 11:15pm -0600, you wrote: Ok, here is a question: Why not keep it the same, \n? Any reasoning behind it? That could be a way to do it, but that choice wasn't made. Perhaps someone else could explain why \n means end-of-line in the pattern, but nul in

Re: How to filter only portion of a line, and not the whole line?

2007-01-28 Thread A.J.Mechelynck
ben lieb wrote: Greetings Vim Users! This is my first post, so Hello all from North Carolina! I have decided to write some perl filters for vim, but was disappointed that it seems I can only filter WHOLE LINES (and not selected parts of lines). Is this true? I found that... :','!my_filter.pl

Re: How to filter only portion of a line, and not the whole line?

2007-01-28 Thread Gary Johnson
On 2007-01-28, ben lieb [EMAIL PROTECTED] wrote: I have decided to write some perl filters for vim, but was disappointed that it seems I can only filter WHOLE LINES (and not selected parts of lines). Is this true? I found that... :','!my_filter.pl ...is given the whole line, even

background process in gvim

2007-01-28 Thread Manu Hack
In my gvim under linux, I can't run a background process but I can do so in vim. I remember I can do it in gvim under windows. What would be the possible cause of that? Thanks.

Updating $VIMRUNTIME on Windows

2007-01-28 Thread Suresh Govindachar
Bill McCarthy recently wrote to vim-dev and others: Runtime files are kept fairly well updated at the Vim FTP site. You can update those files from there. Scripts have been provided for 'nix and Windows to update local files. Only script I found on www.vim.org to help

Re: Updating $VIMRUNTIME on Windows

2007-01-28 Thread A.J.Mechelynck
Suresh Govindachar wrote: Bill McCarthy recently wrote to vim-dev and others: Runtime files are kept fairly well updated at the Vim FTP site. You can update those files from there. Scripts have been provided for 'nix and Windows to update local files. Only script I

Re: Updating $VIMRUNTIME on Windows

2007-01-28 Thread Bill McCarthy
On Sun 28-Jan-07 1:20pm -0600, you wrote: Bill McCarthy recently wrote to vim-dev and others: Runtime files are kept fairly well updated at the Vim FTP site. You can update those files from there. Scripts have been provided for 'nix and Windows to update local files. Only script I

Re: replacing with a newline

2007-01-28 Thread A.J.Mechelynck
jose isaias cabrera wrote: A.J.Mechelynck wrote, Bill McCarthy wrote: On Sat 27-Jan-07 11:15pm -0600, you wrote: Ok, here is a question: Why not keep it the same, \n? Any reasoning behind it? That could be a way to do it, but that choice wasn't made. Perhaps someone else could

replace with a number sequence

2007-01-28 Thread jose isaias cabrera
Greetings! I have these lines, UniqueID2 = lview.focusedItem.subItems.opIndex(0).text; Parent = lview.focusedItem.subItems.opIndex(0).text; Children= lview.focusedItem.subItems.opIndex(0).text; login =

Re: replace with a number sequence

2007-01-28 Thread Tim Chase
I have these lines, UniqueID2 = lview.focusedItem.subItems.opIndex(0).text; Parent = lview.focusedItem.subItems.opIndex(0).text; Children= lview.focusedItem.subItems.opIndex(0).text; login = lview.focusedItem.subItems.opIndex(1).text;

Weird problem with helpgrep

2007-01-28 Thread DervishD
Hi all :) I've discovered that :helpgrep pattern doesn't work for me, always returning E480 (BTW, :help E480 shows help about argdelete, as if E numbers in source code and docs weren't synchronized). But that's not the weird part. If I search for a very common word (let's say most,

Re: Weird problem with helpgrep

2007-01-28 Thread A.J.Mechelynck
DervishD wrote: Hi all :) I've discovered that :helpgrep pattern doesn't work for me, always returning E480 (BTW, :help E480 shows help about argdelete, as if E numbers in source code and docs weren't synchronized). But that's not the weird part. If I search for a very common word

Re: Weird problem with helpgrep

2007-01-28 Thread Bill McCarthy
On Sun 28-Jan-07 4:33pm -0600, DervishD wrote: Finally, examining the source code, I found the problem. I have my vim documentation installed in /usr/doc, which is where all documentation is installed on my system. I've set helpfile so :help finds the docs. BUT :helpgrep doesn't use

Re: replace with a number sequence

2007-01-28 Thread Luke Vanderfluit
Hi. Tim Chase wrote: I have these lines, UniqueID2 = lview.focusedItem.subItems.opIndex(0).text; Parent = lview.focusedItem.subItems.opIndex(0).text; Children= lview.focusedItem.subItems.opIndex(0).text; login =

Re: replace with a number sequence

2007-01-28 Thread Tim Chase
I have these lines, UniqueID2 = lview.focusedItem.subItems.opIndex(0).text; Parent = lview.focusedItem.subItems.opIndex(0).text; Children= lview.focusedItem.subItems.opIndex(0).text; and I would like to replace the number between the parens () to a

Avoiding a temporary global variable

2007-01-28 Thread Suresh Govindachar
Recently, Tim Chase wrote in the thread replace with a number sequence: ...8--- Things get a little trickier if one wants to do the replacement in a single line of multiple instances... opInstance(1), opInstance(2), opInstance(3) One has to write a

Re: Avoiding a temporary global variable

2007-01-28 Thread A.J.Mechelynck
Suresh Govindachar wrote: Recently, Tim Chase wrote in the thread replace with a number sequence: ...8--- Things get a little trickier if one wants to do the replacement in a single line of multiple instances... opInstance(1), opInstance(2), opInstance(3)

Writeup on mkdownload, getunix.aap and getdos.aap

2007-01-28 Thread Suresh Govindachar
Hello, Is there a write-up describing what :mkdownload does and describing the sturcture of the following files? ftp.nluug.nl/vol/1/vim/runtime/getunix.aap ftp.nluug.nl/vol/1/vim/runtime/getdos.aap I suspect that knowing the answer will enable me to write a perl script to