every thing works fine (note: <script runat="server"> must be replaced with <script runat="server" language="c#"> for highlighting and function list), except for that I have to remove original asp with vbscript section, because "aspx_lang" is not defined... a foolish reason, isn't it?
Or, there is a way to improve?
first, make sure your html file extents includes aspx:
/L3"HTML" HTML_LANG Nocase Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = HTM HTML SHTML HTT HTX CFM JSP PHP PHTML ASP ASPX
then, replace the L10 section (asp with vbscript section) with (tab must be replaced with a real tab character):
/L10"ASPX" ASP_LANG Line Comment = // String Chars = "' Escape Char = \ Block Comment On = /* Block Comment Off = */ File Extensions =
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,tab.?
/Function String = "%[a-zA-Z_]*)[~;]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{" "#region"
/Close Fold Strings = "}" "#endregion"
/C1"Keywords"
as auto
base break
case catch const continue
default do
else event explicit extern
false finally fixed for foreach
goto
if implicit in internal
lock
namespace null
operator out override
params private protected public
readonly ref return
sealed stackalloc static switch
this throw true try
unsafe using
virtual void
while
/C2"C# Data Types"
bool byte
char class
decimal delegate double
enum
float
int interface
long
object
sbyte short string struct
uint ulong ushort
/C3"C# Preprocessor Directives"
#elif #endif #endregion #else #error
#define
#if
#line
#region
#undef
#warning
/C4"Operators"
+
-
*
?
=
// /
%
&
>
<
^
!
|
:
checked
is
new
sizeof
typeof
unchecked
/C5"Tags"
<%
%>
/C6"Objects"
Application
Cache Cookies
ObjectContext
Form
QueryString
Request Response
Server ServerVariables Session
and also, I do wonder about why does ultraedit think the extent ".aspx" has something to do with "asp_lang"?
totally magic!!
Or, there is a way to improve?
first, make sure your html file extents includes aspx:
/L3"HTML" HTML_LANG Nocase Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = HTM HTML SHTML HTT HTX CFM JSP PHP PHTML ASP ASPX
then, replace the L10 section (asp with vbscript section) with (tab must be replaced with a real tab character):
/L10"ASPX" ASP_LANG Line Comment = // String Chars = "' Escape Char = \ Block Comment On = /* Block Comment Off = */ File Extensions =
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,tab.?
/Function String = "%[a-zA-Z_]*)[~;]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{" "#region"
/Close Fold Strings = "}" "#endregion"
/C1"Keywords"
as auto
base break
case catch const continue
default do
else event explicit extern
false finally fixed for foreach
goto
if implicit in internal
lock
namespace null
operator out override
params private protected public
readonly ref return
sealed stackalloc static switch
this throw true try
unsafe using
virtual void
while
/C2"C# Data Types"
bool byte
char class
decimal delegate double
enum
float
int interface
long
object
sbyte short string struct
uint ulong ushort
/C3"C# Preprocessor Directives"
#elif #endif #endregion #else #error
#define
#if
#line
#region
#undef
#warning
/C4"Operators"
+
-
*
?
=
// /
%
&
>
<
^
!
|
:
checked
is
new
sizeof
typeof
unchecked
/C5"Tags"
<%
%>
/C6"Objects"
Application
Cache Cookies
ObjectContext
Form
QueryString
Request Response
Server ServerVariables Session
and also, I do wonder about why does ultraedit think the extent ".aspx" has something to do with "asp_lang"?
totally magic!!