General > Off Topic
The top 12 reasons I'm liking Notepad++ so far
captainsparrow1882:
This is my userDefineLang.xml. Not very sophisticated but it might save you typing all these key words.
--- Code: ---<NotepadPlus>
<UserLang name="EasyUO" ext="">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="yes" words2="no" words3="yes" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+">{</Keywords>
<Keywords name="Folder-">}</Keywords>
<Keywords name="Operators">- & ( ) * , . / { | } + < = ></Keywords>
<Keywords name="Comment">1 2 0;</Keywords>
<Keywords name="Words1">break
call
continue
exit
for
gosub
goto
halt
if
pause
repeat
until
return
stop
while
chooseSkill
click
cmpPix
contPos
deleteJournal
findItem
getShopInfo
getUOTitle
hideItem
ignoreItem
key
move
msg
nextCPos
onHotKey
savePix
setShopItem
setUOTitle
scanJournal
sleep
target
terminate
uoXL
wait
event
Drag
ExMsg
Macro
PathFind
Property
SkillLock
Sleep
SysMessage
exevent
Drag
Dropc
Droppd
Dropg
Popup
RenamePet
SkillLock
StatLock
menu
Activate
Button
Check
Clear
Combo
Delete
Edit
Font
Align
BGColor
Color
Name
Size
Style
Transparent
Get
GetNum
Hide
HideEUO
Create
Create
Ellipse
File
FloodFill
Line
Pix
PixLine
Pos
Rectangle
List
Set
Shape
Show
Text
Window
Color
Size
Title
Transparent
nameSpace
local
global
clear
push
pop
copy
display
execute
linesPerCycle
set
send
shutDown
sound
str
tile
deleteVar
initEvents
playCD
stopCD
</Keywords>
<Keywords name="Words2">#charPosX
#charPosY
#charPosZ
#charDir
#charStatus
#charID
#charGhost
#backpackID
#charName
#sex
#str
#hits
#maxHits
#dex
#stamina
#maxStam
#int
#mana
#maxMana
#maxStats
#luck
#weight
#maxWeight
#minDmg
#maxDmg
#gold
#followers
#maxFol
#AR
#FR
#CR
#PR
#ER
#TP
#nextCPosX
#nextCPosY
#contSize
#contPosX
#contPosY
#contKind
#contID
#contType
#contName
#lObjectID
#lObjectType
#lTargetID
#lTargetX
#lTargetY
#lTargetZ
#lTargetKind
#lTargetTile
#lLiftedID
#lLiftedType
#lLiftedKind
#lSkill
#lSpell
#findID
#findType
#findX
#findY
#findZ
#findDist
#findKind
#findStack
#findBagID
#findMod
#findRep
#findCol
#findIndex
#findCnt
#shopCurPos
#shopCnt
#shopItemType
#shopItemID
#shopItemName
#shopItemPrice
#shopItemMax
#skill
#skillCap
#skillLock
#journal
#jIndex
#jColor
#sysMsg
#sysMsgCol
#targCurs
#cursKind
#cliVer
#cliCnt
#cliNr
#cliXRes
#cliYRes
#cliLeft
#cliTop
#cliLogged
#lHandID
#rHandID
#enemyHits
#enemyID
#nsName
#nsType
#shard
#date
#time
#sysTime
#sCnt
#sCnt2
#pixCol
#cursorX
#cursorY
#random
#dispRes
#lShard
#osVer
#euoVer
#menuButton
#menuRes
#sendHeader
#strRes
#property
#result
#opts
#lpc
#tileType
#tileZ
#tileCnt
#tileName
#tileFlags
#dot
#false
#smc
#spc
#true
</Keywords>
<Keywords name="Words3">%
!</Keywords>
<Keywords name="Words4"></Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
--- End code ---
12TimesOver:
--- Quote from: captainsparrow1882 on January 26, 2010, 10:57:17 AM ---This is my userDefineLang.xml. Not very sophisticated but it might save you typing all these key words.
--- End quote ---
Hey very nice Sparrow! I'll pull it in and give er' a whirl! I've been planning on doing this for a while now but hadn't gotten around to it :)
X
12TimesOver:
Hey Sparrow, I never did get back to you on this. Tried your XML, cool mun!! I'm changing the colors a bit to match what I'm used to seeing in SUO but this did indeed save me a hellalottawork!!
+1 karma to you ;)
X
redrum:
Ive been using Notepad++ for years for all kinda coding its so much easier in their
UOMaddog:
How can I use that existing .xml file? I can go into the User Define dialog box, but it doesn't give me a choice to load from an xml file or anything like that...I'm obviously missing something important!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version