Post Reply 
Editor/converter/program manager for the Prime Calculator (PrimeComm)
01-17-2014, 01:43 AM (This post was last modified: 01-19-2014 04:55 PM by compsystems.)
Post: #21
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
Ariel. si, el código que pegue del código en la parte superior, en el comando KILL le hace falta punto y coma KILL; (gracias por reportar)

Acabo de comprobar en mi emulador que el comando RAND ahora trabaja diferente es decir en la versión previa de firmware retorna un numero entero y ahora decimal puedes comprobarlo, osea que no es un BUG, pero para dar compatibilidad con el nuevo firmware cambiare la sentencia que tu propones

Code:
num_secreto local := ( rand () mod 100) + 1; // trabaja bien solo en versiones del CAS menores o iguales a  1.1.0
Code:
num_secreto local := IP( random ( 1, 100) ); // trabaja bien solo en versiones del CAS mayores a  1.1.x

////

Erwin porfavor puedes incorporar Archivos recientes para ubicar rapidamente proyectos creados, ademas incluir funciones de reemplazar Gracias

////

me ayudan a comprobar por que al enviar el siguiente código, las instrucciones comentadas el editor las toma como ERROR DE SINTAXIS

Code:
EXPORT testPrimeComm()
BEGIN
LOCAL id0, id1, id2, id3, id4, id5, id6;X;
LOCAL id7, id8, id9, id10, id11, id12, id13;
LOCAL id14, id15, id16,id17,id18,id19,id20,id21;
LOCAL id22,id23,id24,id25,id26,id27,id28,vect1;
print("\tHello\nworld");
id0:=2²; print(id0); 
id1:=5; print(id1); 
id1:=inv(5); print(id1); 
9▶id2; print(id2); 
id3:=5E-13; print(id3);
id4:=exp(5); print(id4);
id5:=; print(id5);
id6:=5≠9; print(id6);
id7:=4≤5; print(id7);
id8:=9≥8; print(id8);
id9:=√(4); print(id9);
id9:=3 nthRoot -8; 
id10:=∫(X,X,1,2); print(id10);
id10:=int(X,X,1,2); print(id10);
id11:=∂(X,X); print(id11);
id11:=diff(X,X); print(id11);
id12:=5∡53; print(id12);
id13:=π; print(id13);
id14:=∑(X,X,1,2); print(id14);
id15:=limit(X,X,X,∞); print(id15);
id16:=limit(X,X,X,±∞); print(id16);
id17:= quote(sin(X)); print(id17);
sto(3,id18); print(id18);
id19:=45_(deg )▶_rad; print(id19);
id20:= 1 AND 0; print(id20);
//id20:= 1 && 0; print(id20);
id21:= 1 OR 0; print(id21);
//id21:= 1 || 0; print(id21);
id22:= 1 XOR 0; print(id22);
id23:=bitAnd( #1100b, #1010b ); print(id23); 
//id24:={1,2} union {3,4}; print(id24);
id25:=product( X , X ,-1,10); print(id25);
//id26:=randpoly(2,1..1.1) ;
id26:=PX→C( {189,69} ); 
//id26:=poly1 [1,2,3 ]; 
//id26:=deltaList( { 1,2,3 } );
id26:=∆list(  { 1,2,3 } );
//id26):=Πlist({ 1,2,3 });
id27:=∑list(  { 1,2,3 } );
id27:=[[1,2,3 ]].+ 4; 
id27:=dim("\n");
id27:=dim("\t");
//id27:=[[1,2],[3,4]](2,1);
id28:=#10110b;
id28:=#26o;
F1:='SIN(X)'; print(F1);
//F2:=(x,y)-> x²+y;
vect1:=[1,2,3]; print(vect1);
vect1({1,1}):=4; print(vect1);
print("kk");
return "Done";
END;

La salida del codigo anterior se queda en el primer pantallazo, debería visualizarse en la ultima linea de impresión


BUGs: Sentencias que fallan dentro del editor de programas de la HP-Prime pero no en la Entry Line, alguien sabe por que?

Code:

print("\tHello\nworld");
id21:= 1 || 0;
id20:= 1 && 0;
id24:={1,2} union {3,4};
id26:=poly1 [1,2,3 ];
id26:=deltaList( { 1,2,3 })
F2:=(x,y)-> x²+y;
Find all posts by this user
Quote this message in a reply
01-17-2014, 01:15 PM
Post: #22
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
(01-17-2014 01:43 AM)compsystems Wrote:  Erwin porfavor puedes incorporar Archivos recientes para ubicar rapidamente proyectos creados, ademas incluir funciones de reemplazar Gracias

OK. Ambas funciones las tenía en mente, pues eran necesarias. Van en la 0.8 b12

[Image: Image%202014-01-17%20at%2010.15.06%20AM.png]

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2014, 04:59 PM
Post: #23
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
gracias Erwin por tu labor =)

