Editing on UltraEdit, for use on MediaWiki, it is unformatted text, but can contain the following elements helpful for highlighting:
[[PAGENAME]] or [[PAGENAME|narrative]]
[http://url] or [http://url narrative]
<~A-Z>http://url
<~A-Z>WP:SHORTCUT<~A-Z>
<~A-Z>WT:SHORTCUT<~A-Z>
The complete list of highlighting. It is great difficulty to write a simple syntax highlighting file that'll highlight this.
The minimum to be useful:
[...] ([..] and anything inside it) and
http://... (http:// and ending with any WHITESPACE. , ; [ ] )
Would love if this can be helped!
Can someone help what a basic syntax file to handle some of these, would look like? I'm getting completely headache after the time trying to work it properly. I am sorry to ask, but it's small, I think, and I find it still unable to work out.
Until a better one arrives, I use this. Please improve?
I color /C1 = BLUE, /C2 = BLUE, /C3 = BLUE, /C4 = LIGHT BLUE + UNDERLINE, /C5= LIGHT BLUE, /C6 = BLUE
Thank you!
[[PAGENAME]] or [[PAGENAME|narrative]]
[http://url] or [http://url narrative]
<~A-Z>http://url
<~A-Z>WP:SHORTCUT<~A-Z>
<~A-Z>WT:SHORTCUT<~A-Z>
The complete list of highlighting. It is great difficulty to write a simple syntax highlighting file that'll highlight this.
The minimum to be useful:
[...] ([..] and anything inside it) and
http://... (http:// and ending with any WHITESPACE. , ; [ ] )
Would love if this can be helped!
Can someone help what a basic syntax file to handle some of these, would look like? I'm getting completely headache after the time trying to work it properly. I am sorry to ask, but it's small, I think, and I find it still unable to work out.
Until a better one arrives, I use this. Please improve?
Code: Select all
/L20"MediaWiki"
/Delimiters = !"^&* () -_+=.,;:'@#~[]{}?/\|
/Marker Characters = "[]{}"
/C1"Keywords"
WP
/C2"delimited text square"
[]
/C3"delimited text curly"
{}
/C4"urls"
http
ftp
mailto
/C5"url ends"
com
org
net
pdf
htm
html
php
php3
phtml
/C6"Separators"
[
]
{
}
Thank you!