Allegro.cc - Online Community

Allegro.cc Forums » Allegro.cc Comments » updates to <code> tag

This thread is locked; no one can reply to it. rss feed Print
 1   2 
updates to <code> tag
X-G
Member #856
December 2000
avatar

Just <code> with no new lines. e.g., while (false) create_bitmap(640, 480)

Hmm. I could've sworn it didn't work when I tried it the first time.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

ReyBrujo
Moderator
January 2001
avatar

Hmm... I don't see the point in having inline code highlighted...

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

CGamesPlay
Member #2,559
July 2002
avatar

ReyBrujo said:

Hmm... I don't see the point in having inline code highlighted...

To autolink to a function: blit().

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

ReyBrujo
Moderator
January 2001
avatar

I mean, Thomas wanted to highlight a single inline line.

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

CGamesPlay
Member #2,559
July 2002
avatar

Yeah, that would be a great way to annoy the crap out of people

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Thomas Fjellstrom
Member #476
June 2000
avatar

Well the ***s are just highlighted as operators.. Maybe they should be removed if they are there?

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

bamccaig
Member #7,536
July 2006
avatar

ReyBrujo said:

Hmm... I don't see the point in having inline code highlighted...

For the same reason we highlight other code... To make it easier to read and/or catch mistakes. :-/

Matthew Leverton
Supreme Loser
January 1999
avatar

Highlighting inline code is obnoxious and not supported. Removing the highlight characters would give the false impression that it is.

someone972
Member #7,719
August 2006
avatar

I just noticed that in the thread review when replying to a post the code boxes have large spaces in between lines.

Other than that I'm quite pleased with the update :).

______________________________________
As long as it remains classified how long it took me to make I'll be deemed a computer game genius. - William Labbett
Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why. -Unknown
I have recklessly set in motion a chain of events with the potential to so-drastically change the path of my life that I can only find it to be beautifully frightening.

 1   2 


Go to: