Introducing FiveTech's fivedit

Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: Introducing FiveTech's fivedit

Post by Marc Vanzegbroeck »

Antonio,

I get an error if I press ALT-I. I'm used to press this using MuliEdit :D
Is it possible to define button-combinations, so we can use brief-emulation?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Otto,

Here it is:

Code: Select all

   ACTIVATE WINDOW ::oWnd MAXIMIZED ;
      ON RESIZE If( nSizeType != 1, ( ::oVSplitL:AdjLeft(),;
                  ::oVSplitR:SetPosition( ::oWnd:nWidth - 200 ),;
                  ::oVSplitR:Adjust(),;
                  ::oHSplitC:SetPosition( ::oWnd:nHeight - 200 ),;
                  ::oEditor:SetFocus() ), )
 
I just modified it, as we should only do that when nSizeType is different from 1 (minimize).

This is the new fivedit version:
https://bitbucket.org/fivetech/fivewin- ... ivedit.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Marc,

What is MultiEdit behavior for Alt+I ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: Introducing FiveTech's fivedit

Post by Marc Vanzegbroeck »

Antonio,

ALT-I : Toggle Insert/overwrite
ALT-L : Select complete line
ALT-C : Select a block
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Marc,

How select a block behaves ?

Does it lets you mark a block same as if you press shift and arrow keys ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: Introducing FiveTech's fivedit

Post by Marc Vanzegbroeck »

Antonio,

With a block selection, you can select a piece of a code. I can't make a bitmap of an example now, because where I an now, I can't upload a bmp to my server.

If you have a text:
repl planning->todo_01   with &('dag->todo_01_'+padl(alltrim(str(vkolom)),2,'0'))
repl planning->todo_02   with &('dag->todo_02_'+padl(alltrim(str(vkolom)),2,'0'))
repl planning->todo_03   with &('dag->todo_03_'+padl(alltrim(str(vkolom)),2,'0'))

You can select
repl planning->todo_01   with &('dag->todo_01_'+padl(alltrim(str(vkolom)),2,'0'))
repl planning->todo_02   with &('dag->todo_02_'+padl(alltrim(str(vkolom)),2,'0'))
repl planning->todo_03   with &('dag->todo_03_'+padl(alltrim(str(vkolom)),2,'0'))
and then copy it and paste it on an other place.
I use it many times..

If you press ALT-C, it select a point, than with the arrow-keys you can go to the other corner
Antonio Linares wrote:Marc,

How select a block behaves ?

Does it lets you mark a block same as if you press shift and arrow keys ?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Marc,

Alt-I and Alt-L already implemented:

https://bitbucket.org/fivetech/fivewin- ... ivedit.zip

Lets see if Alt-C is possible too...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Introducing FiveTech's fivedit

Post by Colin Haig »

Hi Antonio

Do you think you could implement smart indenting and outdenting -
the editor I have used for years does this and I have yet to find another editor that can do both.

When you type

do while something - the cursor is indented 3 or 4 spaces
next line
enddo - when you type enddo it is outdented to line up with the do while

the same happens for
if else elseif endif
do case endcase

Cheers

Colin
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Antonio Linares wrote:Marc,

Alt-I and Alt-L already implemented:

https://bitbucket.org/fivetech/fivewin- ... ivedit.zip

Lets see if Alt-C is possible too...
Antonio
Te refieres a esto?
Manten pulsada ALT mientras marcas con el raton
Image
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
dbmanfwh
Posts: 38
Joined: Tue Mar 04, 2008 3:44 pm
Location: Korea

Re: Introducing FiveTech's fivedit

Post by dbmanfwh »

If press Alt + c, message screen that is 99 appears.
Perhaps, ASCII Code seems to appear.
Regards,
Moon
FWH 16.11 | xHarbour | Harbour | BCC72 | DBF | ADS | MySQL | DrLib
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Crsitobal,

Yes, I guess Mark means that but using the arrow keys instead of the mouse
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Moon,

Yes, I left that code there to check the values that we may want to implement.

What do you need for Alt-C ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Post by cnavarro »

Antonio Linares wrote:Crsitobal,

Yes, I guess Mark means that but using the arrow keys instead of the mouse
Es lo mismo
Pulsa SHIFT + ALT + CURSOR KEY
No hace falta activar el Modo Columna anteriormente
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Cristobal,

Pero no podriamos activar el modo columna y que solo tenga que usarse las flechas ?

me suena haber visto algo de este modo en la documentación de Scintilla
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Introducing FiveTech's fivedit

Post by Antonio Linares »

Cristobal,

What about Colin's smart indenting request ?

Have you reviewed it already ? many thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply