[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, because

[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

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 fo

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
Hi Oswald, On Sun, 2005-08-14 at 15:27, Leonard den Ottolander wrote: > On Sun, 2005-08-14 at 15:01, Oswald Buddenhagen wrote: > > wow, _that_ was new to me ... haha. > > ? Not sure what to make of this (cynicism or a genuine remark). I ment > they use different code paths (afaict). Never mind t

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

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

Re: mc editor small changes III - unified diff

2005-08-14 Thread Leonard den Ottolander
Hi Oswald, On Sun, 2005-08-14 at 12:14, Oswald Buddenhagen wrote: > On Sat, Aug 13, 2005 at 11:08:48PM +0200, Leonard den Ottolander wrote: > > An editor_match_bracket_open_str and editor_match_bracket_close_str > > option in ini. > > > i think it should be part of the syntax definition, which wou

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 t