Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Title-formatting syntax highlighting for Notepad++ (Read 6596 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Title-formatting syntax highlighting for Notepad++

Hi all

For those interested, I've created a Notepad++ syntax highlighting definition for title formatting.



It's pretty simple, but it gets the job done well: all functions are highlighted (took the list from the reference page), all delimiters and such that I'm aware of work, etc. Brackets/parentheses are also matched properly, as shown in the screenshot.
It defines itself as the default language of .f2k files, so you can just store your snippets as .f2k and it'll work as expected.

I mainly created this because the enormous amounts of brackets and commas (among other things) was making my config strings nigh unreadable This definition file nicely fixes all that for me.

Download: http://www.mediafire.com/view/7bda1n79xn4wlfa/f2k.xml

Install: go to Language -> Define your language... -> Import... -> browse to this file

Enjoy!

Code:
Code: [Select]
<NotepadPlus>
<UserLang name="FB2KTitleFormat" ext="f2k" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments"></Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">,</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">(</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">)</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">$if $if2 $if3 $ifequal $ifgreater $iflonger $select</Keywords>
<Keywords name="Keywords2">$add $div $greater $max $min $mod $mul $muldiv $rand $sub</Keywords>
<Keywords name="Keywords3">$and $or $not $xor</Keywords>
<Keywords name="Keywords4">$abbr $ansi $ascii $caps $caps2 $char $crc32 $crlf $cut $directory $directory_path $ext $filename $fix_eol $hex $insert $left $len $len2 $longer $lower $longest $num $pad $pad_right $pad_right $padcut $padcut_right $progress $progress2 $repeat $replace $right $roman $rot13 $shortest $strchr $strrchr $strstr $strcmp $stricmp $substr $stripprefix $swapprefix $trim $tab $upper</Keywords>
<Keywords name="Keywords5">$meta $meta_sep $meta_test $meta_num</Keywords>
<Keywords name="Keywords6">$info $channels</Keywords>
<Keywords name="Keywords7">$year $month $day_of_month $date $time</Keywords>
<Keywords name="Keywords8">$get $put $puts</Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03[ 04 05] 06% 07 08% 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="FFFFFF" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FFFFFF" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF8000" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FFFF00" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF0080" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="00FFFF" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="FF80C0" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FF0080" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="FF8080" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF8000" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF8000" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="FF8000" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="C0C0C0" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="80FF80" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="26FF00" bgColor="000000" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>

Title-formatting syntax highlighting for Notepad++

Reply #1
Bugfix update: v2... Certain combinations of [] and ' will break v1.

http://www.mediafire.com/view/pkkjm7s2nbquv62/f2k_v2.xml

