Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-09

Tag <code> on Lazarus Wiki

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

William Oliveira Ferreira

Hi List!

Could someone try to ajust a little thing?

Well, I was reading this link (
http://wiki.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed) on Google Chrome and I saw that, when a text is in <code> tag, the text size becames so small. On Firefox it doesn't happens. Adding a font-size:1.2em let the font at the same size of the whole text. On Firefox, the text is perfect.

Maybe is a bug on theme but the diference seems to be about 0.2em on font size that is not directly set and the CSS data seems to be generated by a load.php, so, I don't know what line should be changed.

________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130917/d376fa9e/attachment.html>

Reply by email

Bart
to William Oliveira Ferreira
William Oliveira Ferreira wrote 6 lines
Well, I was reading this link ( http://wiki.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed) on Google Chrome and I saw that, when a text is in <code> tag, the text size becames so small. On Firefox it doesn't happens. Adding a font-size:1.2em let the font at the same size of the whole text. On Firefox, the text is perfect.

I think the better way to show code now is using the <syntaxhighlight> tags.

Bart

Reply by email

William Oliveira Ferreira
to Bart

Go to line 212 of the page's source....

</li><li>*<code>*AddArray*</code>*, <code>AddNull</code>, <code>AddX</code> and <code>AddY</code> functions, <code>SetText</code> procedure

Every function or reserverd word is marked with that tag...

2013/9/17 Bart

Show quoted text 16 lines
On 9/17/13, William Oliveira Ferreira wrote: > http://wiki.freepascal.org/Lazarus_1.2.0_release_notes#TComponentPropertyEditor_behavior_was_changed ) > on Google Chrome and I saw that, when a text is in <code> tag, the text I don't see any <code? tags in that lemma b.t.w. Bart -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130918/a46806e3/attachment.html>

Reply by email

Reinier Olislagers
to William Oliveira Ferreira
William Oliveira Ferreira wrote 5 lines
Go to line 212 of the page's source.... </li><li>*<code>*AddArray*</code>*, <code>AddNull</code>, <code>AddX</code> and <code>AddY</code> functions, <code>SetText</code> procedure Every function or reserverd word is marked with that tag...

I'd suggest you change that to use <syntaxhighlight> (the same tag used for about every other code sample on the wiki)...

Reply by email

William Oliveira Ferreira
to Reinier Olislagers

ow, I think I got now, sorry.

2013/9/18 Reinier Olislagers

Show quoted text 19 lines
On 18/09/2013 12:33, William Oliveira Ferreira wrote: > Go to line 212 of the page's source.... > > </li><li>*<code>*AddArray*</code>*, <code>AddNull</code>, <code>AddX</code> and <code>AddY</code> functions, <code>SetText</code> procedure > > Every function or reserverd word is marked with that tag... I'd suggest you change that to use <syntaxhighlight> (the same tag used for about every other code sample on the wiki)... -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130918/f1c95583/attachment-0001.html>

Reply by email

William Oliveira Ferreira
to William Oliveira Ferreira

I tried your tip but not served as was expected because it creates a box for each TAG used in code. If I put each reserved word or function within this tag, each word is in a box with dotted outline. This tag you suggested serves for code blocks, but not when a reserved word is inserted into a sentence and expected a special highlight for the word

2013/9/18 William Oliveira Ferreira

Show quoted text 31 lines
ow, I think I got now, sorry. 2013/9/18 Reinier Olislagers > On 18/09/2013 12:33, William Oliveira Ferreira wrote: > > Go to line 212 of the page's source.... > > > > </li><li>*<code>*AddArray*</code>*, <code>AddNull</code>, > <code>AddX</code> and <code>AddY</code> functions, <code>SetText</code> > procedure > > > > Every function or reserverd word is marked with that tag... > > I'd suggest you change that to use <syntaxhighlight> (the same tag used > for about every other code sample on the wiki)... > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ________________________________ William de Oliveira Ferreira
________________________________ William de Oliveira Ferreira -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130918/c6a5b235/attachment.html>

Reply by email

Reinier Olislagers
to William Oliveira Ferreira
William Oliveira Ferreira wrote 5 lines
Itriedyour tipbut notserved aswas expectedbecauseit createsa boxfor eachTAGusedin code.If I puteachreserved wordor functionwithin thistag,eachwordisinaboxwithdottedoutline.This tagyou suggestedservesforcode blocks,butnot whena reserved wordis inserted intoa sentence andexpecteda special highlightforthe word

OT: Nice, those HTML mails...
Oh, didn't know you were in that situation. Sorry about that.

Reply by email

Graeme Geldenhuys
to Reinier Olislagers
Reinier Olislagers wrote
OT: Nice, those HTML mails...

+1 and so to for people that over quote in replies.

Anyway, seeing that you are using Thunderbird simply do the following: View -> Message Body As -> Plain Text

That's my default setting and works very well.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email