It is currently March 19th, 2024, 10:13 am

Ultraedit - wordfile

Post reviews, recommendations and questions about other software.
Post Reply
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Ultraedit - wordfile

Post by ms310 »

Hi - does anyone have a wordfile for syntax highlighting and code folder for Ultraedit? I have searched and have not found anything. Even the INI highlighter seems to not work very well.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5364
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Ultraedit - wordfile

Post by eclectic-tech »

I took some time to look at UE highlighting, and while it is not as flexible as Rainlexer for Notepad++, I was able to put together a UE wordfile that will highlight most of the important keywords and variables in UE.

UE keywords do not support regular expression matches, so keywords that can have multiple numbers have to be hard-coded; I added keywords for the first 6 for these types, but additional numbered keywords will not be highlight (such as: IfCondition#, IfMatch#, etc.) :-(

Bangs, Keywords, and Internal variables will be highlighted. User variables will have the bracketed pound sign (#) highlighted.

Wordfile for Rainmeter syntax highlighting (from my mediafire acct): rainmeter.uew

Save this file in 'C:\Users\{yourname}\AppData\Roaming\IDMComp\UltraEdit\wordfiles'
Exit UE and reopen... You should see syntax highlighting for 'Rainmeter' in your list

My version of UE had 15 included syntax files, so this one was coded as /L16"Rainmeter". You may need to edit that to a higher number if there is a conflict.

Hope this helps... :welcome:
ue-rm-highlighting.png
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Re: Ultraedit - wordfile

Post by ms310 »

Thank you so much! This gives me a place to start and edit on my own!

Cheers! Sometimes all I need is to have someone get the ball rolling.

I have been using SublimeText3 for the moment but the Rainmeter highlighting is a bit old but mostly works. I will take a look at your wordfile and see if is enough to get me to switch back to UE.

Cheers!
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Re: Ultraedit - wordfile

Post by ms310 »

Made a few changes based on an existing .ini definition I found - looks almost perfect to me!

Code: Select all

/L16"Rainmeter" Nocase Line Comment = ; String Chars = "' DisableMLS File Extensions = INI INC
/Delimiters = ! "	%&'()*+,-./:;<=>?@[\]^{|}~
/Function String = "%^[^(*^)^]"
/Open Fold Strings = "["
/Close Fold Strings = "["
/Ignore Fold Strings = "="
/Marker Characters = "[]"
/C1"Section name"
[]
/C1"Keywords" STYLE_KEYWORD
@include
accuratetext actionlist actionlist2 actionlist3 actionlist4 actionlist5 actionlist6 active adddaystohours alphavalue alwaysontop anchorx anchory angle
antialias appversion author autoscale autoselectscreen averagesize
background backgroundmargins backgroundmode bandidx bands barborder barcolor barimage beveltype
bitmapdigits bitmapextend bitmapframes bitmapimage bitmapseparation bitmaptransitionframes bitmapzeroframe
blur blurregion blurregion2 blurregion3 blurregion4 blurregion5 blurregion6 bothcolor bothgreyscale bothimage bothimagealpha bothimagecrop bothimageflip 
bothimagerotate bothimagetint buttoncommand buttonimage
clipstring clipstringh clipstringw codepage color colormatrix1 colormatrix2 colormatrix3
colormatrix4 colormatrix5 command command2 command3 command4 command5 command6 configeditor contextaction contextaction2 contextaction3 contextaction4 contextaction5 contextaction6 contextaction7 contextaction8 contextaction9 contextaction10 contexttitle
contexttitle2 contexttitle3 contexttitle4 contexttitle5 contexttitle6 contexttitle7 contexttitle8 contexttitle9 contexttitle10 controlangle controllength controlstart coretempindex count cpuexclude cpuinclude cumulative
datetype daylightsavingtime debug debug2file decodecharacterreference defaultartwork defaultupdatedivider
defaultvalue description desktopworkarea destaddress disabled disabledragging disableleadingzero
disablerdp disableversioncheck download downloadfile dragmargins drive drives dynamicvariables
dynamicwindowsize
endvalue errorstring extensions
fadeduration fftattack fftdecay fftidx fftoverlap fftsize filefilter finishaction flip focusdismiss folder
fontcolor fonteffectcolor fontface fontsize forcereload format formatlocale formula freqmax freqmin
gradientangle greyscale group
h hidden hideextensions hideonmouseover highbound horizontal horizontallinecolor horizontallines
iconpath iconsize id ifaboveaction ifabovevalue ifbelowaction ifbelowvalue ifcondition ifcondition2 ifcondition3 ifcondition4 ifcondition5 ifcondition6
ifconditionmode ifequalaction ifequalvalue iffalseaction iffalseaction2 iffalseaction3 iffalseaction4 iffalseaction5 iffalseaction6 ifmatch ifmatch2 ifmatch3 ifmatch4 ifmatch5 ifmatch6 ifmatchaction
ifmatchaction2 ifmatchaction3 ifmatchaction4 ifmatchaction5 ifmatchaction6 ifmatchmode ifnotmatchaction ifnotmatchaction2 ifnotmatchaction3 ifnotmatchaction4 ifnotmatchaction5 ifnotmatchaction6 iftrueaction iftrueaction2 iftrueaction3 iftrueaction4 iftrueaction5 iftrueaction6 ignorecount
ignoreremovable ignorewarnings imagealpha imagecrop imagename imagepath imagerotate imagetint
includehiddenfiles includesubfolders includesystemfiles increment index information inlinepattern
inlinepattern2 inlinepattern3 inlinepattern4 inlinepattern5 inlinepattern6 inlinesetting inlinesetting2 inlinesetting3 inlinesetting4 inlinesetting5 inlinesetting6 instructions interface invertmeasure
label language leftmousedoubleclickaction leftmousedownaction leftmouseupaction lengthshift license
linecolor linecolor2 linecolor3 linecolor4 linecolor5 linecolor6 linecount linelength linestart linewidth loadorder localfont localfont2 logging
loopcount lowbound
maskimageflip maskimageflip2 maskimageflip3 maskimageflip4 maskimageflip5 maskimageflip6 maskimagename maskimagepath maskimagerotate maskimagerotate2 maskimagerotate3 maskimagerotate4 maskimagerotate5 maskimagerotate6 maxvalue measure measurename measurename2 measurename3 measurename4 measurename5 measurename6
metadata meter meterstyle middlemousedoubleclickaction middlemousedownaction middlemouseupaction minvalue
mouseactioncursor mouseactioncursorname mouseleaveaction mouseoveraction mousescrolldownaction
mousescrollleftaction mousescrollrightaction mousescrollupaction
name nativetransparency netinspeed netoutspeed nettotalspeed numofdecimals
offsetx offsety onchangeaction oncloseaction onconnecterroraction ondismissaction onfocusaction
onrefreshaction onregexperroraction onunfocusaction onupdateaction onwakeaction outputfile outputtype
padding parameter parent password path pathname paused peakattack peakdecay peakgain percentual
perfmoncounter perfmondifference perfmoninstance perfmonobject playername playerpath plugin postfix prefix
preserveaspectratio primarycolor primarygreyscale primaryimage primaryimagealpha primaryimagecrop
primaryimagerotate primaryimagetint processname processor program proxy proxyserver
recursive regexp regexpfilter regexpsubstitute regkey regvalue rightmousedoubleclickaction
rightmousedownaction rightmouseupaction rmsattack rmsdecay rmsgain rotationangle
saveposition scale scale2 scale3 scale4 scale5 scale6 scalemargins scriptfile secondarycolor secondarygreyscale secondaryimage
secondaryimagealpha secondaryimagecrop secondaryimagerotate secondaryimagetint secondarymeasurename
secondsvalue sensitivity separator showdotdot showfile showfolder showhidden showsystem skinheight
skinpath skinwidth solid solidcolor solidcolor2 sortascending sortdatetype sorttype
speedfannumber startangle starthidden startinfolder startshift startvalue state string stringalign stringcase stringeffect stringindex stringstyle
stringindex2 subfolders substitute sysinfodata sysinfotype
tablename text tile timeout timeoutvalue timestamp timestampformat timestamplocale timezone tooltiphidden
tooltipicon tooltiptext tooltiptitle tooltiptype tooltipwidth topprocess total trackchangeaction
trafficvalue transformationmatrix transitionupdate traybitmap traycolor1 traycolor2 trayexecutedm
trayexecutedr trayexecutem trayexecuter trayicon traymeter
uniquerandom update updatedivider updaterandom updaterate url used2d useexiforientation
valueremainder vddesktopcount vdmanager version
w wifiintfid wifilistlimit wifiliststyle wildcardsearch windowclass windowmessage windowname windowx
windowx@ windowx@2 windowx@3 windowx@4 windowx@5 windowx@6 windowy windowy@ windowy@2 windowy@3 windowy@4 windowy@5 windowy@6
x x1mousedoubleclickaction x1mousedownaction x1mouseupaction x2mousedoubleclickaction x2mousedownaction
x2mouseupaction
y
/C2"Variables" STYLE_VARIABLE
#
addonspath
crlf currentconfig currentconfigheight currentconfigwidth currentconfigx currentconfigy currentfile
currentpath currentsection
pluginspath programdrive programpath pscreenareaheight pscreenareawidth pscreenareax pscreenareay
pworkareaheight pworkareawidth pworkareax pworkareay
rootconfig rootconfigpath
screenareaheight screenareaheight@1 screenareaheight@2 screenareawidth screenareawidth@1
screenareawidth@2 screenareax screenareax@1 screenareax@2 screenareay screenareay@1 screenareay@2
settingspath skinspath
vscreenareaheight vscreenareawidth vscreenareax vscreenareay
workareaheight workareaheight@1 workareaheight@2 workareawidth workareawidth@1 workareawidth@2
workareax workareax@1 workareax@2 workareay workareay@1 workareay@2
/C3"Bangs" STYLE_KEYWORD
about activateconfig addblur
clickthrough clickthroughgroup commandmeasure
deactivateconfig deactivateconfiggroup disablemeasure disablemeasuregroup draggable draggablegroup
enablemeasure enablemeasuregroup
hide hideblur hidefade hidefadegroup hidegroup hidemeter hidemetergroup
keeponscreen keeponscreengroup
loadlayout log
manage move movemeter
pausemeasure pausemeasuregroup pluginbang
quit
redraw redrawgroup refresh refreshapp refreshgroup removeblur resetstats
setclip setoption setoptiongroup settransparency settransparencygroup setvariable setvariablegroup
setwallpaper show showblur showfade showfadegroup showgroup showmeter showmetergroup skincustommenu
skinmenu snapedges snapedgesgroup
toggle toggleblur toggleconfig togglefade togglefadegroup togglegroup togglemeasure togglemeasuregroup
togglemeter togglemetergroup togglepausemeasure togglepausemeasuregroup traymenu
unpausemeasure unpausemeasuregroup updategroup updatemeasure updatemeasuregroup updatemeter
updatemetergroup
writekeyvalue
zpos zposgroup            
/C4"Specialty" STYLE_KEYWORD
[
]
barorientation bitmapalign
channel coretemptype
graphorientation graphstart
imageflip infotype
playertype port powerstate primaryimageflip
recycletype reghkey rescounttype
secondaryimageflip speedfanscale speedfantype
twittertype type
vdmeasuretype
wifiinfotype
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Re: Ultraedit - wordfile

Post by ms310 »

Made a few changes based on an existing .ini definition I found - looks almost perfect to me!

Code: Select all

/L16"Rainmeter" Nocase Line Comment = ; String Chars = "' DisableMLS File Extensions = INI INC
/Delimiters = ! "	%&'()*+,-./:;<=>?@[\]^{|}~
/Function String = "%^[^(*^)^]"
/Open Fold Strings = "["
/Close Fold Strings = "["
/Ignore Fold Strings = "="
/Marker Characters = "[]"
/C1"Section name"
[]
/C1"Keywords" STYLE_KEYWORD
@include
accuratetext actionlist actionlist2 actionlist3 actionlist4 actionlist5 actionlist6 active adddaystohours alphavalue alwaysontop anchorx anchory angle
antialias appversion author autoscale autoselectscreen averagesize
background backgroundmargins backgroundmode bandidx bands barborder barcolor barimage beveltype
bitmapdigits bitmapextend bitmapframes bitmapimage bitmapseparation bitmaptransitionframes bitmapzeroframe
blur blurregion blurregion2 blurregion3 blurregion4 blurregion5 blurregion6 bothcolor bothgreyscale bothimage bothimagealpha bothimagecrop bothimageflip 
bothimagerotate bothimagetint buttoncommand buttonimage
clipstring clipstringh clipstringw codepage color colormatrix1 colormatrix2 colormatrix3
colormatrix4 colormatrix5 command command2 command3 command4 command5 command6 configeditor contextaction contextaction2 contextaction3 contextaction4 contextaction5 contextaction6 contextaction7 contextaction8 contextaction9 contextaction10 contexttitle
contexttitle2 contexttitle3 contexttitle4 contexttitle5 contexttitle6 contexttitle7 contexttitle8 contexttitle9 contexttitle10 controlangle controllength controlstart coretempindex count cpuexclude cpuinclude cumulative
datetype daylightsavingtime debug debug2file decodecharacterreference defaultartwork defaultupdatedivider
defaultvalue description desktopworkarea destaddress disabled disabledragging disableleadingzero
disablerdp disableversioncheck download downloadfile dragmargins drive drives dynamicvariables
dynamicwindowsize
endvalue errorstring extensions
fadeduration fftattack fftdecay fftidx fftoverlap fftsize filefilter finishaction flip focusdismiss folder
fontcolor fonteffectcolor fontface fontsize forcereload format formatlocale formula freqmax freqmin
gradientangle greyscale group
h hidden hideextensions hideonmouseover highbound horizontal horizontallinecolor horizontallines
iconpath iconsize id ifaboveaction ifabovevalue ifbelowaction ifbelowvalue ifcondition ifcondition2 ifcondition3 ifcondition4 ifcondition5 ifcondition6
ifconditionmode ifequalaction ifequalvalue iffalseaction iffalseaction2 iffalseaction3 iffalseaction4 iffalseaction5 iffalseaction6 ifmatch ifmatch2 ifmatch3 ifmatch4 ifmatch5 ifmatch6 ifmatchaction
ifmatchaction2 ifmatchaction3 ifmatchaction4 ifmatchaction5 ifmatchaction6 ifmatchmode ifnotmatchaction ifnotmatchaction2 ifnotmatchaction3 ifnotmatchaction4 ifnotmatchaction5 ifnotmatchaction6 iftrueaction iftrueaction2 iftrueaction3 iftrueaction4 iftrueaction5 iftrueaction6 ignorecount
ignoreremovable ignorewarnings imagealpha imagecrop imagename imagepath imagerotate imagetint
includehiddenfiles includesubfolders includesystemfiles increment index information inlinepattern
inlinepattern2 inlinepattern3 inlinepattern4 inlinepattern5 inlinepattern6 inlinesetting inlinesetting2 inlinesetting3 inlinesetting4 inlinesetting5 inlinesetting6 instructions interface invertmeasure
label language leftmousedoubleclickaction leftmousedownaction leftmouseupaction lengthshift license
linecolor linecolor2 linecolor3 linecolor4 linecolor5 linecolor6 linecount linelength linestart linewidth loadorder localfont localfont2 logging
loopcount lowbound
maskimageflip maskimageflip2 maskimageflip3 maskimageflip4 maskimageflip5 maskimageflip6 maskimagename maskimagepath maskimagerotate maskimagerotate2 maskimagerotate3 maskimagerotate4 maskimagerotate5 maskimagerotate6 maxvalue measure measurename measurename2 measurename3 measurename4 measurename5 measurename6
metadata meter meterstyle middlemousedoubleclickaction middlemousedownaction middlemouseupaction minvalue
mouseactioncursor mouseactioncursorname mouseleaveaction mouseoveraction mousescrolldownaction
mousescrollleftaction mousescrollrightaction mousescrollupaction
name nativetransparency netinspeed netoutspeed nettotalspeed numofdecimals
offsetx offsety onchangeaction oncloseaction onconnecterroraction ondismissaction onfocusaction
onrefreshaction onregexperroraction onunfocusaction onupdateaction onwakeaction outputfile outputtype
padding parameter parent password path pathname paused peakattack peakdecay peakgain percentual
perfmoncounter perfmondifference perfmoninstance perfmonobject playername playerpath plugin postfix prefix
preserveaspectratio primarycolor primarygreyscale primaryimage primaryimagealpha primaryimagecrop
primaryimagerotate primaryimagetint processname processor program proxy proxyserver
recursive regexp regexpfilter regexpsubstitute regkey regvalue rightmousedoubleclickaction
rightmousedownaction rightmouseupaction rmsattack rmsdecay rmsgain rotationangle
saveposition scale scale2 scale3 scale4 scale5 scale6 scalemargins scriptfile secondarycolor secondarygreyscale secondaryimage
secondaryimagealpha secondaryimagecrop secondaryimagerotate secondaryimagetint secondarymeasurename
secondsvalue sensitivity separator showdotdot showfile showfolder showhidden showsystem skinheight
skinpath skinwidth solid solidcolor solidcolor2 sortascending sortdatetype sorttype
speedfannumber startangle starthidden startinfolder startshift startvalue state string stringalign stringcase stringeffect stringindex stringstyle
stringindex2 subfolders substitute sysinfodata sysinfotype
tablename text tile timeout timeoutvalue timestamp timestampformat timestamplocale timezone tooltiphidden
tooltipicon tooltiptext tooltiptitle tooltiptype tooltipwidth topprocess total trackchangeaction
trafficvalue transformationmatrix transitionupdate traybitmap traycolor1 traycolor2 trayexecutedm
trayexecutedr trayexecutem trayexecuter trayicon traymeter
uniquerandom update updatedivider updaterandom updaterate url used2d useexiforientation
valueremainder vddesktopcount vdmanager version
w wifiintfid wifilistlimit wifiliststyle wildcardsearch windowclass windowmessage windowname windowx
windowx@ windowx@2 windowx@3 windowx@4 windowx@5 windowx@6 windowy windowy@ windowy@2 windowy@3 windowy@4 windowy@5 windowy@6
x x1mousedoubleclickaction x1mousedownaction x1mouseupaction x2mousedoubleclickaction x2mousedownaction
x2mouseupaction
y
/C2"Variables" STYLE_VARIABLE
#
addonspath
crlf currentconfig currentconfigheight currentconfigwidth currentconfigx currentconfigy currentfile
currentpath currentsection
pluginspath programdrive programpath pscreenareaheight pscreenareawidth pscreenareax pscreenareay
pworkareaheight pworkareawidth pworkareax pworkareay
rootconfig rootconfigpath
screenareaheight screenareaheight@1 screenareaheight@2 screenareawidth screenareawidth@1
screenareawidth@2 screenareax screenareax@1 screenareax@2 screenareay screenareay@1 screenareay@2
settingspath skinspath
vscreenareaheight vscreenareawidth vscreenareax vscreenareay
workareaheight workareaheight@1 workareaheight@2 workareawidth workareawidth@1 workareawidth@2
workareax workareax@1 workareax@2 workareay workareay@1 workareay@2
/C3"Bangs" STYLE_KEYWORD
about activateconfig addblur
clickthrough clickthroughgroup commandmeasure
deactivateconfig deactivateconfiggroup disablemeasure disablemeasuregroup draggable draggablegroup
enablemeasure enablemeasuregroup
hide hideblur hidefade hidefadegroup hidegroup hidemeter hidemetergroup
keeponscreen keeponscreengroup
loadlayout log
manage move movemeter
pausemeasure pausemeasuregroup pluginbang
quit
redraw redrawgroup refresh refreshapp refreshgroup removeblur resetstats
setclip setoption setoptiongroup settransparency settransparencygroup setvariable setvariablegroup
setwallpaper show showblur showfade showfadegroup showgroup showmeter showmetergroup skincustommenu
skinmenu snapedges snapedgesgroup
toggle toggleblur toggleconfig togglefade togglefadegroup togglegroup togglemeasure togglemeasuregroup
togglemeter togglemetergroup togglepausemeasure togglepausemeasuregroup traymenu
unpausemeasure unpausemeasuregroup updategroup updatemeasure updatemeasuregroup updatemeter
updatemetergroup
writekeyvalue
zpos zposgroup            
/C4"Specialty" STYLE_KEYWORD
[
]
barorientation bitmapalign
channel coretemptype
graphorientation graphstart
imageflip infotype
playertype port powerstate primaryimageflip
recycletype reghkey rescounttype
secondaryimageflip speedfanscale speedfantype
twittertype type
vdmeasuretype
wifiinfotype
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5364
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Ultraedit - wordfile

Post by eclectic-tech »

Wasn't sure if you wanted folds, I don't use them, but that's a good addition!

Not enough to get me to switch from Notepad++ just yet :x , but I'm glad if it helped you. :)
ms310
Posts: 225
Joined: April 1st, 2015, 7:16 am

Re: Ultraedit - wordfile

Post by ms310 »

You did help me a lot - thank you SO MUCH!
Post Reply