mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-21 17:08:12 +02:00
Change XML encoding from Windows-1252 to UTF-8 (config.xml and others)
and add XML declaration for session.xml, shortcuts.xml & userDefineLang.xml for conforming to XML standard specs. Regarding the suggestions from #9339
This commit is contained in:
parent
e24ad94ddd
commit
52e8c68f90
65
PowerEditor/bin/userDefineLang.xml
Normal file
65
PowerEditor/bin/userDefineLang.xml
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<NotepadPlus>
|
||||||
|
<UserLang name="ggg" ext="" udlVersion="2.1">
|
||||||
|
<Settings>
|
||||||
|
<Global caseIgnored="no" 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"></Keywords>
|
||||||
|
<Keywords name="Keywords2"></Keywords>
|
||||||
|
<Keywords name="Keywords3"></Keywords>
|
||||||
|
<Keywords name="Keywords4"></Keywords>
|
||||||
|
<Keywords name="Keywords5"></Keywords>
|
||||||
|
<Keywords name="Keywords6"></Keywords>
|
||||||
|
<Keywords name="Keywords7"></Keywords>
|
||||||
|
<Keywords name="Keywords8"></Keywords>
|
||||||
|
<Keywords name="Delimiters"></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="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" 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="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="DELIMITERS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
|
||||||
|
<WordsStyle name="DELIMITERS3" fgColor="000000" 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>
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete language="BaanC">
|
<AutoComplete language="BaanC">
|
||||||
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar=".:$#" />
|
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar=".:$#" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name=""allowscale"" />
|
<KeyWord name=""allowscale"" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar="@"/>
|
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar="@"/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="arp" />
|
<KeyWord name="arp" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete language="C">
|
<AutoComplete language="C">
|
||||||
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar="-" />
|
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," additionalWordChar="-" />
|
||||||
<!-- note: this list was created using functions and reserved words known to GnuCOBOL (COBOL85,2002,2014 + extensions from IBM/MF/RM/ACUCOBOL) -->
|
<!-- note: this list was created using functions and reserved words known to GnuCOBOL (COBOL85,2002,2014 + extensions from IBM/MF/RM/ACUCOBOL) -->
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="arguments" />
|
<KeyWord name="arguments" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<!-- language doesnt really mean anything, its more of a comment -->
|
<!-- language doesnt really mean anything, its more of a comment -->
|
||||||
<AutoComplete language="C++">
|
<AutoComplete language="C++">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete language="C#">
|
<AutoComplete language="C#">
|
||||||
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar="."/>
|
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar="."/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name=":active" />
|
<KeyWord name=":active" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="!DOCTYPE html" />
|
<KeyWord name="!DOCTYPE html" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="above" />
|
<KeyWord name="above" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="*error*" />
|
<KeyWord name="*error*" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
|
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
|
||||||
<AutoComplete language="LUA">
|
<AutoComplete language="LUA">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="!AddIncludeDir" />
|
<KeyWord name="!AddIncludeDir" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
@author Geoffray Warnants - http://www.geoffray.be
|
@author Geoffray Warnants - http://www.geoffray.be
|
||||||
@version 1.35.20100625
|
@version 1.35.20100625
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
@author Gregori Gerebtzoff
|
@author Gregori Gerebtzoff
|
||||||
@version 1.2
|
@version 1.2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="ACCELERATORS" />
|
<KeyWord name="ACCELERATORS" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete language="SQL">
|
<AutoComplete language="SQL">
|
||||||
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<Environment ignoreCase="no" />
|
<Environment ignoreCase="no" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="Abs" />
|
<KeyWord name="Abs" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="abs" />
|
<KeyWord name="abs" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<AutoComplete>
|
<AutoComplete>
|
||||||
<KeyWord name="abbrev" />
|
<KeyWord name="abbrev" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
Bespin
|
Bespin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
Blackboard
|
Blackboard
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
choco
|
choco
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--// DansLeRuSH's dark theme for Notepad++ / Notepad plus plus
|
<!--// DansLeRuSH's dark theme for Notepad++ / Notepad plus plus
|
||||||
|
|
||||||
[ LEGAL DISCLAIMER ] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
[ LEGAL DISCLAIMER ] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Style Name: Deep Black
|
Style Name: Deep Black
|
||||||
Description: Based on the theme Port VibrantInk by tyler
|
Description: Based on the theme Port VibrantInk by tyler
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Theme name : Hello Kitty
|
Theme name : Hello Kitty
|
||||||
This theme is not complete. If you enhance it, please send it back to me :
|
This theme is not complete. If you enhance it, please send it back to me :
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: HotFudgeSundae.xml
|
File Name: HotFudgeSundae.xml
|
||||||
Style Name: HotFudgeSundae
|
Style Name: HotFudgeSundae
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
monoindustrial
|
monoindustrial
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
Monokai
|
Monokai
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: MossyLawn.xml
|
File Name: MossyLawn.xml
|
||||||
Style Name: MossyLawn
|
Style Name: MossyLawn
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: Navajo.xml
|
File Name: Navajo.xml
|
||||||
Style Name: Navajo
|
Style Name: Navajo
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Notepad++ Custom Style
|
Notepad++ Custom Style
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
PlasticCodeWrap
|
PlasticCodeWrap
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Notepad++ Custom stylers
|
Notepad++ Custom stylers
|
||||||
Style name: Port Ruby Blue
|
Style name: Port Ruby Blue
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: Solarized-light.xml
|
File Name: Solarized-light.xml
|
||||||
Style Name: Solarized-light
|
Style Name: Solarized-light
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: Solarized.xml
|
File Name: Solarized.xml
|
||||||
Style Name: Solarized
|
Style Name: Solarized
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
|
|
||||||
Twilight
|
Twilight
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
Style Name: Port VibrantInk
|
Style Name: Port VibrantInk
|
||||||
Description: Based on the Textmate theme VibrantInk (http://alternateidea.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle) by Justin Palmer
|
Description: Based on the Textmate theme VibrantInk (http://alternateidea.com/blog/articles/2006/01/03/textmate-vibrant-ink-theme-and-prototype-bundle) by Justin Palmer
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--
|
<!--
|
||||||
File name: Zenburn.xml
|
File name: Zenburn.xml
|
||||||
Style Name: Zenburn
|
Style Name: Zenburn
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!--//
|
<!--//
|
||||||
File Name: khaki.xml
|
File Name: khaki.xml
|
||||||
Style Name: khaki
|
Style Name: khaki
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<LexerStyles>
|
<LexerStyles>
|
||||||
<LexerType name="actionscript" desc="ActionScript" ext="">
|
<LexerType name="actionscript" desc="ActionScript" ext="">
|
||||||
|
@ -1215,7 +1215,7 @@ bool NppParameters::load()
|
|||||||
|
|
||||||
if (!loadOkay)
|
if (!loadOkay)
|
||||||
{
|
{
|
||||||
TiXmlDeclaration* decl = new TiXmlDeclaration(TEXT("1.0"), TEXT("Windows-1252"), TEXT(""));
|
TiXmlDeclaration* decl = new TiXmlDeclaration(TEXT("1.0"), TEXT("UTF-8"), TEXT(""));
|
||||||
_pXmlUserDoc->LinkEndChild(decl);
|
_pXmlUserDoc->LinkEndChild(decl);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -2746,6 +2746,7 @@ std::pair<unsigned char, unsigned char> NppParameters::feedUserLang(TiXmlNode *n
|
|||||||
bool NppParameters::importUDLFromFile(const generic_string& sourceFile)
|
bool NppParameters::importUDLFromFile(const generic_string& sourceFile)
|
||||||
{
|
{
|
||||||
TiXmlDocument *pXmlUserLangDoc = new TiXmlDocument(sourceFile);
|
TiXmlDocument *pXmlUserLangDoc = new TiXmlDocument(sourceFile);
|
||||||
|
|
||||||
bool loadOkay = pXmlUserLangDoc->LoadFile();
|
bool loadOkay = pXmlUserLangDoc->LoadFile();
|
||||||
if (loadOkay)
|
if (loadOkay)
|
||||||
{
|
{
|
||||||
@ -2960,6 +2961,8 @@ void NppParameters::writeDefaultUDL()
|
|||||||
if (!_pXmlUserLangDoc)
|
if (!_pXmlUserLangDoc)
|
||||||
{
|
{
|
||||||
_pXmlUserLangDoc = new TiXmlDocument(_userDefineLangPath);
|
_pXmlUserLangDoc = new TiXmlDocument(_userDefineLangPath);
|
||||||
|
TiXmlDeclaration* decl = new TiXmlDeclaration(TEXT("1.0"), TEXT("UTF-8"), TEXT(""));
|
||||||
|
_pXmlUserLangDoc->LinkEndChild(decl);
|
||||||
_pXmlUserLangDoc->InsertEndChild(TiXmlElement(TEXT("NotepadPlus")));
|
_pXmlUserLangDoc->InsertEndChild(TiXmlElement(TEXT("NotepadPlus")));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3152,6 +3155,10 @@ void NppParameters::writeSession(const Session & session, const TCHAR *fileName)
|
|||||||
const TCHAR *pathName = fileName?fileName:_sessionPath.c_str();
|
const TCHAR *pathName = fileName?fileName:_sessionPath.c_str();
|
||||||
|
|
||||||
_pXmlSessionDoc = new TiXmlDocument(pathName);
|
_pXmlSessionDoc = new TiXmlDocument(pathName);
|
||||||
|
|
||||||
|
TiXmlDeclaration* decl = new TiXmlDeclaration(TEXT("1.0"), TEXT("UTF-8"), TEXT(""));
|
||||||
|
_pXmlSessionDoc->LinkEndChild(decl);
|
||||||
|
|
||||||
TiXmlNode *root = _pXmlSessionDoc->InsertEndChild(TiXmlElement(TEXT("NotepadPlus")));
|
TiXmlNode *root = _pXmlSessionDoc->InsertEndChild(TiXmlElement(TEXT("NotepadPlus")));
|
||||||
|
|
||||||
if (root)
|
if (root)
|
||||||
@ -3238,6 +3245,8 @@ void NppParameters::writeShortcuts()
|
|||||||
{
|
{
|
||||||
//do the treatment
|
//do the treatment
|
||||||
_pXmlShortcutDoc = new TiXmlDocument(_shortcutsPath);
|
_pXmlShortcutDoc = new TiXmlDocument(_shortcutsPath);
|
||||||
|
TiXmlDeclaration* decl = new TiXmlDeclaration(TEXT("1.0"), TEXT("UTF-8"), TEXT(""));
|
||||||
|
_pXmlShortcutDoc->LinkEndChild(decl);
|
||||||
}
|
}
|
||||||
|
|
||||||
TiXmlNode *root = _pXmlShortcutDoc->FirstChild(TEXT("NotepadPlus"));
|
TiXmlNode *root = _pXmlShortcutDoc->FirstChild(TEXT("NotepadPlus"));
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<GUIConfigs>
|
<GUIConfigs>
|
||||||
<GUIConfig name="ToolBar" visible="yes">standard</GUIConfig>
|
<GUIConfig name="ToolBar" visible="yes">standard</GUIConfig>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<!-- The key words of the supported languages, don't touch them! -->
|
<!-- The key words of the supported languages, don't touch them! -->
|
||||||
<Languages>
|
<Languages>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<InternalCommands />
|
<InternalCommands />
|
||||||
<Macros>
|
<Macros>
|
||||||
@ -7,17 +8,6 @@
|
|||||||
</Macro>
|
</Macro>
|
||||||
</Macros>
|
</Macros>
|
||||||
<UserDefinedCommands>
|
<UserDefinedCommands>
|
||||||
<!--
|
|
||||||
The following shortcuts are dangerous if your computer is compromised.
|
|
||||||
(But if your computer is compromised, EVERYTHING IS DANGEROUS!)
|
|
||||||
Remove the comment and use them at your own risk!!!
|
|
||||||
|
|
||||||
<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox "$(FULL_CURRENT_PATH)"</Command>
|
|
||||||
<Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore "$(FULL_CURRENT_PATH)"</Command>
|
|
||||||
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command>
|
|
||||||
<Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="65">safari "$(FULL_CURRENT_PATH)"</Command>
|
|
||||||
<Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a "$(FULL_CURRENT_PATH)"</Command>
|
|
||||||
-->
|
|
||||||
<Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">https://www.php.net/$(CURRENT_WORD)</Command>
|
<Command name="Get PHP help" Ctrl="no" Alt="yes" Shift="no" Key="112">https://www.php.net/$(CURRENT_WORD)</Command>
|
||||||
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
|
<Command name="Wikipedia Search" Ctrl="no" Alt="yes" Shift="no" Key="114">https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD)</Command>
|
||||||
<Command name="Open file in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
|
<Command name="Open file in another instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<LexerStyles>
|
<LexerStyles>
|
||||||
<LexerType name="actionscript" desc="ActionScript" ext="">
|
<LexerType name="actionscript" desc="ActionScript" ext="">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<ToolBarIcons>
|
<ToolBarIcons>
|
||||||
<Theme name = "virgin" pathPrefix = "">
|
<Theme name = "virgin" pathPrefix = "">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<NotepadPlus>
|
<NotepadPlus>
|
||||||
<UserLang name="RC File" ext="rc">
|
<UserLang name="RC File" ext="rc">
|
||||||
<Settings>
|
<Settings>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user