He notado lo siguiente

1: Si se edita o modifica un archivo, al enviarlo no lo actualiza, solo se actualiza si se renombra el nombre del programa dentro del editor

2: Eliminar espacios no útiles dentro de un código es una manera de comprensión, buena idea, pero sugiero lo siguiente

2.1 Comprensión al máximo es decir elimina todos los espacios no útiles
y trata de colocar una sentencia continua a la otra, claro esta limitando un ancho de caracteres

código original
Code:
Export prgName() 
begin
  while( num_secreto <> num_ingresado and intentos > 1 ) do
      if num_secreto > num_ingresado then
         print( "El numero es mayor" );
      else ...
      end
end;

Comprimido al maximo 2.1
Code:
Export prgName() begin while(num_secreto<>num_ingresado and intentos>1) do if num_secreto>num_ingresado then print("El numero es mayor"); else ... end;

2.2 Comprensión manteniendo cada nueva linea es decir mantiene el numero de lineas originales del código he inicios de tabulacion para mantener el código legible pero algo comprimido


Comprimido version 2.2
Code:

Export prgName() 
begin
  while(num_secreto<>num_ingresado and intentos>1) do
    if num_secreto>num_ingresado then
    print("El numero es mayor");
    else ...
end

2.3 Comprensión similar a la anterior pero eliminando también espacios iniciales
Code:

Export prgName() 
begin
while(num_secreto<>num_ingresado and intentos>1) do
if num_secreto>num_ingresado then
print("El numero es mayor");
else ...
end


Ahora viene unas peticiónes mas =)

Agregar comentar/descomentar seleccion

agregar exportar en primePAD
exportar archivo actual con las preferencias de código actual, esto muy util por que hay usuarios que les gusta códigos sin espacios entre instrucciones, sin tabulacion, sin comentarios etc

en este mismo menú agregar una petición algo compleja reindentar un codigo
"comprimido" en el editor de programas, es decir teniendo un codigo comprimido agregar tabulaciones automáticamente, organizar los bloques de sentencias etc
Find all posts by this user
Quote this message in a reply
01-17-2014, 06:27 PM
Post: #24
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
(01-17-2014 04:59 PM)compsystems Wrote:  gracias Erwin por tu labor =)
1: Si se edita o modifica un archivo, al enviarlo no lo actualiza, solo se actualiza si se renombra el nombre del programa dentro del editor

Esto es por la calculadora, no sé si debería enviar un comando de "borrar" a ella o no (me parece un poco invasivo porque es posible que el nombre del programa coincida)

Con los espacios, tengo una pregunta, es posible colocar todo en 1 sola linea? Actualmente lo que hace es buscar si hay ";" y ahí comprime.

Y con lo de exportar, ya está. Send to -> Browse... (eso usa la configuración de preferencias)

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
01-18-2014, 03:54 PM (This post was last modified: 01-19-2014 03:07 PM by compsystems.)
Post: #25
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
he realizado pruebas con el siguiente código para el CAS MODE

Extrae los coeficientes de una expresión polinomica, codigo escrito "muy legible" o editable (espacios entre comandos, operadores, variables, tabulacion, etc)
Code:

