I noticed that when I open old xws files the fonts and colors are often different. It appears they are controlled with something inside the xws file. I see a lot of data I can't decipher. Can you tell me what part of the xws file controls fonts and colors?
Matt
Font size and colors
Modérateur : xcasadmin
Re: Font size and colors
Colors are controlled globally in the ~/.xcasrc or xcas.rc configuration file (in the widget_size command). There is no way to control them inside individual sessions.
-
- Messages : 146
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: Font size and colors
I have attached 3 .xws files that open with different colors and fonts on my machine (Win 10 64 bit 20H2). I am running the 64 bit cygwin version 1.7.0-29. Do these open and look different from each other for you?
Matt
Matt
- Pièces jointes
-
- Examples.zip
- 3 xws files created in different versions
- (2.55 Kio) Téléchargé 100 fois
Re: Font size and colors
The difference is that your sessions made with old versions of Xcas have different commandline widgets, and the old ones do not provide syntax highlighting.
old: // fltk N4xcas19Multiline_Input_tabE 19 -168 866 24 14 0
new: // fltk N4xcas16Xcas_Text_EditorE 11 56 854 25 14 0
old: // fltk N4xcas19Multiline_Input_tabE 19 -168 866 24 14 0
new: // fltk N4xcas16Xcas_Text_EditorE 11 56 854 25 14 0
-
- Messages : 146
- Inscription : mer. janv. 13, 2010 3:20 pm
Re: Font size and colors
Excellent.
Thanks
Matt
Thanks
Matt