FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Introducing FiveTech's fivedit
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 07: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 09:17 AM
Otto,

Here it is:

Code (fw): Select all Collapse
   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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 09:26 AM

Marc,

What is MultiEdit behavior for Alt+I ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 09: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 09: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
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Introducing FiveTech's fivedit
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: 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
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Introducing FiveTech's fivedit
Posted: 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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Introducing FiveTech's fivedit
Posted: 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
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
Posts: 38
Joined: Tue Mar 04, 2008 03:44 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 01: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 02: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 02: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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 02: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 03: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Wed Jan 21, 2015 03:12 PM

Cristobal,

What about Colin's smart indenting request ?

Have you reviewed it already ? many thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com