Code: [Select]
<NotepadPlus>
<UserLang name="FB2KTitleFormat" ext="f2k" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">,[]</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">(</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">)</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">$if $if2 $if3 $ifequal $ifgreater $iflonger $select</Keywords>
<Keywords name="Keywords2">$add $div $greater $max $min $mod $mul $muldiv $rand $sub</Keywords>
<Keywords name="Keywords3">$and $or $not $xor</Keywords>
<Keywords name="Keywords4">$abbr $ansi $ascii $caps $caps2 $char $crc32 $crlf $cut $directory $directory_path $ext $filename $fix_eol $hex $insert $left $len $len2 $longer $lower $longest $num $pad $pad_right $pad_right $padcut $padcut_right $progress $progress2 $repeat $replace $right $roman $rot13 $shortest $strchr $strrchr $strstr $strcmp $stricmp $substr $stripprefix $swapprefix $trim $tab $upper</Keywords>
<Keywords name="Keywords5">$meta $meta_sep $meta_test $meta_num</Keywords>
<Keywords name="Keywords6">$info $channels</Keywords>
<Keywords name="Keywords7">$year $month $day_of_month $date $time</Keywords>
<Keywords name="Keywords8">$get $put $puts</Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03 04 05 06% 07 08% 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FFFF00" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF0080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="00FFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="FF80C0" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="FF0080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="FF8080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="800000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="808080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="C0C0C0" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="80FF80" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="26FF00" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>

Title-formatting syntax highlighting for Notepad++

Reply #2
Thanks. Seems to catch the title formatting syntax well. This really only looks okay with a dark style though. The default np++ style (white) renders a lot of the colours used hard to read or gives certain text black highlighting which you wouldn't see on a black background of course.

Title-formatting syntax highlighting for Notepad++

Reply #3
Thanks. Seems to catch the title formatting syntax well. This really only looks okay with a dark style though. The default np++ style (white) renders a lot of the colours used hard to read or gives certain text black highlighting which you wouldn't see on a black background of course.

Yes, I thought that'd happen, sorry. I'll see about uploading a version for white backgrounds. For some reason the style builder doesn't allow transparent backgrounds like the regular syntax highlighting has.

Title-formatting syntax highlighting for Notepad++

Reply #4
I'm pretty sure there should be a similar topic floating around somewhere, which is where I grabbed this at the time:
Code: [Select]
<NotepadPlus>
    <UserLang name="foobar2000" ext="foob TAGZ fcs foo cfg">
        <Settings>
            <Global caseIgnored="yes" />
            <TreatAsSymbol comment="no" commentLine="no" />
            <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Delimiters">&apos;00&apos;00</Keywords>
            <Keywords name="Folder+">BlockBegin</Keywords>
            <Keywords name="Folder-">BlockEnd</Keywords>
            <Keywords name="Operators">&apos; ( ) , [ ] | =</Keywords>
            <Keywords name="Comment">1 1 2 2 0//</Keywords>
            <Keywords name="Words1">%album artist% %album% %date% %artist% %title% %tracknumber% %genre% %subgenre% %performer% %instrument% %composer% %conductor% %orchestra% %publisher% %work% %cat#% %tempo% %bitrate% %discnumber% %situation% %rating% %emyfav% %bpm% %check sm% %score% %check ly% %lyrics% %check tad% %check q% %check gs% %check pi% %check lc% %added% %downloaded% %length% %cwb_systemdate% %special%</Keywords>
            <Keywords name="Words2">%isplaying% %_ispaused% %_composer% %_comment% %__channels% %_date% %_directoryname% %disc% %_diskwriter_index% %_foobar2000_version% %_filename% %_filename_ext% %_genre% %_isplaying% %ispaused% %_length% %_length_seconds% %_path% %_path_raw% %_playlist_number% %_subsong% %__bitrate% %__extrainfo% %__replaygain_album_gain% %__replaygain_album_peak% %__replaygain_track_gain% %__replaygain_track_peak% %__samplerate% %playback_time% %length% %length_seconds% %_time_elapsed% %_time_elapsed_seconds% %_time_remaining% %_time_remaining_seconds% %play_count% %codec% %codec_profile% %filename% %filename_ext% %directoryname% %path% %subsong% %path_sort% %length_seconds% %filesize% %bitrate% %channels% %samplerate% %__mp3_stereo_mode% %added% %_system_year% %_system_month% %_system_day% %_system_hour% %last_played% %_selected_back% %_back% %_selected_back_no_focus% %_selected_text% %_time_total% %_time_total_seconds% %bitrate% %_width% %_height% %_trackinfo_mode% %_trackinfo_notrack% %cwb_systemdate% %cwb_systemdatetime% %cwb_activelist% %cwb_activelist_count% %cwb_playinglist% %cwb_playinglist_count% %cwb_queueindex% %cwb_queueindexes% %cwb_queuelength% %cwb_queue_end_playlist% %cwb_next_title% %cwb_next_artist% %cwb_playback_order%</Keywords>
            <Keywords name="Words3">$if $if2 $if3 $ifequal $ifgreater $iflonger $select $repeat $panel $drawrect $font $imageabs $imageabs2 $button $button2 $sorted $pad</Keywords>
            <Keywords name="Words4">$put $puts $get $abbr $lower $upper $num $caps $caps2 $len $pad $pad_right $cut $padcut $padcut_right $insert $add $sub $mul $div $muldiv $mod $min $max $left $right $and $or $xor $not $fix_eol $fix_eol2 $meta $meta_sep $mets_num $mets_test $info $char $strcmp $stricmp $directory $greater $longer $strchr $strrchr $strstr $progress $progress2 $replace $ext $substr $rgb $transition $blend $rand $trim $tab $crlf $longest $shortest $set_style $calculate_blend_target $offset_colour $setpvar $glass $getpvar $eval $align $alignset $alignrel $alignabs $calcwidth $calcheight $fileexists $cwb_urldecode $cwb_httpclean $cwb_removethe $cwb_ltrim $cwb_datediff</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
            <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF8000" bgColor="FFFF80" fontName="" fontStyle="0" />
            <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF8040" bgColor="FFFF80" fontName="" fontStyle="0" />
            <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="Arial" fontStyle="0" fontSize="10" />
            <WordsStyle name="KEYWORD2" styleID="6" fgColor="4646FF" bgColor="FFFFFF" fontName="Arial" fontStyle="0" fontSize="10" />
            <WordsStyle name="KEYWORD3" styleID="7" fgColor="FF0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="11" />
            <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF4646" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="11" />
            <WordsStyle name="COMMENT" styleID="1" fgColor="FFFF00" bgColor="FFFFFF" fontName="" fontStyle="0" />
            <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Arial" fontStyle="2" fontSize="10" />
            <WordsStyle name="NUMBER" styleID="4" fgColor="FF0080" bgColor="FFFFFF" fontName="Arial" fontStyle="0" fontSize="10" />
            <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
            <WordsStyle name="DELIMINER1" styleID="14" fgColor="A25151" bgColor="FFFFFF" fontName="Arial" fontStyle="0" />
            <WordsStyle name="DELIMINER2" styleID="15" fgColor="FFFFFF" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
    </UserLang>
</NotepadPlus>
Using it with the default theme.

Title-formatting syntax highlighting for Notepad++

Reply #5
Update: v3
Fixed an important typo from v2 and changed the colors again.



V3 seems to finally work properly (v2 still just stopped coloring keywords and such at certain points). Sorry about the bad first 2 versions, they were my first attempts at this.

As a whole it's not state of the art, but it can get you under way, so sorry if it isn't perfect.

http://www.mediafire.com/view/835odn83xvan6bj/f2k_v3.xml

Code: [Select]
<NotepadPlus>
<UserLang name="FB2KTitleFormat" ext="f2k" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">, [ ]</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">(</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">)</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open">//</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">$if $if2 $if3 $ifequal $ifgreater $iflonger $select</Keywords>
<Keywords name="Keywords2">$add $div $greater $max $min $mod $mul $muldiv $rand $sub</Keywords>
<Keywords name="Keywords3">$and $or $not $xor</Keywords>
<Keywords name="Keywords4">$abbr $ansi $ascii $caps $caps2 $char $crc32 $crlf $cut $directory $directory_path $ext $filename $fix_eol $hex $insert $left $len $len2 $longer $lower $longest $num $pad $pad_right $pad_right $padcut $padcut_right $progress $progress2 $repeat $replace $right $roman $rot13 $shortest $strchr $strrchr $strstr $strcmp $stricmp $substr $stripprefix $swapprefix $trim $tab $upper</Keywords>
<Keywords name="Keywords5">$meta $meta_sep $meta_test $meta_num</Keywords>
<Keywords name="Keywords6">$info $channels</Keywords>
<Keywords name="Keywords7">$year $month $day_of_month $date $time</Keywords>
<Keywords name="Keywords8">$get $put $puts</Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03 04 05 06% 07 08% 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FFFFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FFFF00" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF80FF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF0080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="00FFFF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="0000FF" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="FF8080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF2D2D" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF8000" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="00FF00" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="808080" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="C0C0C0" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="80FF80" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="00D500" bgColor="000000" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>

Title-formatting syntax highlighting for Notepad++

Reply #6
If anyone is interested I changed the color scheme a little bit, using the code that is posted about. I brought back the traditional white background, and then darkened some of the font colors because they were wayy too bright to see on a white background.  The highlighting is exactly the same as the above code, but is just different colors being used to highlight

For NP++
(NOTE: you dont have to add this code to UserDefinedLang.xml.. you can paste it into a new text file, save it as WhateverYouWantToNameIt.XML, then import the language using Language > Define Your Language... > Import and select the WhateverYouWantToNameIt.XML file you created. You should receive a message saying "import successful". Then, anytime you want to use that highlighting, select FB2KTitleFormat from the Language drop-down menu in NP++)

Code: [Select]
<NotepadPlus>
<UserLang name="FB2KTitleFormat" ext="f2k" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">, [ ]</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">(</Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close">)</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open">//</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">$if $if2 $if3 $ifequal $ifgreater $iflonger $select</Keywords>
<Keywords name="Keywords2">$add $div $greater $max $min $mod $mul $muldiv $rand $sub</Keywords>
<Keywords name="Keywords3">$and $or $not $xor</Keywords>
<Keywords name="Keywords4">$abbr $ansi $ascii $caps $caps2 $char $crc32 $crlf $cut $directory $directory_path $ext $filename $fix_eol $hex $insert $left $len $len2 $longer $lower $longest $num $pad $pad_right $pad_right $padcut $padcut_right $progress $progress2 $repeat $replace $right $roman $rot13 $shortest $strchr $strrchr $strstr $strcmp $stricmp $substr $stripprefix $swapprefix $trim $tab $upper</Keywords>
<Keywords name="Keywords5">$meta $meta_sep $meta_test $meta_num</Keywords>
<Keywords name="Keywords6">$info $channels</Keywords>
<Keywords name="Keywords7">$year $month $day_of_month $date $time</Keywords>
<Keywords name="Keywords8">$get $put $puts</Keywords>
<Keywords name="Delimiters">00&apos; 01 02&apos; 03 04 05 06% 07 08% 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="AAAAAA" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="FFFFFF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="c27e1f" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF80FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="11adad" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="FF8080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="FF2D2D" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="278727" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="f30d0d" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="947846" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="154dca" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>

Title-formatting syntax highlighting for Notepad++

Reply #7
I'm pretty sure there should be a similar topic floating around somewhere, which is where I grabbed this at the time:

FWIW, I think you mean this thread.
This is HA. Not the Jerry Springer Show.