]> Cypherpunks repositories - gostls13.git/commitdiff
misc/notepadplus: Fix Function List in Notepad++ 6.5
authorChaiShushan <chaishushan@gmail.com>
Wed, 18 Dec 2013 18:17:38 +0000 (10:17 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 18 Dec 2013 18:17:38 +0000 (10:17 -0800)
Since version 6.5, npp change the Function List syntax for User Defined Languages.
We need use userDefinedLangName syntax in association tag in Notepad++ 6.5.

Fix issue 6735.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/22770043

misc/notepadplus/functionList.xml

index ca949f01848259e85aea01389c3cbabb3b0f0200..7c605db4f033779514cfe01ad39af96cfad544d7 100644 (file)
@@ -1,8 +1,15 @@
 <!-- <NotepadPlus> -->
        <!-- <functionList> -->
                <!-- <associationMap> -->
+
+               <!--
+                       if npp version == 6.4:
                        <association ext=".go" id="go"/>
 
+                       if npp version >= 6.5:
+                       <association userDefinedLangName="go" id="go"/>
+               -->
+
                <!-- </associationMap> -->
                <!-- <parsers> -->
                        <parser id="go" displayName="Go" commentExpr="((/\*.*?\*)/|(//.*?$))">