Mejoras para scintilla

User avatar
leandro
Posts: 1723
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 15 times
Been thanked: 3 times
Contact:

Re: Mejoras para scintilla

Post by leandro »

Buenos dias

Cristobal, puedo pedir algo? :)

Deshacer Ctrl+z

Gracias
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

Por supuesto, mi intencion ha sido desde el principio que fuese una colaboracion entre todos
En mis planes está que las distintas funciones más habituales puedan ser definidas por los usuarios sus "shortcuts"

Saludos
Last edited by cnavarro on Wed Jan 27, 2016 10:28 pm, edited 1 time in total.
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
Francisco Horta
Posts: 845
Joined: Sun Oct 09, 2005 5:36 pm
Location: la laguna, mexico.

Re: Mejoras para scintilla

Post by Francisco Horta »

Cristobal,

Te adjunto los archivos de xmate de un proyecto, actualmente utilizo xMate.

1. el .Env

Code: Select all | Expand



[Environment]
Description 1=Xharbour 1.2.3  FWH 15.02  BCC 7.0
Description 2=
Description 3=
PRG Compiler ver=20150603
C compiler ver=7.0
Subsystem=
Author=Francisco Horta
Last update=09/24/2015

[Advanced]
Command types=1,1,1,1,1,1,1,1,1

[Harbour]
HB_INSTALL=P:\32bits\xHarbour123_20150603
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /es2 /i%HB_INC_INSTALL%
Option prefix=/

[C]
C_INSTALL=P:\32bits\Borland\BCC7
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c -v -O2 -I%HB_INC_INSTALL% -I%C_INC_INSTALL%  -n%HOME%\Obj %C%
C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r  -fo%RES%  %RC%
C_DLL_COMMAND=
Option prefix=-

[User]
POSTEXE_COMMAND=
POSTLIB_COMMAND=
POSTDLL_COMMAND=

[Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
P:\32bits\15.02\FWH\lib\FiveHX.lib=2
P:\32bits\15.02\FWH\lib\FiveHC.lib=3
%HB_LIB_INSTALL%\rtl.lib=4
%HB_LIB_INSTALL%\vm.lib=5
%HB_LIB_INSTALL%\gtgui.lib=6
%HB_LIB_INSTALL%\lang.lib=7
%HB_LIB_INSTALL%\macro.lib=8
%HB_LIB_INSTALL%\rdd.lib=9
%HB_LIB_INSTALL%\dbfntx.lib=10
%HB_LIB_INSTALL%\dbfcdx.lib=11
%HB_LIB_INSTALL%\dbffpt.lib=12
%HB_LIB_INSTALL%\hbsix.lib=13
%HB_LIB_INSTALL%\debug.lib=14
%HB_LIB_INSTALL%\common.lib=15
%HB_LIB_INSTALL%\pp.lib=16
%HB_LIB_INSTALL%\pcrepos.lib=17
%HB_LIB_INSTALL%\ct.lib=18
%HB_LIB_INSTALL%\zlib.lib=19
%HB_LIB_INSTALL%\hbzip.lib=20
%HB_LIB_INSTALL%\libmisc.lib=21
%HB_LIB_INSTALL%\tip.lib=22
%HB_LIB_INSTALL%\png.lib=23
%C_LIB_INSTALL%\cw32.lib=24
%C_LIB_INSTALL%\import32.lib=25
%C_LIB_INSTALL%\uuid.lib=26
%C_LIB_INSTALL%\ws2_32.lib=27
%C_LIB_INSTALL%\PSDK\odbc32.lib=28
%C_LIB_INSTALL%\PSDK\rasapi32.lib=29
%C_LIB_INSTALL%\PSDK\nddeapi.lib=30
%C_LIB_INSTALL%\PSDK\msimg32.lib=31
%C_LIB_INSTALL%\PSDK\psapi.lib=32
%C_LIB_INSTALL%\PSDK\GdiPlus.lib=33
%C_LIB_INSTALL%\PSDK\shell32.lib=34
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=35

[DLL Files]
%C_LIB_INSTALL%\C0W32.OBJ=1
%HB_LIB_INSTALL%\rtl.lib=2
%HB_LIB_INSTALL%\vm.lib=3
%HB_LIB_INSTALL%\gtgui.lib=4
%HB_LIB_INSTALL%\lang.lib=5
%HB_LIB_INSTALL%\macro.lib=6
%HB_LIB_INSTALL%\rdd.lib=7
%HB_LIB_INSTALL%\dbfntx.lib=8
%HB_LIB_INSTALL%\dbfcdx.lib=9
%HB_LIB_INSTALL%\dbfdbt.lib=10
%HB_LIB_INSTALL%\common.lib=11
%HB_LIB_INSTALL%\ct.lib=12
%HB_LIB_INSTALL%\pp.lib=13
%C_LIB_INSTALL%\CW32.LIB=14
%C_LIB_INSTALL%\IMPORT32.LIB=15
 


2. el .bcl

Code: Select all | Expand


P:\Fuentes\xharbour\Autos\Obj\main.Obj +
P:\Fuentes\xharbour\Autos\Obj\TCatalogo.Obj +
P:\Fuentes\xharbour\Autos\Obj\TAutos.Obj +
P:\Fuentes\xharbour\Autos\Obj\TReportes.Obj +
P:\Fuentes\xharbour\Autos\Obj\util.Obj +
P:\Fuentes\xharbour\Autos\Obj\fwcale.Obj +
P:\Fuentes\xharbour\Autos\Obj\btnbmp.Obj +
P:\Fuentes\xharbour\Autos\Obj\Base64.Obj +
P:\32bits\Borland\BCC7\Lib\C0W32.OBJ, +
P:\Fuentes\xharbour\Autos\BIN\autos.Exe, +
, +
P:\32bits\xHarbour123_20150603\Lib\libmysql.lib +
P:\32bits\xHarbour123_20150603\Lib\mysql.lib +
P:\32bits\15.02\FWH\lib\FiveHX.lib +
P:\32bits\15.02\FWH\lib\FiveHC.lib +
P:\32bits\xHarbour123_20150603\Lib\rtl.lib +
P:\32bits\xHarbour123_20150603\Lib\vm.lib +
P:\32bits\xHarbour123_20150603\Lib\gtgui.lib +
P:\32bits\xHarbour123_20150603\Lib\lang.lib +
P:\32bits\xHarbour123_20150603\Lib\macro.lib +
P:\32bits\xHarbour123_20150603\Lib\rdd.lib +
P:\32bits\xHarbour123_20150603\Lib\dbfntx.lib +
P:\32bits\xHarbour123_20150603\Lib\dbfcdx.lib +
P:\32bits\xHarbour123_20150603\Lib\dbffpt.lib +
P:\32bits\xHarbour123_20150603\Lib\hbsix.lib +
P:\32bits\xHarbour123_20150603\Lib\debug.lib +
P:\32bits\xHarbour123_20150603\Lib\common.lib +
P:\32bits\xHarbour123_20150603\Lib\pp.lib +
P:\32bits\xHarbour123_20150603\Lib\pcrepos.lib +
P:\32bits\xHarbour123_20150603\Lib\ct.lib +
P:\32bits\xHarbour123_20150603\Lib\zlib.lib +
P:\32bits\xHarbour123_20150603\Lib\hbzip.lib +
P:\32bits\xHarbour123_20150603\Lib\libmisc.lib +
P:\32bits\xHarbour123_20150603\Lib\tip.lib +
P:\32bits\xHarbour123_20150603\Lib\png.lib +
P:\32bits\Borland\BCC7\Lib\cw32.lib +
P:\32bits\Borland\BCC7\Lib\import32.lib +
P:\32bits\Borland\BCC7\Lib\uuid.lib +
P:\32bits\Borland\BCC7\Lib\ws2_32.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\odbc32.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\rasapi32.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\nddeapi.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\msimg32.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\psapi.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\GdiPlus.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\shell32.lib +
P:\32bits\Borland\BCC7\Lib\PSDK\iphlpapi.lib,, +
P:\Fuentes\xharbour\Autos\Resource\MAIN.Res
 


3. el .xhp

Code: Select all | Expand


[Version]
Type=xMate
Number=1.15

[Info]
Type=Executable
Architecture=FWH_15.02_PRO
Include=%HB_INSTALL%\include;p:\32bits\15.02\FWH\INCLUDE
Define=

[xMate]
Create Map/List File=No

[Project]
Run=
Params=
Final Path=%HOME%\BIN
Maintain LNK=Yes
Default Type=1
Error log=

[Data Path]
Dbf=

[Editor]
G:\DESARROLLO\Fuentes\xharbour\Autos\Source\main.prg=1,N,Y

[Files]
%HB_LIB_INSTALL%\libmysql.lib=1,.F.,0,0,
%HB_LIB_INSTALL%\mysql.lib=2,.F.,0,0,
%HOME%\Resource\MAIN.Res=3,.F.,0,0,
%HOME%\Source\main.prg=4,.F.,47,29,
%HOME%\Source\TCatalogo.prg=5,.F.,0,0,
%HOME%\Source\TAutos.prg=6,.F.,0,0,
%HOME%\Source\TReportes.prg=7,.F.,0,0,
%HOME%\Source\util.prg=8,.F.,0,0,
%HOME%\Source\fwcale.prg=9,.F.,0,0,
%HOME%\Source\btnbmp.prg=10,.F.,0,0,
%HOME%\Source\Base64.prg=11,.F.,0,0,
%C_LIB_INSTALL%\C0W32.OBJ=12,.T.,0,0,
P:\32bits\15.02\FWH\lib\FiveHX.lib=13,.T.,0,0,
P:\32bits\15.02\FWH\lib\FiveHC.lib=14,.T.,0,0,
%HB_LIB_INSTALL%\rtl.lib=15,.T.,0,0,
%HB_LIB_INSTALL%\vm.lib=16,.T.,0,0,
%HB_LIB_INSTALL%\gtgui.lib=17,.T.,0,0,
%HB_LIB_INSTALL%\lang.lib=18,.T.,0,0,
%HB_LIB_INSTALL%\macro.lib=19,.T.,0,0,
%HB_LIB_INSTALL%\rdd.lib=20,.T.,0,0,
%HB_LIB_INSTALL%\dbfntx.lib=21,.T.,0,0,
%HB_LIB_INSTALL%\dbfcdx.lib=22,.T.,0,0,
%HB_LIB_INSTALL%\dbffpt.lib=23,.T.,0,0,
%HB_LIB_INSTALL%\hbsix.lib=24,.T.,0,0,
%HB_LIB_INSTALL%\debug.lib=25,.T.,0,0,
%HB_LIB_INSTALL%\common.lib=26,.T.,0,0,
%HB_LIB_INSTALL%\pp.lib=27,.T.,0,0,
%HB_LIB_INSTALL%\pcrepos.lib=28,.T.,0,0,
%HB_LIB_INSTALL%\ct.lib=29,.T.,0,0,
%HB_LIB_INSTALL%\zlib.lib=30,.T.,0,0,
%HB_LIB_INSTALL%\hbzip.lib=31,.T.,0,0,
%HB_LIB_INSTALL%\libmisc.lib=32,.T.,0,0,
%HB_LIB_INSTALL%\tip.lib=33,.T.,0,0,
%HB_LIB_INSTALL%\png.lib=34,.T.,0,0,
%C_LIB_INSTALL%\cw32.lib=35,.T.,0,0,
%C_LIB_INSTALL%\import32.lib=36,.T.,0,0,
%C_LIB_INSTALL%\uuid.lib=37,.T.,0,0,
%C_LIB_INSTALL%\ws2_32.lib=38,.T.,0,0,
%C_LIB_INSTALL%\PSDK\odbc32.lib=39,.T.,0,0,
%C_LIB_INSTALL%\PSDK\rasapi32.lib=40,.T.,0,0,
%C_LIB_INSTALL%\PSDK\nddeapi.lib=41,.T.,0,0,
%C_LIB_INSTALL%\PSDK\msimg32.lib=42,.T.,0,0,
%C_LIB_INSTALL%\PSDK\psapi.lib=43,.T.,0,0,
%C_LIB_INSTALL%\PSDK\GdiPlus.lib=44,.T.,0,0,
%C_LIB_INSTALL%\PSDK\shell32.lib=45,.T.,0,0,
%C_LIB_INSTALL%\PSDK\iphlpapi.lib=46,.T.,0,0,
 


Espero te sea util.

Saludos
____________________
Paco
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

Francisco, gracias

Espero poder desarrollarlo lo antes posible
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
leandro
Posts: 1723
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 15 times
Been thanked: 3 times
Contact:

Re: Mejoras para scintilla

Post by leandro »

Cristobal buenos días

Que pena molesta de nuevo yo

Lo que pasa es que quiero acelerar el proceso de compilación, para que únicamente me compile los prg que tengan cambios. Sabes como puedo hacer eso?

De antemano gracias
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

Leandro, has probado:

Preferencias - (x)Harbour - Incremental Build ?
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
leandro
Posts: 1723
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 15 times
Been thanked: 3 times
Contact:

Re: Mejoras para scintilla

Post by leandro »

De nuevo yo jejejejejeje

Cristobal se podrían agregar dos opciones

1- Poder Cancelar el proceso de compilación
2- Ejecutar el exe sin compilar

Saludos
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

leandro wrote:De nuevo yo jejejejejeje

Cristobal se podrían agregar dos opciones

1- Poder Cancelar el proceso de compilación
2- Ejecutar el exe sin compilar

Saludos


Leandro, lo que necesites y esté en mi mano

1.- OK
2.- Ya esta implementado para la siguiente version

Saludos
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: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

----------------------------------- NEW VERSION 02/02/2016 ----------------------------

- Al pulsar sobre el bitmap de la pestaña del folder se puede ejecutar el .exe si existe
- Al pulsar ESC se cancela proceso de compilacion ( aun no implementado en proyectos )
- Funcion de autocompletado mejorado
- Vista de funciones, metodos y datas activos al pulsar el caracter :, si tiene un objeto anterior: ej.: oWnd:__
- Implementado cambio de colores de los botones del buttonbar
- Añadidas pestañas en folder inferior para visualizar el fichero .log y el fichero checkres.txt y botones de funciones ( no terminado )


- By clicking on the bitmap of the folder tab you can run the .exe if there
- Pressing ESC cancels compilation process (not yet implemented projects)
- Improved auto-complete
- View of functions, methods and assets datas pressing the character :, if you have a previous object: Ex .: oWnd : __
- Implemented changing colors of buttons buttonbar
- Added folder tabs below to view the .log file and the file checkres.txt and function buttons (not finished)

https://bitbucket.org/fivetech/fivewin- ... Edit36.zip
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
jose_murugosa
Posts: 1183
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay
Contact:

Re: Mejoras para scintilla

Post by jose_murugosa »

Cuando accedes a View->Preferences, te da un error:

Error description: Error BASE/1132 Bound error: array access

Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:PROJECTDLG( 6186 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:PREFERENCES( 5304 )
Called from: .\source\classes\TFIVEDIT.PRG => (b)TFIVEDIT_BUILDMENU( 3344 )
Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 1064 )
Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:COMMAND( 1085 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: D:\FWH\FWHTEAM\SAMPLES\fivedit.prg => TFIVEDITWND:HANDLEEVENT( 1738 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3278 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TFIVEDITWND:ACTIVATE( 1041 )
Called from: .\source\classes\TFIVEDIT.PRG => TFIVEDIT:ACTIVATE( 607 )
Called from: D:\FWH\FWHTEAM\SAMPLES\fivedit.prg => MAIN( 71 )

Por lo demás, bien, me gusta como va quedando :)
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

Jose, gracias, es un problema del CurDir() y el SetCurDir()

De momento hasta que compruebe bien por qué, puedes hacer lo siguiente:
Edita Fivedit.ini y en la entrada 18, cambia su contenido por el path donde está ubicada la aplicacion (sin la barra al final) y prueba
O tambien puedes borrar la entrada
Te agradeceria tus comentarios
Saludos
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
jose_murugosa
Posts: 1183
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay
Contact:

Re: Mejoras para scintilla

Post by jose_murugosa »

Gracias por tu respuesta rápida :)

Anda ok así.
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

New: 06/02/2015

- New: line error in memo at run - script
( with double click over line error in memo, go to line editor, equal in run normal mode )
- New: save and load config projects enviroment for Harbour and xHarbour
( save and load paths and libs without restarting the editor )
- New: Color text menu change with color button bar ( restarting editor )
- New: Additional paths includes ( is functional but not active in compiling )
- New: buttons in folder results
- Finished functions tab .LOG File and CheckRes.Txt File in folder results
- Press ALT + / for double/simple editor view
- Minor bugs fixed

https://bitbucket.org/fivetech/fivewin- ... edit37.zip
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: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Mejoras para scintilla

Post by cnavarro »

Next version: ( in a few days )

Multiples instances of a document ( modification realized at any, is refresh in others )
Views can be different in each document

Image

Image

Implementation use scripts

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
leandro
Posts: 1723
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 15 times
Been thanked: 3 times
Contact:

Re: Mejoras para scintilla

Post by leandro »

Excelente Cristóbal...

Muchas Gracias
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
Post Reply