Re: Using Notepad++ for editing Quickbook
Robert Kawulak <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <!&!AAAAAAAAAAAYAAAAAAAAAIOMVDziZelGq5Y6SEMPLILCgAAAEAAAAAg080vI6CFPohXNCzRFQWcBAAAAAA==@gmail.com> |
> From: Paul A. Bristow > Some of you may want to use Notepad++ for editing Quickbook files. > > Sadly at present there is a limitation in the syntax coloring of > comments :-( > > [/ This is a comment ] I also tried to configure N++ syntax highlighting for QuickBook some time ago, but the options in the UI seem to be incompatible with QuickBook grammar. I ended up having coloured only comments and inline code. :/ On the bright side, I was able to configure quite nice syntax highlighting for Boost.Build Jamfiles (attached if somebody is interested, colours based on Zenburn theme). > and operators - showing the all-important matching [ ] brackets. What do you mean? N++ seems to highlight matching [ and ] well for me. > This in known from some other languages, and a solution is known, but > no fix has yet been applied. > > stackoverflow.com/questions/1042855/boost-and-xml-c I see no references to N++ nor QuickBook there - why is this link related? Best regards, Robert _______________________________________________ Boost-docs mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/boost-docs
Jamfile.xml
(text/xml, 2.8 KB)
<NotepadPlus>
<UserLang name="Jamfile" ext="v2 jam">
<Settings>
<Global caseIgnored="no" escapeChar="\" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">"<0">0</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators">' ! $ % & ( ) * , . / : ; ? @ [ ] ^ ` { | } ~ + < = ></Keywords>
<Keywords name="Comment">1 2 0#</Keywords>
<Keywords name="Words1">include module local return if else for in while switch case on rule actions</Keywords>
<Keywords name="Words2">import_module rulenames echo match shell import using exe lib install alias unit-test compile compile-fail link link-fail run run-fail obj glob glob-tree project use-project explicit always constant path-constant build-project test-suite</Keywords>
<Keywords name="Words3"></Keywords>
<Keywords name="Words4"></Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="DCDCCC" bgColor="3F3F3F" 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="C2AF70" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="C6CF8D" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="000000" 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="738C73" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="7DC8D2" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="808040" bgColor="3F3F3F" fontName="" fontStyle="1" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="FF8080" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="8080C0" bgColor="3F3F3F" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>