Re: Linewise Visual highlight problem

2008-05-02 Fir de Conversatie Erik Falor
On 4/30/08, Dasn [EMAIL PROTECTED] wrote: It seems highlighted wrong in Visual Line mode with: vim -u NONE -c se sbr=+ smd wrap co=80 lines=25|pu! =repeat('k',2000)| norm $ Then press 'V' to see the problem. If the problem is that the position after the final k is highlighted instead of

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Paul LeoNerd Evans
On Fri, Apr 18, 2008 at 02:02:37AM +0200, Bram Moolenaar wrote: The idea of termcap/terminfo is that you don't force terminals to send a specific escape sequence and don't force applications to accept a certain sequence. You make a table that specifies it, so that you can use any terminal

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Paul LeoNerd Evans
On Fri, Apr 18, 2008 at 10:48:48AM -0700, Gary Johnson wrote: I believe the idea of terminfo is to have symbols for keys' functions, not how you pressed them, i.e., to separate function from mechanism. Type the ; key, getch() returns ';'. Hold the Shift key and type the ; key, getch()

Re: [Patch] Nicer notebook tabs with GTK2

2008-05-02 Fir de Conversatie Bram Moolenaar
Francois Ingelrest wrote: Here is a patch that improves a bit notebook tabs with GTK2. It: - Groups the creation of tab labels into one function (the code was duplicated at two places before) - Adds a file icon in front of the label Here are some screenshots:

Re: Improve vim's keyboard input subsystem

2008-05-02 Fir de Conversatie Bram Moolenaar
Paul LeoNerd Evans wrote: On Fri, Apr 18, 2008 at 02:02:37AM +0200, Bram Moolenaar wrote: The idea of termcap/terminfo is that you don't force terminals to send a specific escape sequence and don't force applications to accept a certain sequence. You make a table that specifies it, so

Re: Linewise Visual highlight problem

2008-05-02 Fir de Conversatie Bram Moolenaar
Dasn wrote: It seems highlighted wrong in Visual Line mode with: vim -u NONE -c se sbr=+ smd wrap co=80 lines=25|pu! =repeat('k',2000)| norm $ Then press 'V' to see the problem. Highlighting starts at the cursor, instead of at the start of the line, right? That looks like a bug. --

[Patch] Fix Count_words()

2008-05-02 Fir de Conversatie Ag. D. Hatzimanikas
Hi, Please issue, :helpgrep Wordcount let count = count + Wordcount(getline(n)) The Wordcount function does not exists. Again from the same function, the count variable is a read only, so it has to be preceded with an l:. Funny thing is that the count var is being mentioned for

Re: [Patch] Nicer notebook tabs with GTK2

2008-05-02 Fir de Conversatie Tony Mechelynck
On 02/05/08 22:23, Bram Moolenaar wrote: [...] I also think that the space that the icon takes is too much. Most people edit files of the same type (e.g., all Java files), the icon isn't very helpful then. And when you have two windows in one Tab, what icon are you going to show? That last

Re: Linewise Visual highlight problem

2008-05-02 Fir de Conversatie Dasn
On 02/05/08 22:23 +0200, Bram Moolenaar wrote: Dasn wrote: It seems highlighted wrong in Visual Line mode with: vim -u NONE -c se sbr=+ smd wrap co=80 lines=25|pu! =repeat('k',2000)| norm $ Then press 'V' to see the problem. Highlighting starts at the cursor, instead of at the