Possible enhancement for the <eucode> tag.

new topic     » topic index » view thread      » older message » newer message

It just occurred to me that, since keywords and library routines are
 highlighted inside the }}}
<eucode>...</eucode>
{{{
 tag, the highlighting
 could be made into a link to the relevant section of library.htm or
 refman.htm.

And perhaps this scheme could be extended to some well known libraries  
that appear frequently enough in posts in the forum. First candidates 
could be wxEuphoria, win32lib and euSQL,  and more as need grows.

This could, I think, help newcomers better understand the code snippets
 which are posted here, and make their discovery of/migration to Eu easier.

A problem might arise if the same routine name is used in several libraries.
In that case, parsing the include statements that appear in the text should
 often disambiguate the identifier. If this fails, then highlight without
 a link.

Would that be a good idea? RDS: would that be a reasonably implementable
 idea?

CChris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu