mirror of
https://github.com/golang/go
synced 2024-11-22 04:54:42 -07:00
misc/notepadplus: add interface to function list and use clang color in comments
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13587043
This commit is contained in:
parent
fd7ddad160
commit
640a57c881
@ -6,6 +6,23 @@
|
|||||||
<!-- </associationMap> -->
|
<!-- </associationMap> -->
|
||||||
<!-- <parsers> -->
|
<!-- <parsers> -->
|
||||||
<parser id="go" displayName="Go" commentExpr="((/\*.*?\*)/|(//.*?$))">
|
<parser id="go" displayName="Go" commentExpr="((/\*.*?\*)/|(//.*?$))">
|
||||||
|
<classRange
|
||||||
|
mainExpr="^type\s+\w+\s+interface\s*\{"
|
||||||
|
openSymbole = "\{"
|
||||||
|
closeSymbole = "\}"
|
||||||
|
displayMode="node">
|
||||||
|
<className>
|
||||||
|
<nameExpr expr="type\s+\w+"/>
|
||||||
|
<nameExpr expr="\s+\w+"/>
|
||||||
|
<nameExpr expr="\w+"/>
|
||||||
|
</className>
|
||||||
|
<function
|
||||||
|
mainExpr="^\s+\w+\s*\(">
|
||||||
|
<functionName>
|
||||||
|
<funcNameExpr expr="\w+"/>
|
||||||
|
</functionName>
|
||||||
|
</function>
|
||||||
|
</classRange>
|
||||||
<function
|
<function
|
||||||
mainExpr="(^func\s+\w+)|(^func\s*\(\s*\w*\s*\*?\s*\w+\s*\)\s*\w+)"
|
mainExpr="(^func\s+\w+)|(^func\s*\(\s*\w*\s*\*?\s*\w+\s*\)\s*\w+)"
|
||||||
displayMode="$className->$functionName">
|
displayMode="$className->$functionName">
|
||||||
|
@ -36,8 +36,8 @@
|
|||||||
</KeywordLists>
|
</KeywordLists>
|
||||||
<Styles>
|
<Styles>
|
||||||
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
<WordsStyle name="COMMENTS" fgColor="AAAAAA" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
<WordsStyle name="LINE COMMENTS" fgColor="AAAAAA" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
<WordsStyle name="NUMBERS" fgColor="A52A2A" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
<WordsStyle name="NUMBERS" fgColor="A52A2A" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
<WordsStyle name="KEYWORDS1" fgColor="AA0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
|
<WordsStyle name="KEYWORDS1" fgColor="AA0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
|
||||||
<WordsStyle name="KEYWORDS2" fgColor="AA0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
|
<WordsStyle name="KEYWORDS2" fgColor="AA0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
|
||||||
|
Loading…
Reference in New Issue
Block a user