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

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

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 ad

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 suppo

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 t

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 > > http://ftp.vim.org/pub/vim/unix/v

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: 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, in

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 c

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.) I

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_ n

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 to

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

2006-08-05 Thread Benji Fisher
On Fri, Aug 04, 2006 at 04:01:38PM -0700, Mohsin wrote: > > On 8/4/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: > >A.J.Mechelynck wrote: > >> Mohsin wrote: > >>> I want to use a highlighter mode on my text file, example: > >>> > >>> :color_region bold line1 col1 line2 col2 > >>> :color_region

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: - I don't know Emacs well enough to have a valid opinion regarding it; So don't. - I like Vim so much I have no incentive to learn Emacs; Seems like a very conservative way of thinking. - Discussion of Emacs features is not really on-to

Re: Forget the buf_T reference when processing a 'close' netbeans command

2006-08-05 Thread Xavier de Gaye
--- Bram Moolenaar wrote: > > Xavier de Gaye wrote: > > > Bug description: > > === > > Vim version 7.0 > > > > When receiving a netbeans 'close' command, vim does delete the > > specified buffer, but the buffer's reference (buf_list[bufno].bufp > > called here 'this_memory_address')

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
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 a

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

2006-08-05 Thread François Pinard
>[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. [Mikolaj Machowski] >Of course it is possible: >:help /\%l >:help /\%c [François Pinard] Humph, not really! [Mikolaj

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: Tak

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 has(

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

Re: Vim-Runtime

2006-08-05 Thread Martin Krischik
Am 04.08.2006, 21:28 Uhr, schrieb A.J.Mechelynck <[EMAIL PROTECTED]>: Martin Krischik wrote: Hello, Vim 7.0 has been out for some time now and also has a host of new features and I, for example, have added all the new stuff to the Ada support [1]. But the files which come with vim are s