Mind adding syntax highlighting for SMF?
http://www.simplemachines.org/community/index.php?topic=50945.0 (http://www.simplemachines.org/community/index.php?topic=50945.0)
:)
It would be an useful addition IMHO :).
Michael
I third the notion.
I'm all for it. :D
me to..
And me _o/
I'm against it.
... just kidding :P muahahaha. Yeah, I'm in favor, too.
How 's this?
#include <iostream>
int main(int argc, char** argv)
{
std::cout << "Hello world!" << std::endl;
return 0;
}
Hmm... does it show "Created by GeSHI" every time? :?
we'll see
int main()
{
int x = 0,
} // end of main
seems so
Quote from: thomas on January 16, 2006, 11:20:00 PM
Hmm... does it show "Created by GeSHI" every time? :?
But the code is at last readable :) See the good side of it
Edit: Yiannis did some magic again I guess and it dissapeared
Thanks Yiannis :D. The parser isn't the best, but yes, it's more readable.
Testing :)
Some C++
void cbEditor::ToggleBreakpoint(int line, bool notifyDebugger)
{
if (HasBreakpoint(line))
RemoveBreakpoint(line, notifyDebugger);
else
AddBreakpoint(line, notifyDebugger);
}
Some Diff
Index: cbeditor.cpp
===================================================================
--- cbeditor.cpp (revision 1717)
+++ cbeditor.cpp (working copy)
@@ -548,7 +548,7 @@
// FIXME: how to display a mark with an offset???
m_pControl->SetMarginWidth(1, 16);
m_pControl->SetMarginType(1, wxSCI_MARGIN_SYMBOL);
- m_pControl->SetMarginSensitive(1, 1);
+ // FIXME: Make this an option: m_pControl->SetMarginSensitive(1, 1);
m_pControl->SetMarginMask(1, (1 << BOOKMARK_MARKER) |
(1 << BREAKPOINT_MARKER) |
(1 << DEBUG_MARKER) |
Some DOS
@echo off
echo Creating output directory tree
copy /y setup\codeblocks.exe.manifest output > nul
strip output\*.exe
Some INI
nSelProfile=0
[keyprof0]
desc=Our primary keyprofile
name=Primary
bind542-type4660=New file|Create a new source file|Ctrl+N|
bind606-type4660=New project...|Create a new project based on a template|Ctrl+Shift+N|
Some XML
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">
<style16>
<BOLD bool="1" />
<ITALICS bool="0" />
<UNDERLINED bool="1" />
<ISSTYLE bool="1" />
<NAME>
<str>Matching brace highlight</str>
</NAME>
</style16>
</CodeBlocksConfig>
:D
Just a note: Bash highlighting brokes Apache, it gives the error:
Error 406: Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.
Quote from: Takeshi Miya on January 17, 2006, 12:32:09 AM
Just a note: Bash highlighting brokes Apache, it gives the error:
Error 406: Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.
Try leaving off the first line. The forums don't like the names of shell interpreters :(.
We could alter that code... i think...
anyway, that light cyan burns my eyes, can it be changed to something more friendly?
Quote from: rickg22 on January 17, 2006, 01:26:58 AM
We could alter that code... i think...
anyway, that light cyan burns my eyes, can it be changed to something more friendly?
Yeah someone please fix it I'm going blind..... :lol:
Quote from: rickg22 on January 17, 2006, 01:26:58 AM
anyway, that light cyan burns my eyes, can it be changed to something more friendly?
Yes, I agree. Something more eyes-friendly :D.
Michael