Alaska Software Inc. - Behaviour at start of line
Username: Password:
AuthorTopic: Behaviour at start of line
Klemens LichterBehaviour at start of line
on Wed, 31 Dec 2003 11:23:54 +0100
Hi,
found that it is possible change the cursor behaviour at end of line (Cursor
beyond EOL). But Im missing the same for "Cursor at start of line": Than it
has to move behind the last character (including spaces) fron the line
before. Unfortunately it dont does this.
My wish is to change this or make it configurable like at EOL.

Another question: My english is not as good: Can please someone explain to
me what "indent" is? I see this word maybe in "Auto indent mode" or
"Backspace unindents" within the editors parametersettings. Maybe sameone
can give me the right German word? Thank you.

Klemens
Pascal BoivinRe: Behaviour at start of line
on Wed, 31 Dec 2003 08:51:13 -0500
Hi Klemens

> Another question: My english is not as good: Can please someone explain to
> me what "indent" is? I see this word maybe in "Auto indent mode" or
> "Backspace unindents" within the editors parametersettings. Maybe sameone
> can give me the right German word? Thank you.

I only speak french! But I can show you an example of "indent":

IF Something
    Do Something    //Here, it is indented
ENDIF

"Auto indent" should add some space after a IF line.
"Backspace unindents" should remove those space.

For the previous example, you would have to type
IF Something<Enter>Do Something<Enter><Backspace>ENDIF

************************
* Pascal Boivin        *
* N.B. Automation inc. *
* (450) 348-9659       *
************************
Klemens LichterRe: Behaviour at start of line
on Fri, 02 Jan 2004 09:24:39 +0100
Hi Pascal,
thank you, its clear now.
Klemens

"Pascal Boivin" <pboivin@nbautomation.com> schrieb im Newsbeitrag
news:WWW_E938E10F@www.nbautomation.com...
> Hi Klemens
>
> > Another question: My english is not as good: Can please someone explain
to
> > me what "indent" is? I see this word maybe in "Auto indent mode" or
> > "Backspace unindents" within the editors parametersettings. Maybe
sameone
> > can give me the right German word? Thank you.
>
> I only speak french! But I can show you an example of "indent":
>
> IF Something
>     Do Something    //Here, it is indented
> ENDIF
>
> "Auto indent" should add some space after a IF line.
> "Backspace unindents" should remove those space.
>
> For the previous example, you would have to type
> IF Something<Enter>Do Something<Enter><Backspace>ENDIF
>
> -- 
> ************************
>  Pascal Boivin        
> * N.B. Automation inc. *
> * (450) 348-9659       *
> ************************
>
>
Andreas Herdt Re: Behaviour at start of line
on Fri, 02 Jan 2004 10:59:39 +0100
Pascal Boivin wrote:

> "Auto indent" should add some space after a IF line.
> "Backspace unindents" should remove those space.

As far as I can see "smart tab"
(menu tools->editor options->Intellicode)
is close to that what you want.
If this is enabled then each tab searches
a "good" position where to position the cursor.

       if a = 1
<tab> |              <- curosor pos

       if a = 1
<2tab>   |           <- curosor pos

When using tab with auto indent then the
previous lines are taken into consideration
when tab is pressed:

       if a = 1       <enter>
       |              <- cursor pos

As far as I can see your are reqesting this:

       if a = 1       <enter>
          |           <- cursor pos

This behaviour is not implemented.

   Andreas Herdt
   [Alaska Research & Development]
Klemens LichterRe: Behaviour at start of line
on Fri, 02 Jan 2004 12:03:16 +0100
Hi Andreas,
the point with indents is clear, but what about my first question?

> found that it is possible change the cursor behaviour at end of line
(Cursor
> beyond EOL). But Im missing the same for "Cursor at start of line": Than
it
> has to move behind the last character (including spaces) fron the line
> before. Unfortunately it dont does this.
> My wish is to change this or make it configurable like at EOL.

Have a good new year!
Klemens



"Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im Newsbeitrag
news:5UvsmhR0DHA.2832@S15147418...
> Pascal Boivin wrote:
>
> > "Auto indent" should add some space after a IF line.
> > "Backspace unindents" should remove those space.
>
> As far as I can see "smart tab"
> (menu tools->editor options->Intellicode)
> is close to that what you want.
> If this is enabled then each tab searches
> a "good" position where to position the cursor.
>
>        if a = 1
> <tab> |              <- curosor pos
>
>        if a = 1
> <2tab>   |           <- curosor pos
>
> When using tab with auto indent then the
> previous lines are taken into consideration
> when tab is pressed:
>
>        if a = 1       <enter>
>        |              <- cursor pos
>
> As far as I can see your are reqesting this:
>
>        if a = 1       <enter>
>           |           <- cursor pos
>
> This behaviour is not implemented.
>
>    Andreas Herdt
>    [Alaska Research & Development]
>
Andreas Herdt Re: Behaviour at start of line
on Fri, 02 Jan 2004 17:35:30 +0100
Klemens Lichter wrote:

> Hi Andreas,
> the point with indents is clear, but what about my first question?
> 
> 
>>found that it is possible change the cursor behaviour at end of line
> 
> (Cursor
> 
>>beyond EOL). But I´m missing the same for "Cursor at start of line": Than
> 
> it
> 
>>has to move behind the last character (including spaces) fron the line
>>before. Unfortunately it don´t does this.
>>My wish is to change this or make it configurable like at EOL.

Sorry, I had already reproduced the behaviour, allthough I have
forgotten to replay to your question.
As far as I can see "cursor behind EOL" should do exactly what
you want, means: the editor should not forget the spaces allready
typed.

Additionally there should be the feature that spaces behind EOL
should not be saved when the file is saved.

(Same goes to cursor behind EOF).

   Andreas Herdt
   [Alaska Research & Development]

> Have a good new year!
> Klemens
> 
> 
> 
> "Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im Newsbeitrag
> news:5UvsmhR0DHA.2832@S15147418...
> 
>>Pascal Boivin wrote:
>>
>>
>>>"Auto indent" should add some space after a IF line.
>>>"Backspace unindents" should remove those space.
>>
>>As far as I can see "smart tab"
>>(menu tools->editor options->Intellicode)
>>is close to that what you want.
>>If this is enabled then each tab searches
>>a "good" position where to position the cursor.
>>
>>       if a = 1
>><tab> |              <- curosor pos
>>
>>       if a = 1
>><2tab>   |           <- curosor pos
>>
>>When using tab with auto indent then the
>>previous lines are taken into consideration
>>when tab is pressed:
>>
>>       if a = 1       <enter>
>>       |              <- cursor pos
>>
>>As far as I can see your are reqesting this:
>>
>>       if a = 1       <enter>
>>          |           <- cursor pos
>>
>>This behaviour is not implemented.
>>
>>   Andreas Herdt
>>   [Alaska Research & Development]
>>
> 
> 
>
Klemens LichterRe: Behaviour at start of line
on Fri, 02 Jan 2004 18:10:02 +0100
Sorry, Andreas,
but Cursor behind EOL is not what I want, this is running OK. I speak of the
opposite direction, maybe I did not write this exact enough: If I place the
cursor at the beginning of a line and press cursor-left-key than now the
cursor doesnt move at all. But I think it has to move up one line and place
behind the last character of this line. At least this behaviour has to be
configurable like that concerning EOL.

I dont like to allways go away from keyboard and search the mouse somewhere
on my desk and place the cursor at a new line and than come back to
keyboard, find the right place for my fingers and start writing again. So
Im used to make as much possible with the keybord, tis is much better than
working with the mose. And for this my wish is to have cursor moving like
Im used to from every textprocessing program  and also my old dos-editor.
I hope you can understand me.

Klemens

"Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im Newsbeitrag
news:uRD$y%23U0DHA.2012@S15147418...
> Klemens Lichter wrote:
>
> > Hi Andreas,
> > the point with indents is clear, but what about my first question?
> >
> >
> >>found that it is possible change the cursor behaviour at end of line
> >
> > (Cursor
> >
> >>beyond EOL). But Im missing the same for "Cursor at start of line":
Than
> >
> > it
> >
> >>has to move behind the last character (including spaces) fron the line
> >>before. Unfortunately it dont does this.
> >>My wish is to change this or make it configurable like at EOL.
>
> Sorry, I had already reproduced the behaviour, allthough I have
> forgotten to replay to your question.
> As far as I can see "cursor behind EOL" should do exactly what
> you want, means: the editor should not forget the spaces allready
> typed.
>
> Additionally there should be the feature that spaces behind EOL
> should not be saved when the file is saved.
>
> (Same goes to cursor behind EOF).
>
>    Andreas Herdt
>    [Alaska Research & Development]
>
> > Have a good new year!
> > Klemens
> >
> >
> >
> > "Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im
Newsbeitrag
> > news:5UvsmhR0DHA.2832@S15147418...
> >
> >>Pascal Boivin wrote:
> >>
> >>
> >>>"Auto indent" should add some space after a IF line.
> >>>"Backspace unindents" should remove those space.
> >>
> >>As far as I can see "smart tab"
> >>(menu tools->editor options->Intellicode)
> >>is close to that what you want.
> >>If this is enabled then each tab searches
> >>a "good" position where to position the cursor.
> >>
> >>       if a = 1
> >><tab> |              <- curosor pos
> >>
> >>       if a = 1
> >><2tab>   |           <- curosor pos
> >>
> >>When using tab with auto indent then the
> >>previous lines are taken into consideration
> >>when tab is pressed:
> >>
> >>       if a = 1       <enter>
> >>       |              <- cursor pos
> >>
> >>As far as I can see your are reqesting this:
> >>
> >>       if a = 1       <enter>
> >>          |           <- cursor pos
> >>
> >>This behaviour is not implemented.
> >>
> >>   Andreas Herdt
> >>   [Alaska Research & Development]
> >>
> >
> >
> >
>
Andreas Herdt Re: Behaviour at start of line
on Mon, 05 Jan 2004 11:07:00 +0100
Klemens Lichter wrote:
> Sorry, Andreas,
> but Cursor behind EOL is not what I want, this is running OK. I speak of the
> opposite direction, maybe I did not write this exact enough: If I place the
> cursor at the beginning of a line and press cursor-left-key than now the
> cursor doesn´t move at all. But I think it has to move up one line and place
> behind the last character of this line. At least this behaviour has to be
> configurable like that concerning EOL.

I see. You are right. This is a unneccessary limitation.
It is on the list and thanks for your patience.

> I don´t like to allways go away from keyboard and search the mouse somewhere
> on my desk and place the cursor at a new line and than come back to
> keyboard, find the right place for my fingers and start writing again.

No Reason for leaving the keybord. <Cursor-Up>, <End> will navigate the 
cursor to the end of previous line.

   Andreas Herdt
   [Alaska Research & Development]

