HELP : text alignment on cursor place

Started by Alain, June 01, 2010, 02:41:46 PM

Previous topic - Next topic

Alain

Hello
I am looking for  :

Place the cursor in the writting line
KEY "CTRL+something"
and all the line move "from the beginning"  to the cursor place.

I saw the HotkeyShema and"manage tool" but don't have result. Sorry
Have a good day.

Alain

alex

Hi Alain,

sorry this was not clear...
"and all the line move "from the beginning"  to the cursor place"  - can you explain in more detail.
what is a line (line text?) move to (cut + paste ?) from beginning ? :)

Maybe write an example ?

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Alain

Ok, exemple

"this is a program line text "
                        ^cursor place

"CTRL+something" and all the line move at the cursor place
       
"                       this is a program line text"
                        ^cursor place

it's a easy way to indent manually with two keys
and cursor down

Best reguards
Alain

Stefan

Quote from: Alain on June 01, 2010, 03:12:17 PM
Ok, exemple

"this is a program line text "
                        ^cursor place

"CTRL+something" and all the line move at the cursor place
       
"                       this is a program line text"
                        ^cursor place

it's a easy way to indent manually with two keys
and cursor down

Best reguards
Alain
That's an good example for the upcoming scripting feature.

"this is a program line text "
                        ^cursor place

On command:
{
col = Get_cursor-pos(X)

Goto( Pos1 )
insertChar(" ", col )
Goto( col )
}
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Alain


alex

Hi Alain,

I have understand the request. You wont to indent line till current position.
This is not possible now (there is no such command).

But Stefan right, it is correct way to do this via scripting. Yes, I know it is still not available and already long time in development, but believe me I do my best and it will come :)

I will place your request to list of requested "scripts" and will add it as an example when scripting engine will be available for public testing.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]