Introducing FiveTech's fivedit

Re: Introducing FiveTech's fivedit

Postby Marc Vanzegbroeck » Wed Jan 21, 2015 7:52 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 9:17 am

Otto,

Here it is:

Code: Select all  Expand view  RUN
  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-contributions/downloads/fivedit.zip
regards, saludos

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

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 9:26 am

Marc,

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

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

Re: Introducing FiveTech's fivedit

Postby Marc Vanzegbroeck » Wed Jan 21, 2015 9:34 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 9:45 am

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Introducing FiveTech's fivedit

Postby Marc Vanzegbroeck » Wed Jan 21, 2015 10:00 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 10:26 am

Marc,

Alt-I and Alt-L already implemented:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedit.zip

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

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

Re: Introducing FiveTech's fivedit

Postby Colin Haig » Wed Jan 21, 2015 10:49 am

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
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Introducing FiveTech's fivedit

Postby cnavarro » Wed Jan 21, 2015 11:18 am

Antonio Linares wrote:Marc,

Alt-I and Alt-L already implemented:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedit.zip

Lets see if Alt-C is possible too...


Antonio
Te refieres a esto?
Manten pulsada ALT mientras marcas con el raton
Image
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Postby dbmanfwh » Wed Jan 21, 2015 1:54 pm

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
dbmanfwh
 
Posts: 38
Joined: Tue Mar 04, 2008 3:44 pm
Location: Korea

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 2:41 pm

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: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 2:42 pm

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
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Introducing FiveTech's fivedit

Postby cnavarro » Wed Jan 21, 2015 2:50 pm

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
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 3:11 pm

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: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Introducing FiveTech's fivedit

Postby Antonio Linares » Wed Jan 21, 2015 3:12 pm

Cristobal,

What about Colin's smart indenting request ?

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

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 24 guests