polyToCoeff( Poly, Var ):=
// Extrae los coeficientes de una expresión polinomica, version 0.0.2 By CompSystems Nov 2013
BEGIN
    LOCAL PolyFnt, Out, Cnt0, Temp0;
    purge( Pol );
    
    expr( Pol( Var ) + ":=" + string( Poly ) );
    Out := MAKELIST( 0, Cnt1, degree( Poly ), 0, 1 );
    Cnt0 := 0;
    WHILE Pol(Var) <> 0 DO
        Temp0 := Pol( Var ) / ( Cnt0! ) ;
        Out[ Cnt0 ] := ( Temp0 | Var = 0 );
        Cnt0 := Cnt0 + 1;
        Pol( Var ) := diff( Pol( Var ), Var);
    END;
    Out := expr( "poly1[" + string( REVERSE( Out ) ) + "]" );
    RETURN( Out );
END;

versión comprimida (no editable) en una sola linea y opera bien, así que si se puede comprimir todo el archivo en una sola linea, aunque acá se vea separado en algunas lineas

Code:
polyToCoeff(Poly,Var):= BEGIN LOCAL PolyFnt,Out,Cnt0,Temp0;purge(Pol);expr(Pol(Var)+":="+string(Poly));Out:=MAKELIST(0,Cnt1,degree(Poly),0,1);Cnt0:=0;WHILE Pol(Var)<> 0 DO Temp0:=(Pol(Var)/Cnt0!);Out[Cnt0]:=(Temp0| (Var)=0);Cnt0:=Cnt0+1;Pol(Var):=diff(Pol(Var),Var);END;Out:=expr("poly1["+string(REVERSE(Out))+"]");RETURN(Out);END;

otros requerimientos

*: Al enviar un archivo si el "emulador" no esta activo, abrirlo

*: Al crear un nuevo programa llevar un contador interno del nombre del programa, es decir le incorpore un postfijo a programName#() por que actualmente siempre coloca programName() cada vez que se da click en file new

*: Al crear un nuevo archivo o archivo vacío y pegar un código sobre el, detectar el nombre de la función o programa en el momento de almacenarlo en el PC

EXPORT laplace()
BEGIN
...
END;

En file save (por primera vez), aparecería laplace.hpprgm y no un campo vacio

