I'm aware the color is kinda ugly, hopefully we will change those later.
Posts 1–15 of 20 · Page 1 of 2
Post a Reply
Tags for this Thread
None
Unable to select multiple lines =3
Works for me, need to get a copy swf.
Very nice, Been looking forward to this.
Test:
C (source as listed above to test)
[Highlight=c++]bool WINAPI DllMain(HMODULE hModule, DWORD uReason, LPVOID lpReserved)
{
if (uReason == DLL_PROCESS_ATTACH)
{
//JUST A DLL
}
}
[/highlight]
I think the strings may be off compared to whats in the list. I also need to get rid of that damn messagebox & use a default style when none are found.
This will kill messy source codes round here, nice
[highlight=vb]
Dim Cashmoney as integer = "5"
Msgbox (CashMoney)
[/highlight]
XML TEST(highlight=xml)
[highlight=xml]
<?xml version="1.0" encoding="UTF-8"?>
<root>
<title>
Testing Highlight Text in vB on MPGH
</title>
<para>
This is a simple test of XML highlighting on MPGH.net
</para>
<note>
(If this doesn't work I will rage quit)
</note>
<!-- Ignore me, I'm just a comment, let's see if it highlights me -->
<para>
This page written by:
<ital>Richard (Nextgen1)</ital>
</para>
<para>
Copyright 2011 All rights reserved.
</para>
</root>
[/highlight]
APPLESCRIPT TEST (highlight=applescript)
[highlight=APPLESCRIPT]
<<Highlighttest.scpt>>=
tell application "Finder"
"highlight works!"
end tell
[/highlight]
Html Test - (highlight=html)
[highlight=HTML]
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>
Testing HTML highlights
</TITLE>
</HEAD>
<BODY>
<H1>Tests</H1>
</HR>
<H4>Test One</H4>
<P>Does this work?</P>
</br>
<H4>Test Two</H4>
<P>Does this work?</P>
<div id="test" style="color:#00FF00">
<iframe src="http://mpgh.net" width="30%" height="30">
<p>Testing Iframes and Div tags</p>
</iframe>
</div>
</BODY>
</HTML>
[/highlight]
Vb Net Test (highlight=vbnet)
[highlight=vbnet]
Public Class Form1
Private Sub Form1_Load(ByVal Form1 As System.Object, ByVal Load As System.EventArgs) Handles MyBase.Load
Static MsgOn As Boolean = False
If Not MsgOn Then
MessageBox.Show("This highlight is working")
End If
MsgOn = True
End Sub
End Class
[/highlight]
VBA/Vb6</Vbscript Test (highlight=vb)
[highlight=vb]
If (kbdllhs.vkCode = VK_F4) And _
CBool(kbdllhs.flags And _
LLKHF_ALTDOWN) Then
Debug.Print ""
LowLevelKeyboardProc = 1
Exit Function
End If
[/highlight]
So far applescript and html do not seem to work, it may as well be the argument "html" and "applescript" , however i'm not sure.
[highlight=php]'This is cool!'[/highlight]
Thanks dave!
Better for no Copy + Paste noobs.
Only if php worked..
[php]See!?[/php]
This proves i dont read stickies..
Thanks dave..
The VB syntax is a horrible color, both .net and vb . I think I'll just keep using my syntax highlighter for now