aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-05-16 07:09:51 +0000
committernyamatongwe <unknown>2005-05-16 07:09:51 +0000
commit35caf72ef74bfdea17d0a47be4ce5957a46470e2 (patch)
tree4fb49ba75cbf541052cf8b30ea2e25f40553d13a
parent814640ca9388062c5a5d8c1d8afaf3b977ca8c1b (diff)
downloadscintilla-mirror-35caf72ef74bfdea17d0a47be4ce5957a46470e2.tar.gz
Added ISO 8859-15 character set.
-rw-r--r--gtk/PlatGTK.cxx4
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface1
3 files changed, 6 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index bf360f2c2..6d7f92fdb 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -302,6 +302,8 @@ static const char *CharacterSetName(int characterSet) {
return "*-*";
case SC_CHARSET_THAI:
return "*-1";
+ case SC_CHARSET_8859_15:
+ return "iso8859-15";
default:
return "*-*";
}
@@ -758,6 +760,8 @@ const char *CharacterSetID(int characterSet) {
return "";
case SC_CHARSET_THAI:
return "ISO-8859-1";
+ case SC_CHARSET_8859_15:
+ return "ISO-8859-15";
default:
return "";
}
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 5a5a3f0fc..ca207bffb 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -174,6 +174,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SC_CHARSET_ARABIC 178
#define SC_CHARSET_VIETNAMESE 163
#define SC_CHARSET_THAI 222
+#define SC_CHARSET_8859_15 1000
#define SCI_STYLECLEARALL 2050
#define SCI_STYLESETFORE 2051
#define SCI_STYLESETBACK 2052
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 1a980486a..6527aec38 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -375,6 +375,7 @@ val SC_CHARSET_HEBREW=177
val SC_CHARSET_ARABIC=178
val SC_CHARSET_VIETNAMESE=163
val SC_CHARSET_THAI=222
+val SC_CHARSET_8859_15=1000
# Clear all the styles and make equivalent to the global default style.
set void StyleClearAll=2050(,)