Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread Mikolaj Machowski
Dnia piątek, 4 sierpnia 2006 22:39, François Pinard napisał: [Mikolaj Machowski] [Mohsin]: Vim only has syntax coloring with regexps. Emacs has functions to apply properties to text blocks, and I was hoping vim has something comparable. Of course it is possible: :help /\%l :help /\%c

Bug or feature? When running GUI-enabled Vim in a console

2006-08-05 Thread A.J.Mechelynck
Bug or feature? When running GUI-enabled Vim in a console (not possible on W32, but on Unix it is), the has() and exists() functions do not always reflect the _current_ reality. Examples: :echo has(gui_gtk2) 1 In the above case it may be regarded as a feature: I can still check

Re: Vim-Runtime

2006-08-05 Thread A.J.Mechelynck
Martin Krischik wrote: [...] I was hoping there is a way without unduly stuffing Brams E-Mail inbox... Bram has the final say on what makes it into the official distribution anyway. Just be sure the Subject: line of your email clearly indicates what you're writing about. Martin PS: Take

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread A.J.Mechelynck
François Pinard wrote: [...] I did not really take position about if Vim or Emacs are better than one another, or wrong altogether :-). But I do have an opinion: both are great editors, each with their own many virtues and few weaknesses, each being a good source of inspiration and ideas for

Re: Vim-Runtime

2006-08-05 Thread Yakov Lerner
On 8/4/06, Martin Krischik [EMAIL PROTECTED] wrote: How are updates to the runtime files submitted? You email them to Bram. Yakov

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread A.J.Mechelynck
Nikolai Weibull wrote: [...] However, it can sort of be simulated by having marks that stick to the text position that they mark, instead of line + fixed column. (We don't have this kind of mark at the moment.) nikolai IIUC, Vim's marks _are_ normally anchored to the text they mark, not

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread Nikolai Weibull
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: However, it can sort of be simulated by having marks that stick to the text position that they mark, instead of line + fixed column. (We don't have this kind of mark at the moment.) IIUC, Vim's marks _are_

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread A.J.Mechelynck
Nikolai Weibull wrote: On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: However, it can sort of be simulated by having marks that stick to the text position that they mark, instead of line + fixed column. (We don't have this kind of mark at the moment.) IIUC,

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread Yakov Lerner
On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: However, it can sort of be simulated by having marks that stick to the text position that they mark, instead of line + fixed column. (We

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread A.J.Mechelynck
Yakov Lerner wrote: On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: However, it can sort of be simulated by having marks that stick to the text position that they mark, instead of line

Editing within a Visual Block

2006-08-05 Thread Weiguang Shi
Hi, I was wondering if there is a plan to add the feature of Normal-mode editing within a visual block. This would be very useful when drawing ASCII figures in Vim, when you want to focus on and make changes in a region. I haven't seen so far scripts smart enough to support, e.g., the Normal

Re: Vim-Runtime

2006-08-05 Thread Mikolaj Machowski
Dnia sobota, 5 sierpnia 2006 15:03, Martin Krischik napisał: - Many runtime files, and in particular most of the help files, have been reissued with new or updated contents for version 7.0. You should find them, for instance, under vim70/runtime/ in

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread Nikolai Weibull
On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: When breaking a line before a mark, the mark stays with the part-line before the line break: And I repeat: Bug? No. That's just the way marks work. And it's a misfeature in my opinion. It's always possible to add another type of mark

Re: Editing within a Visual Block

2006-08-05 Thread A.J.Mechelynck
Weiguang Shi wrote: Hi, I was wondering if there is a plan to add the feature of Normal-mode editing within a visual block. This would be very useful when drawing ASCII figures in Vim, when you want to focus on and make changes in a region. I haven't seen so far scripts smart enough to

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread A.J.Mechelynck
Nikolai Weibull wrote: On 8/5/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: When breaking a line before a mark, the mark stays with the part-line before the line break: And I repeat: Bug? No. That's just the way marks work. And it's a misfeature in my opinion. It's always possible to add

Re: Editing within a Visual Block

2006-08-05 Thread Weiguang Shi
--- A.J.Mechelynck [EMAIL PROTECTED] wrote: ... To draw ASCII figures within an area of text, I suggest Virtual-Replace mode (see :help gR and :help Virtual-Replace-mode) with 'virtualedit' set to all. I tried the V-R mode and found it very useful, thanks! To be able to swap lines

Re: No way to color-region(s) of text -- highlighter mode.

2006-08-05 Thread Nikolai Weibull
On 8/6/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: It's always possible to add another type of mark that stays with the text, whatever happens, and I don't think it should be too hard to implement, see mark_col_adjust(). But Bram thought it would be difficult and