From c2702447ff42b834eb3d2e62933932a6a536887f Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 11 Sep 2010 23:34:00 +0000 Subject: [PATCH] [BUG_FIXED] Fix User Defined Language syntax folding not working problem. [NEW] Add Tamil translation. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@664 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/installer/nativeLang/danish.xml | 27 +- PowerEditor/installer/nativeLang/german.xml | 21 +- PowerEditor/installer/nativeLang/russian.xml | 23 +- PowerEditor/installer/nativeLang/tamil.xml | 580 ++++++++++++++++++ .../ScitillaComponent/ScintillaEditView.cpp | 1 + PowerEditor/src/localizationString.h | Bin 6910 -> 6984 bytes 6 files changed, 629 insertions(+), 23 deletions(-) create mode 100644 PowerEditor/installer/nativeLang/tamil.xml diff --git a/PowerEditor/installer/nativeLang/danish.xml b/PowerEditor/installer/nativeLang/danish.xml index 0f1728549..a75962fa1 100644 --- a/PowerEditor/installer/nativeLang/danish.xml +++ b/PowerEditor/installer/nativeLang/danish.xml @@ -1,7 +1,7 @@ - +
@@ -213,7 +213,7 @@ - + @@ -237,24 +237,26 @@ + +
- - - - - + + + + + - - + + @@ -444,6 +446,11 @@ + + + + + @@ -530,7 +537,7 @@ - + diff --git a/PowerEditor/installer/nativeLang/german.xml b/PowerEditor/installer/nativeLang/german.xml index ab21d475d..b197ffb7c 100644 --- a/PowerEditor/installer/nativeLang/german.xml +++ b/PowerEditor/installer/nativeLang/german.xml @@ -1,7 +1,7 @@ @@ -35,6 +35,7 @@ + @@ -160,6 +161,7 @@ + @@ -214,9 +216,11 @@ - + + + @@ -305,7 +309,7 @@ - + @@ -339,8 +343,10 @@ - + + + @@ -432,6 +438,11 @@ + + + + + diff --git a/PowerEditor/installer/nativeLang/russian.xml b/PowerEditor/installer/nativeLang/russian.xml index 875df9c63..e9132e23a 100644 --- a/PowerEditor/installer/nativeLang/russian.xml +++ b/PowerEditor/installer/nativeLang/russian.xml @@ -159,8 +159,8 @@ - - + + @@ -168,9 +168,9 @@ - - - + + + @@ -221,6 +221,8 @@ + + @@ -246,7 +248,7 @@
- + @@ -333,7 +335,7 @@ - + @@ -435,6 +437,11 @@ + + + + + @@ -517,7 +524,7 @@ - + diff --git a/PowerEditor/installer/nativeLang/tamil.xml b/PowerEditor/installer/nativeLang/tamil.xml new file mode 100644 index 000000000..67e1ed6b9 --- /dev/null +++ b/PowerEditor/installer/nativeLang/tamil.xml @@ -0,0 +1,580 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index becc6872b..dbdfc5ef2 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -601,6 +601,7 @@ void ScintillaEditView::setUserLexer(const TCHAR *userLangName) if (!userLangContainer) return; + execute(SCI_SETPROPERTY, reinterpret_cast("fold"), reinterpret_cast("1")); execute(SCI_SETPROPERTY, (WPARAM)"userDefine.ignoreCase", (LPARAM)(userLangContainer->_isCaseIgnored?"1":"0")); execute(SCI_SETPROPERTY, (WPARAM)"userDefine.commentLineSymbol", (LPARAM)(userLangContainer->_isCommentLineSymbol?"1":"0")); execute(SCI_SETPROPERTY, (WPARAM)"userDefine.commentSymbol", (LPARAM)(userLangContainer->_isCommentSymbol?"1":"0")); diff --git a/PowerEditor/src/localizationString.h b/PowerEditor/src/localizationString.h index cf4128293c668cf13fcb4a311c81e18a7e4bade5..db1235ca1ad618bfe9b8a65d11e60878bce00957 100644 GIT binary patch delta 36 scmexodcthOKB>tI*hRROaIfRu&%K5FEcavq2?^F*hD?T>$?K*30R~YFpa1{> delta 11 ScmX?M_Rn;~KB>tZ(hdM2^#rg0