You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Hosted Forums > UTPure > Dr. SiN's Mods > Visual UC++

Reply
Thread Tools Display Modes
  #1  
Unread 17th November, 2001, 03:44 PM
2COOL4-U
 
Posts: n/a
Default

I was trying to get some of my own classes highlighted in VisualUC++ today(I tried it before but without result). Today I didn't get any results either. I don't see any changes in the syntax highlighting. I also modified the example text in the sms file but that didn't have any effect on the example text in the syntax configuration dialog. Here are the changes in UnrealScript.sms:

Code:




[I]Added this to the #define's[/I]

#define ut_DA       24



[I]Changed Example text:[/I]

ExampleText               = '/* Comment */n

                            class MyClass extends MyParent;n

                            var string Msg; n

       var DAPlayer DAP; n

      	function MyFunc(float delta);n

                            {n

      	n

            // Quick commentn

      	n

            Msg="String text";n

      	}n'





EditableStyles              ('Comment',       ut_COMMENT),

                            ('String',        ut_STRING),

                            ('Reserved word', ut_KEYWORD),

                            ('Operator',      ut_MISC),

                            ('Identifier',    ut_IDENTIFIER),

                            ('Directive',     ut_DIRECTIVE),

                            ('Number',        ut_NUMBER),

                            ('Default',       ut_DEFAULT),

       ('Function',      ut_FUNCTION),

        ('Class',       ut_CLASS),

       ('State',         ut_STATE),

       ('Event',         ut_EVENT)	,

       ('DA Classes',    ut_DA)





[I]Added these two to %%Words[/I]

'daplayer'  _dont_care_	ut_DA

'dadefencealliance'	_non_alpha_  ut_DA



[I]Added this to the %%effects section[/I]

ut_DA  	[fsBold]      clyELLOW  	4194304





[I]Added this to the %%map section[/I]

ut_DA  	ut_DA
DrSiN please help me
Reply With Quote
  #2  
Unread 18th November, 2001, 01:54 AM
DrSiN
 
Posts: n/a
Default

Did you click on load defaults after saving the sms?
Reply With Quote
  #3  
Unread 18th November, 2001, 11:49 AM
2COOL4-U
 
Posts: n/a
Default

ahh no I was afraid it would overwrite my modifications then
Reply With Quote
  #4  
Unread 18th November, 2001, 12:10 PM
2COOL4-U
 
Posts: n/a
Default

I noticed you made a typo in the UnrealScript.sms file
it says constt instead of [b]const[b]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:54 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.