detectar el nombre del programa seria buscar la primer cadena de texto antes del primer paréntesis ( encontrado

*: permitir pestanias para tener varios archivos visibles en el PrimePAD, en una sola ventana, en lugar de ventanas independientes para cada archivo

*: detectar si el archivo ha sido modificado por otros editores, en especial por el "editor" de programas de connectivitykit de HP

*: En status aparece Not connected, me gustaria ver Device not connected, seria posible detectar el numero del serial del dispositivo?

*: Quiero enviar expresiones o comandos a la EntryLine usando PrimeComm, Erwin sabes como hacerlo? o podría alguien del HP TEAM ayudar (lo dudo)

*: Para promover PrimeComm al guardar en el PC un archivo en versión texto agregar dentro del código, y al inicio del mismo una cadena de texto como comentario lo siguiente o algo similar

// saved with PrimeComm v 0.8 b...
EXPORT ...()
BEGIN
...
END;

*: Como la HP-prime tiene un modulo inalambrico, habría que explorar la posibilidad de una comunicación por este medio

*: Reconocer un archivo o codigo en ASCII 7 bits para ser decodificado y luego enviado a la calculadora (es muy util esta codificacion por que desde un editor simple de texto no se puede pegar especiales unicode )

ASCII_7bits.txt
Code:

EXPORT ASCII_7bits()

BEGIN

LOCAL id0, id1, id2, id3, id4, id5, id6;X;
LOCAL id7, id8, id9, id10, id11, id12, id13;
LOCAL id14, id15, id16, id17, id18, id19;


id0:=X\^2\;

id1:=X\^-1\;

9\store\id2;

id3:=5\ee\-13;

id4:=\e\(5);

id5:=\i\;

id6:=5\!=\9;

id7:=4\<=\5;

id8:=9\>=\8;

id9:=\root\(4);

id10:=\integral\(X,X,1,2);

id11:=\diff\(X,X);

id12:=5\/_\53;

id13:=\pi\;

id14:=\Sigma\(X,X,1,2);

id15:=limit(X,X,X,\infinity\);

id16:=limit(X,X,X,\+-\\infinity\);

END;



Gracias
Find all posts by this user
Quote this message in a reply
01-19-2014, 05:42 PM (This post was last modified: 01-19-2014 05:46 PM by eried.)
Post: #26
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
(01-18-2014 03:54 PM)compsystems Wrote:  he realizado pruebas con el siguiente código para el CAS MODE

Extrae los coeficientes de una expresión polinomica, codigo escrito "muy legible" o editable (espacios entre comandos, operadores, variables, tabulacion, etc)
Code:

polyToCoeff( Poly, Var ):=
// Extrae los coeficientes de una expresión polinomica, version 0.0.2 By CompSystems Nov 2013
BEGIN
    LOCAL PolyFnt, Out, Cnt0, Temp0;
    purge( Pol );
    
    expr( Pol( Var ) + ":=" + string( Poly ) );
    Out := MAKELIST( 0, Cnt1, degree( Poly ), 0, 1 );
    Cnt0 := 0;
    WHILE Pol(Var) <> 0 DO
        Temp0 := Pol( Var ) / ( Cnt0! ) ;
        Out[ Cnt0 ] := ( Temp0 | Var = 0 );
        Cnt0 := Cnt0 + 1;
        Pol( Var ) := diff( Pol( Var ), Var);
    END;
    Out := expr( "poly1[" + string( REVERSE( Out ) ) + "]" );
    RETURN( Out );
END;

versión comprimida (no editable) en una sola linea y opera bien, así que si se puede comprimir todo el archivo en una sola linea, aunque acá se vea separado en algunas lineas

Code:
polyToCoeff(Poly,Var):= BEGIN LOCAL PolyFnt,Out,Cnt0,Temp0;purge(Pol);expr(Pol(Var)+":="+string(Poly));Out:=MAKELIST(0,Cnt1,degree(Poly),0,1);Cnt0:=0;WHILE Pol(Var)<> 0 DO Temp0:=(Pol(Var)/Cnt0!);Out[Cnt0]:=(Temp0| (Var)=0);Cnt0:=Cnt0+1;Pol(Var):=diff(Pol(Var),Var);END;Out:=expr("poly1["+string(REVERSE(Out))+"]");RETURN(Out);END;

Bien, pero habría que probar otros comandos y expresiones. Aún no me meto 100% programando en la calculadora (de hecho aún está reservada para los experimentos de la batería) así que todavía no sé que le falta al editor (por no usarlo).

Actualicé ciertas cosas recién (0.8 b13), como el tabulador (que sean espacios porque o sino salen símbolos en la HP) y que la indentación sea inteligente y que el cursor se posicione bien al iniciar (preparándolo para plantillas futuras).

Aún no decido como poner las plantillas, pero se me ocurre algo así editable por mientras:
[Image: Image%202014-01-19%20at%202.24.37%20PM.png]

(01-18-2014 03:54 PM)compsystems Wrote:  otros requerimientos

*: Al enviar un archivo si el "emulador" no esta activo, abrirlo
No encuentro aún una forma limpia de detectar su ubicación (que no sea algo fijo escrito en código), cuando está abierto ahí robo la ruta del ejecutable.
(01-18-2014 03:54 PM)compsystems Wrote:  *: Al crear un nuevo programa llevar un contador interno del nombre del programa, es decir le incorpore un postfijo a programName#() por que actualmente siempre coloca programName() cada vez que se da click en file new
Mas que contador, quizas debería ser la fecha o algo como programNameJan12(). Pero es buena idea.
(01-18-2014 03:54 PM)compsystems Wrote:  *: Al crear un nuevo archivo o archivo vacío y pegar un código sobre el, detectar el nombre de la función o programa en el momento de almacenarlo en el PC

EXPORT laplace()
BEGIN
...
END;

En file save (por primera vez), aparecería laplace.hpprgm y no un campo vacio

detectar el nombre del programa seria buscar la primer cadena de texto antes del primer paréntesis ( encontrado
Eso ya lo hace internamente, pero no lo he expuesto en el diálogo.
(01-18-2014 03:54 PM)compsystems Wrote:  *: permitir pestanias para tener varios archivos visibles en el PrimePAD, en una sola ventana, en lugar de ventanas independientes para cada archivo
Esto es imposible sin romper un montón de cosas. Quizas si la HP vende muuucho Tongue y el editor es utilizado un día.
(01-18-2014 03:54 PM)compsystems Wrote:  *: detectar si el archivo ha sido modificado por otros editores, en especial por el "editor" de programas de connectivitykit de HP
El editor no modifica directamente el archivo (sino al cerrar el Connkit), es un poco complicado esto.
(01-18-2014 03:54 PM)compsystems Wrote:  *: En status aparece Not connected, me gustaria ver Device not connected, seria posible detectar el numero del serial del dispositivo?
El serial, batería y todos esos detalles deberán ser integrados algún día. Es un mensaje especial por el usb (preferiría primero terminar el editor, luego ver como manejo las apps)
(01-18-2014 03:54 PM)compsystems Wrote:  *: Quiero enviar expresiones o comandos a la EntryLine usando PrimeComm, Erwin sabes como hacerlo? o podría alguien del HP TEAM ayudar (lo dudo)
No es posible en este instante, a menos que uses los mensajes y copiar/pegar.
(01-18-2014 03:54 PM)compsystems Wrote:  *: Para promover PrimeComm al guardar en el PC un archivo en versión texto agregar dentro del código, y al inicio del mismo una cadena de texto como comentario lo siguiente o algo similar

// saved with PrimeComm v 0.8 b...
EXPORT ...()
BEGIN
...
END;
Es buena idea.
(01-18-2014 03:54 PM)compsystems Wrote:  *: Como la HP-prime tiene un modulo inalambrico, habría que explorar la posibilidad de una comunicación por este medio

*: Reconocer un archivo o codigo en ASCII 7 bits para ser decodificado y luego enviado a la calculadora (es muy util esta codificacion por que desde un editor simple de texto no se puede pegar especiales unicode )

ASCII_7bits.txt
Code:

EXPORT ASCII_7bits()

BEGIN

LOCAL id0, id1, id2, id3, id4, id5, id6;X;
LOCAL id7, id8, id9, id10, id11, id12, id13;
LOCAL id14, id15, id16, id17, id18, id19;


id0:=X\^2\;

id1:=X\^-1\;

9\store\id2;

id3:=5\ee\-13;

id4:=\e\(5);

id5:=\i\;

id6:=5\!=\9;

id7:=4\<=\5;

id8:=9\>=\8;

id9:=\root\(4);

id10:=\integral\(X,X,1,2);

id11:=\diff\(X,X);

id12:=5\/_\53;

id13:=\pi\;

id14:=\Sigma\(X,X,1,2);

id15:=limit(X,X,X,\infinity\);

id16:=limit(X,X,X,\+-\\infinity\);

END;



Gracias
Lo del módulo inalámbrico, como aún no está ni siquiera a la venta es bastante difícil de realizar. Además como no podrán comprarse por unidad lo veo difícil. Adicionalmente HP no suele colocar bajos precios en esas cosas de educación. (el datalogger/sensores SmartStream por ejemplo y los módulos inalámbricos).

Lo de los 7 bits, la verdad me parece un trabajo gigante para la ganancia. Si deseas implemento un conversor (sería basicamente un nuevo menú de importar/exportar que pasen por una traducción) y te digo como hacer la tabla.

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2014, 05:57 PM
Post: #27
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
Por cierto, sería mejor que pongas tus sugerencias acá (en inglés ojalá):
https://github.com/eried/PrimeComm/issues

Así no las olvido y en cada release intento añadir un par según relevancia.

___________________

By the way if anyone has suggestions or issues the best place to put them is in here:
https://github.com/eried/PrimeComm/issues

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2014, 07:27 PM (This post was last modified: 01-19-2014 07:27 PM by Mic.)
Post: #28
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
Could you add a note editor (.hpnote) with text format (bold, italic, center, color, etc...) ?

http://mic.nic.free.fr - Youtube - Facebook
Find all posts by this user
Quote this message in a reply
01-19-2014, 08:36 PM (This post was last modified: 01-19-2014 08:38 PM by eried.)
Post: #29
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
(01-19-2014 07:40 PM)compsystems Wrote:  In the following thread are some examples to get started in the programming of the hp-prime

http://www.hpmuseum.org/forum/thread-470.html (SPANISH == CASTILLIAN )

Castilian is the 2nd most spoken language in the world =) sin tener en cuenta claro esta los idiomas de ASIA como chino, indu etc

Spanish it is the 2nd most spoken language (and I think it is a beautiful rich language) in the REAL world, but not all the world population has a computer and internet Smile and in this internet world, english is the King. http://www.internetworldstats.com/stats7.htm

(01-19-2014 07:27 PM)Mic Wrote:  Could you add a note editor (.hpnote) with text format (bold, italic, center, color, etc...) ?

Well, the same program editor should act as note editor (scintilla supports easily all these formatting features) but I am not sure if the calculator really sends the notes with the format (what happens with the formulas?).

Haven't checked thoroughly enough yet; but it will be a nice addition (after program editor and apps support) to be added.

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2014, 04:09 PM
Post: #30
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
2014-01-21 Update
Installer and file association:
[Image: 01.21.2014-13.02.png]

Drag & drop support:
[Image: 01.21.2014-13.06.png]

Other nice additions:
[Image: 01.21.2014-13.08.png]

[Image: 01.21.2014-13.09.png]

Download on the first page.

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
02-04-2014, 04:54 PM
Post: #31
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Now PrimeComm includes features to automate the Emulator Big Grin




My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2014, 07:55 PM (This post was last modified: 03-28-2014 08:05 PM by Han.)
Post: #32
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Installed using the link in the very first thread, but it doesn't seem to be able to parse the .hppgrm file from the game BRICKS (recently uploaded). It works with other .hppgrm files, though.

Also, the association of .hppgrm files (in Windows 7) does not properly set up the icon for such files. It appears HKEY_CLASSES_ROOT\.hppgrm does not have a proper DefaultIcon key and corresponding default value.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
03-31-2014, 05:55 PM (This post was last modified: 03-31-2014 06:03 PM by eried.)
Post: #33
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Yeah, that .hppgrm file was weird, it had only the unicode flag and no normal structure. I updated the parser to support that.

By the way the new version also integrates PrimeSkin and a very early version (almost non functional, so it isn't exposed, it is in program files/ folder) of PrimeRPL:




About the icon, I tested in XP and Win8.1 and it works on both. What icon do you see?
https://github.com/eried/PrimeComm/blob/...up.iss#L56 <- Icon is set in "hpprgmfile\DefaultIcon"

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
04-06-2014, 09:26 PM
Post: #34
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Now PrimePad includes a primitive code formatter/indentator, so your code looks tidy in 1 keystroke Big Grin

[Image: Image%202014-04-06%20at%206.24.04%20PM.png]

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2014, 08:09 PM
Post: #35
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Will there be an option in the future to change the fonts and size? Right now I have a hard time reading non-monospaced fonts. And is there an easy way to change the color highlighting?

Han

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
04-10-2014, 08:37 PM (This post was last modified: 04-10-2014 08:44 PM by eried.)
Post: #36
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
(04-10-2014 08:09 PM)Han Wrote:  Will there be an option in the future to change the fonts and size? Right now I have a hard time reading non-monospaced fonts. And is there an easy way to change the color highlighting?

Han

You can change the font adding a ttf file to C:\Program Files (x86)\PrimeComm\

The first one is the one used by the editor. It gives an exception if no font is available so for now is just like something "internal". The issue I had with this is the special chars. Check the "Characters" docked panel after you change the fonts, DroidSansFallbackFull.ttf is massive but contains all the Unicode chars required.

The font size is available in preferences:
[Image: 2014-04-10_1735.png]

About the color, I haven't took the needed time to fully understand Scintilla yet ( https://scintillanet.codeplex.com/wikipa...stomConfig ) but the first thing I want to add before colors is the "Intellisense" and code Snippets.

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2014, 08:43 PM
Post: #37
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Cool -- thanks for the quick response!

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
04-11-2014, 02:28 AM
Post: #38
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
(04-10-2014 08:43 PM)Han Wrote:  Cool -- thanks for the quick response!

I just noticed the thing you said a lot ago about the icons, in a clean machine the .ico was missing... I added it to the last one (reuploaded the same file 5 mins ago) but this should not happen again.

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
04-11-2014, 03:12 PM
Post: #39
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Hmm... do you have a suggestion for a good mono-spaced font with unicode support?

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
04-11-2014, 03:49 PM
Post: #40
RE: Editor/converter/program manager for the Prime Calculator (PrimeComm)
Well I liked lucida console or consolas but they missed the "sto" symbol :/

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)