Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sat, Aug 13, 2005 at 11:08:48PM +0200, Leonard den Ottolander wrote: On Sat, 2005-08-13 at 15:25, Jindrich Novy wrote: I can imagine the enhancement can be useful for XML/HTML/PHP, etc. but maybe it could be a configurable feature if considered to be committed at all. I like that

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 02:03:25PM +0200, Leonard den Ottolander wrote: i think it should be part of the syntax definition, which would be extended from highlighting only. This is not about highlighting, the highlighting is a side effect of the jump to matching bracket option. This code

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
On Sun, 2005-08-14 at 15:01, Oswald Buddenhagen wrote: On Sun, Aug 14, 2005 at 02:03:25PM +0200, Leonard den Ottolander wrote: i think it should be part of the syntax definition, which would be extended from highlighting only. This is not about highlighting, the highlighting is a side

Re: mc editor small changes III - unified diff

2005-08-14 Thread Oswald Buddenhagen
On Sun, Aug 14, 2005 at 03:27:45PM +0200, Leonard den Ottolander wrote: So I don't see why we couldn't extend the current functionality (until you've finished the syntax highlighting rewrite ;)). :-P the highlighting hurts - not much, but it is still annoying. It's already there for the

[patch] fix another End keypress lockup in the viewer

2005-08-14 Thread Jindrich Makovicka
Hello, the new viewer has a problem with viewing files with DOS line separators, which manifests again in a lockup after pressing the End key. Then, it is impossible to move the view further, except by pressing the Home key. It is caused by the code of view_move_up, which moves by one line using

[patch] interruptible search in the viewer

2005-08-14 Thread Jindrich Makovicka
The attached patch makes the search function interruptible by Ctrl-C. It also removes redundant got_interrupt() calls before enable_interrupt_key(), as enable_interrupt_key() takes care of clearing the interrupt flag itself. Furthermore, this feature makes search virtually uninterruptible,