Page 4 of 38

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 7:52 am
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?

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 9:17 am
by Antonio Linares
Otto,

Here it is:

Code: Select all  Expand view
  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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 9:26 am
by Antonio Linares
Marc,

What is MultiEdit behavior for Alt+I ?

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 9:34 am
by Marc Vanzegbroeck
Antonio,

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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 9:45 am
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 ?

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 10:00 am
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 ?

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 10:26 am
by Antonio Linares
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...

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 10:49 am
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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 11:18 am
by cnavarro
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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 1:54 pm
by dbmanfwh
If press Alt + c, message screen that is 99 appears.
Perhaps, ASCII Code seems to appear.

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 2:41 pm
by Antonio Linares
Crsitobal,

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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 2:42 pm
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 ?

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 2:50 pm
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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 3:11 pm
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

Re: Introducing FiveTech's fivedit

PostPosted: Wed Jan 21, 2015 3:12 pm
by Antonio Linares
Cristobal,

What about Colin's smart indenting request ?

Have you reviewed it already ? many thanks :-)