Re: Hangs on scrolling and Auto-indent in comments

From: Jeremy Cowgar <jeremy_cowgar.com>
Date: Tue, 09 Oct 2007 15:44:08 -0400
Angel Ortega wrote:
> Jeremy Cowgar (jeremy_cowgar.com) wrote:
>
>   
>> This was occurring in RC2 and RC3. At random (not often, but 3-4 times a 
>> day) mp just hangs on me. It is *always* when I am scrolling up or down. It 
>> seems to occur only while scrolling with the keyboard, either arrow up/down 
>> or page up/down. I have not had it happen when using the mouse, however, I 
>> rarely do, so that might not be conclusive.
>>     
>
> Strange! Didn't happen to me, and I use MP as the one and only editor
> every day. This happens in the MS Windows version, doesn't it?
>
> I'll investigate it.
>   
BTW... It happened to me yesterday when using the scrollbar. I am
running on Vista, I don't know if that makes a difference. Also, I
notice if you change the font on the Windows version, that you have to
get it just right otherwise the text will move under the status bar.
>> Auto indentation needs a bit of help still, I think. Here's a synario
>>
>> /****
>> * Hello World
>> * Note:
>> *       Indented line. This is a test. INSERT NEW LINE HERE
>>          CURSOR APPEARS HERE
>>
>>
>> I then have to backspace out to insert the next * character, then space 
>> back it. It would be *super* fantastic if it would detect I am in a comment 
>> and automatically insert the * for me and indent to that line, but I'd be 
>> happy with it indenting to just the first non-whitespace character.
>>     
>
> Certainly, a mode-savvy indenting should be great, but it isn't trivial to
> implement.
>
> But 'ignoring' the asterisk is intentional. It's an inherited behaviour
> from the 3.x version that somebody asked for, to autoindent correctly
> paragraphs like this:
>
>  * This is a paragraph that should be long enough to not fit in a line and
>    wrap in the next one.
>
> It treats *, - and + as special 'almost-space' characters. Yes, I know it's
> odd.
>   
I think that might be best as just a setting per mode. I can see where
that would be very helpful now when dealing with editing text, but
certainly not any language that uses /* ... */

Thanks for the fix, BTW.

Jeremy



-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.
Received on Tue Oct 09 2007 - 21:44:29 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 10 2008 - 08:59:26 CEST