> So
> I´m used to make as much possible with the keybord, tis is much better than
> working with the mose. And for this my wish is to have cursor moving like
> I´m used to from every textprocessing program  and also my old dos-editor.
> I hope you can understand me.
> 
> Klemens
> 
> "Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im Newsbeitrag
> news:uRD$y%23U0DHA.2012@S15147418...
> 
>>Klemens Lichter wrote:
>>
>>
>>>Hi Andreas,
>>>the point with indents is clear, but what about my first question?
>>>
>>>
>>>
>>>>found that it is possible change the cursor behaviour at end of line
>>>
>>>(Cursor
>>>
>>>
>>>>beyond EOL). But I´m missing the same for "Cursor at start of line":
> 
> Than
> 
>>>it
>>>
>>>
>>>>has to move behind the last character (including spaces) fron the line
>>>>before. Unfortunately it don´t does this.
>>>>My wish is to change this or make it configurable like at EOL.
>>
>>Sorry, I had already reproduced the behaviour, allthough I have
>>forgotten to replay to your question.
>>As far as I can see "cursor behind EOL" should do exactly what
>>you want, means: the editor should not forget the spaces allready
>>typed.
>>
>>Additionally there should be the feature that spaces behind EOL
>>should not be saved when the file is saved.
>>
>>(Same goes to cursor behind EOF).
>>
>>   Andreas Herdt
>>   [Alaska Research & Development]
>>
>>
>>>Have a good new year!
>>>Klemens
>>>
>>>
>>>
>>>"Andreas Herdt" <andreas.herdt@alaska-research.com> schrieb im
> 
> Newsbeitrag
> 
>>>news:5UvsmhR0DHA.2832@S15147418...
>>>
>>>
>>>>Pascal Boivin wrote:
>>>>
>>>>
>>>>
>>>>>"Auto indent" should add some space after a IF line.
>>>>>"Backspace unindents" should remove those space.
>>>>
>>>>As far as I can see "smart tab"
>>>>(menu tools->editor options->Intellicode)
>>>>is close to that what you want.
>>>>If this is enabled then each tab searches
>>>>a "good" position where to position the cursor.
>>>>
>>>>      if a = 1
>>>><tab> |              <- curosor pos
>>>>
>>>>      if a = 1
>>>><2tab>   |           <- curosor pos
>>>>
>>>>When using tab with auto indent then the
>>>>previous lines are taken into consideration
>>>>when tab is pressed:
>>>>
>>>>      if a = 1       <enter>
>>>>      |              <- cursor pos
>>>>
>>>>As far as I can see your are reqesting this:
>>>>
>>>>      if a = 1       <enter>
>>>>         |           <- cursor pos
>>>>
>>>>This behaviour is not implemented.
>>>>
>>>>  Andreas Herdt
>>>>  [Alaska Research & Development]
>>>>
>>>
>>>
>>>
> 
>
João Pedro Machado de Sousa Re: Behaviour at start of line
on Fri, 02 Jan 2004 14:11:44 +0000
Andreas

> As far as I can see your are reqesting this:
> 
>        if a = 1       <enter>
>           |           <- cursor pos

Exactly. And auto unindent when you press <enter> after an else of endif.
If should work also with for .. next, do .. enddo, etc.
 
> This behaviour is not implemented.

When will it be? To me this is a must - doesn't anyone else think so? Its
one of the greatest features of MEW because you can instantly check if you
did any mistake.

Very Best Regards

João Pedro Machado de Sousa
Andreas Herdt Re: Behaviour at start of line
on Fri, 02 Jan 2004 17:43:18 +0100
João Pedro Machado de Sousa wrote:

> Andreas
> 
> 
>>As far as I can see your are reqesting this:
>>
>>       if a = 1       <enter>
>>          |           <- cursor pos
> 
> 
> Exactly. And auto unindent when you press <enter> after an else of endif.
> If should work also with for .. next, do .. enddo, etc.
>  
> 
>>This behaviour is not implemented.
> 
> 
> When will it be? To me this is a must - doesn't anyone else think so? Its
> one of the greatest features of MEW because you can instantly check if you
> did any mistake.

I think there are mistakes that can not be avoided by
such a feature 

All joking aside, this would be a nice feature. I put it on the list.
I can not give any estimate when this will be implemented.
It goes whith the same priority as highlighting nested structures
(if, for, #ifdef, [, (, ....)

   Andreas Herdt
   [Alaska Research & Development]
João Pedro Machado de Sousa Re: Behaviour at start of line
on Mon, 05 Jan 2004 19:24:14 +0000
Andreas

> I think there are mistakes that can not be avoided by
> such a feature 

Yes, there are, but not with me, of course . Anyway this kind of feature
is a productivity boost I learned not to be able to live without. So, it
seems I'll stick with MEW a little longer ...
 
> All joking aside, this would be a nice feature. I put it on the list.
> I can not give any estimate when this will be implemented.
> It goes whith the same priority as highlighting nested structures
> (if, for, #ifdef, [, (, ....)

I'll wait for it.

Very Best Regards

João Pedro Machado de Sousa