<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
>><br>
>><br>
>> Ping :).<br>
><br>
><br>
>yep...yep :D<br>
>I was drawn away by something else for a while....<br>
<br>
</div>Sorry, I didn't mean to hurry you up or to request anything. Just a<br>
status update :).</blockquote><div><br>don't worry, i didn't takek it as such :D<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
>I'm progressing slowly...I have added an entry gchar* to the<br>
>GeanyLexerStyle struct...to hold a font name...<br>
>i'm studying how it propagates, how the structure is used by different<br>
<br>
</div>Oh, I though you already have that part written as your screenshots<br>
looked like it was working already. Sorry.<br>
<div class="im"></div></blockquote><div><br>yes i have it working...and use it on a daily basis for my work ...but just because<br>I hard-coded my font choice in set_sci_style... and left the fileypes.foo untouched for now....<br>
hackish, but just wanted to find out if it was possible in some way at that time....<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
>functions...i'm facing pointer pbs, basically...my font name does not<br>
>propagate properly through functions...<br>
<br>
</div>If you need help for a specific problem, just ask.</blockquote><div> </div><div>ok...it's probably silly, as i'm not an experienced C programmer...and didn't spend a lot of time on it...<br>but as I told you, I expanded the GeanyLexerStyle structure....<br>
<br>in get_keyfile_style and get_key_file_hex my adds to the filetypes.foo are properly read...<br>and when i print out my new element of the struct it's either null or the fontname I've just entered in the file....<br>
<br>but when i try to access my new entry in a another function (such as set_sci_style), it has been obviously been written over by something else....<br>i'm sure it's something obvious as when I replace the new entry gchar* fontname by gint font_size.... (and so expecting font size dto be declared instead of a font name) then i got it working as intended...<br>
I could just add a number after the italic boolean entry in filetype.foo and it would be picked up as a font size, and transmitted through set_sci_style....<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
<br>
>but for example, if I use the change font option in the menu of geany,<br>
>it's breaking this customization....it's good enough for my use...but<br>
>not for public release....<br>
>if you have a hint for me... :D<br>
<br>
</div>Ah, that's a problem. Maybe we should add highlighting_set_font() or<br>
something which is called by editor_set_font() which then sets the<br>
passed font only if there is no font specified for a specific style.<br>
This problem only exists because I never expected we need to use<br>
different fonts per style.<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>I'll look into that...it's not a real nuisance as it is anyway....<br><br>Jimmy<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5"><br>
Regards,<br>
Enrico<br>
<br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</div></div><br>_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
<br></blockquote></div><br>