General > Off Topic

The top 12 reasons I'm liking Notepad++ so far

<< < (2/7) > >>

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">- &amp; ( ) * , . / { | } + &lt; = &gt;</Keywords>
            <Keywords name="Comment">1 2 0;</Keywords>
            <Keywords name="Words1">break&#x0D;&#x0A;call&#x0D;&#x0A;continue&#x0D;&#x0A;exit&#x0D;&#x0A;for&#x0D;&#x0A;gosub&#x0D;&#x0A;goto&#x0D;&#x0A;halt&#x0D;&#x0A;if&#x0D;&#x0A;pause&#x0D;&#x0A;repeat&#x0D;&#x0A;until&#x0D;&#x0A;return&#x0D;&#x0A;stop&#x0D;&#x0A;while&#x0D;&#x0A;chooseSkill&#x0D;&#x0A;click&#x0D;&#x0A;cmpPix&#x0D;&#x0A;contPos&#x0D;&#x0A;deleteJournal&#x0D;&#x0A;findItem&#x0D;&#x0A;getShopInfo&#x0D;&#x0A;getUOTitle&#x0D;&#x0A;hideItem&#x0D;&#x0A;ignoreItem&#x0D;&#x0A;key&#x0D;&#x0A;move&#x0D;&#x0A;msg&#x0D;&#x0A;nextCPos&#x0D;&#x0A;onHotKey&#x0D;&#x0A;savePix&#x0D;&#x0A;setShopItem&#x0D;&#x0A;setUOTitle&#x0D;&#x0A;scanJournal&#x0D;&#x0A;sleep&#x0D;&#x0A;target&#x0D;&#x0A;terminate&#x0D;&#x0A;uoXL&#x0D;&#x0A;wait&#x0D;&#x0A;event&#x0D;&#x0A;Drag&#x0D;&#x0A;ExMsg&#x0D;&#x0A;Macro&#x0D;&#x0A;PathFind&#x0D;&#x0A;Property&#x0D;&#x0A;SkillLock&#x0D;&#x0A;Sleep&#x0D;&#x0A;SysMessage&#x0D;&#x0A;exevent&#x0D;&#x0A;Drag&#x0D;&#x0A;Dropc&#x0D;&#x0A;Droppd&#x0D;&#x0A;Dropg&#x0D;&#x0A;Popup&#x0D;&#x0A;RenamePet&#x0D;&#x0A;SkillLock&#x0D;&#x0A;StatLock&#x0D;&#x0A;menu&#x0D;&#x0A;Activate&#x0D;&#x0A;Button&#x0D;&#x0A;Check&#x0D;&#x0A;Clear&#x0D;&#x0A;Combo&#x0D;&#x0A;Delete&#x0D;&#x0A;Edit&#x0D;&#x0A;Font&#x0D;&#x0A;Align&#x0D;&#x0A;BGColor&#x0D;&#x0A;Color&#x0D;&#x0A;Name&#x0D;&#x0A;Size&#x0D;&#x0A;Style&#x0D;&#x0A;Transparent&#x0D;&#x0A;Get&#x0D;&#x0A;GetNum&#x0D;&#x0A;Hide&#x0D;&#x0A;HideEUO&#x0D;&#x0A;Create&#x0D;&#x0A;Create&#x0D;&#x0A;Ellipse&#x0D;&#x0A;File&#x0D;&#x0A;FloodFill&#x0D;&#x0A;Line&#x0D;&#x0A;Pix&#x0D;&#x0A;PixLine&#x0D;&#x0A;Pos&#x0D;&#x0A;Rectangle&#x0D;&#x0A;List&#x0D;&#x0A;Set&#x0D;&#x0A;Shape&#x0D;&#x0A;Show&#x0D;&#x0A;Text&#x0D;&#x0A;Window&#x0D;&#x0A;Color&#x0D;&#x0A;Size&#x0D;&#x0A;Title&#x0D;&#x0A;Transparent&#x0D;&#x0A;nameSpace&#x0D;&#x0A;local&#x0D;&#x0A;global&#x0D;&#x0A;clear&#x0D;&#x0A;push&#x0D;&#x0A;pop&#x0D;&#x0A;copy&#x0D;&#x0A;display&#x0D;&#x0A;execute&#x0D;&#x0A;linesPerCycle&#x0D;&#x0A;set&#x0D;&#x0A;send&#x0D;&#x0A;shutDown&#x0D;&#x0A;sound&#x0D;&#x0A;str&#x0D;&#x0A;tile&#x0D;&#x0A;deleteVar&#x0D;&#x0A;initEvents&#x0D;&#x0A;playCD&#x0D;&#x0A;stopCD&#x0D;&#x0A;</Keywords>
            <Keywords name="Words2">#charPosX&#x0D;&#x0A;#charPosY&#x0D;&#x0A;#charPosZ&#x0D;&#x0A;#charDir&#x0D;&#x0A;#charStatus&#x0D;&#x0A;#charID&#x0D;&#x0A;#charGhost&#x0D;&#x0A;#backpackID&#x0D;&#x0A;#charName&#x0D;&#x0A;#sex&#x0D;&#x0A;#str&#x0D;&#x0A;#hits&#x0D;&#x0A;#maxHits&#x0D;&#x0A;#dex&#x0D;&#x0A;#stamina&#x0D;&#x0A;#maxStam&#x0D;&#x0A;#int&#x0D;&#x0A;#mana&#x0D;&#x0A;#maxMana&#x0D;&#x0A;#maxStats&#x0D;&#x0A;#luck&#x0D;&#x0A;#weight&#x0D;&#x0A;#maxWeight&#x0D;&#x0A;#minDmg&#x0D;&#x0A;#maxDmg&#x0D;&#x0A;#gold&#x0D;&#x0A;#followers&#x0D;&#x0A;#maxFol&#x0D;&#x0A;#AR&#x0D;&#x0A;#FR&#x0D;&#x0A;#CR&#x0D;&#x0A;#PR&#x0D;&#x0A;#ER&#x0D;&#x0A;#TP&#x0D;&#x0A;#nextCPosX&#x0D;&#x0A;#nextCPosY&#x0D;&#x0A;#contSize&#x0D;&#x0A;#contPosX&#x0D;&#x0A;#contPosY&#x0D;&#x0A;#contKind&#x0D;&#x0A;#contID&#x0D;&#x0A;#contType&#x0D;&#x0A;#contName&#x0D;&#x0A;#lObjectID&#x0D;&#x0A;#lObjectType&#x0D;&#x0A;#lTargetID&#x0D;&#x0A;#lTargetX&#x0D;&#x0A;#lTargetY&#x0D;&#x0A;#lTargetZ&#x0D;&#x0A;#lTargetKind&#x0D;&#x0A;#lTargetTile&#x0D;&#x0A;#lLiftedID&#x0D;&#x0A;#lLiftedType&#x0D;&#x0A;#lLiftedKind&#x0D;&#x0A;#lSkill&#x0D;&#x0A;#lSpell&#x0D;&#x0A;#findID&#x0D;&#x0A;#findType&#x0D;&#x0A;#findX&#x0D;&#x0A;#findY&#x0D;&#x0A;#findZ&#x0D;&#x0A;#findDist&#x0D;&#x0A;#findKind&#x0D;&#x0A;#findStack&#x0D;&#x0A;#findBagID&#x0D;&#x0A;#findMod&#x0D;&#x0A;#findRep&#x0D;&#x0A;#findCol&#x0D;&#x0A;#findIndex&#x0D;&#x0A;#findCnt&#x0D;&#x0A;#shopCurPos&#x0D;&#x0A;#shopCnt&#x0D;&#x0A;#shopItemType&#x0D;&#x0A;#shopItemID&#x0D;&#x0A;#shopItemName&#x0D;&#x0A;#shopItemPrice&#x0D;&#x0A;#shopItemMax&#x0D;&#x0A;#skill&#x0D;&#x0A;#skillCap&#x0D;&#x0A;#skillLock&#x0D;&#x0A;#journal&#x0D;&#x0A;#jIndex&#x0D;&#x0A;#jColor&#x0D;&#x0A;#sysMsg&#x0D;&#x0A;#sysMsgCol&#x0D;&#x0A;#targCurs&#x0D;&#x0A;#cursKind&#x0D;&#x0A;#cliVer&#x0D;&#x0A;#cliCnt&#x0D;&#x0A;#cliNr&#x0D;&#x0A;#cliXRes&#x0D;&#x0A;#cliYRes&#x0D;&#x0A;#cliLeft&#x0D;&#x0A;#cliTop&#x0D;&#x0A;#cliLogged&#x0D;&#x0A;#lHandID&#x0D;&#x0A;#rHandID&#x0D;&#x0A;#enemyHits&#x0D;&#x0A;#enemyID&#x0D;&#x0A;#nsName&#x0D;&#x0A;#nsType&#x0D;&#x0A;#shard&#x0D;&#x0A;#date&#x0D;&#x0A;#time&#x0D;&#x0A;#sysTime&#x0D;&#x0A;#sCnt&#x0D;&#x0A;#sCnt2&#x0D;&#x0A;#pixCol&#x0D;&#x0A;#cursorX&#x0D;&#x0A;#cursorY&#x0D;&#x0A;#random&#x0D;&#x0A;#dispRes&#x0D;&#x0A;#lShard&#x0D;&#x0A;#osVer&#x0D;&#x0A;#euoVer&#x0D;&#x0A;#menuButton&#x0D;&#x0A;#menuRes&#x0D;&#x0A;#sendHeader&#x0D;&#x0A;#strRes&#x0D;&#x0A;#property&#x0D;&#x0A;#result&#x0D;&#x0A;#opts&#x0D;&#x0A;#lpc&#x0D;&#x0A;#tileType&#x0D;&#x0A;#tileZ&#x0D;&#x0A;#tileCnt&#x0D;&#x0A;#tileName&#x0D;&#x0A;#tileFlags&#x0D;&#x0A;#dot&#x0D;&#x0A;#false&#x0D;&#x0A;#smc&#x0D;&#x0A;#spc&#x0D;&#x0A;#true&#x0D;&#x0A;</Keywords>
            <Keywords name="Words3">%&#x0D;&#x0A;!</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