[gtksourceviewmm] Change SourceLanguage to Language.



commit cc3b1ea9a06f432a2bc0d851b79bb842cfd2a8ba
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sun Mar 27 15:42:05 2011 +0200

    Change SourceLanguage to Language.
    
    * gtksourceview/src/sourcelanguage.[hg|ccg]: Ran source_truncate.pl
    on these and renamed them to...
    * gtksourceview/src/language.[hg|ccg]: ...these

 .../src/{sourcelanguage.ccg => language.ccg}       |    2 +-
 .../src/{sourcelanguage.hg => language.hg}         |   16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtksourceview/src/sourcelanguage.ccg b/gtksourceview/src/language.ccg
similarity index 97%
rename from gtksourceview/src/sourcelanguage.ccg
rename to gtksourceview/src/language.ccg
index 7cf7934..fa10b62 100644
--- a/gtksourceview/src/sourcelanguage.ccg
+++ b/gtksourceview/src/language.ccg
@@ -1,4 +1,4 @@
-/* sourcelanguage.cc
+/* language.cc
  *
  * Copyright (C) 2006 Dodji Seketeli
  * Copyright (C) 2010, 2011 Krzesimir Nowak
diff --git a/gtksourceview/src/sourcelanguage.hg b/gtksourceview/src/language.hg
similarity index 90%
rename from gtksourceview/src/sourcelanguage.hg
rename to gtksourceview/src/language.hg
index 5dfe18f..74e05be 100644
--- a/gtksourceview/src/sourcelanguage.hg
+++ b/gtksourceview/src/language.hg
@@ -1,4 +1,4 @@
-/* sourcelanguage.h
+/* language.h
  *
  * Copyright (C) 2004-2005 Jae Jang
  * Copyright (C) 2005-2006 Rob Page
@@ -24,7 +24,7 @@
 
 #include <glibmm/object.h>
 
-#include <gtksourceviewmm/sourcestylescheme.h>
+#include <gtksourceviewmm/stylescheme.h>
 
 _DEFS(gtksourceviewmm,gtksourceview)
 _PINCLUDE(glibmm/private/object_p.h)
@@ -33,20 +33,20 @@ _PINCLUDE(glibmm/private/object_p.h)
 namespace Gsv
 {
 
-class SourceLanguageManager ;
+class LanguageManager ;
 
 _CC_INCLUDE(gtksourceview/gtksourcelanguage.h)
 _CC_INCLUDE(gtksourceview/gtksourceview-typebuiltins.h)
 
 /** Object representing a syntax highlighted language.
  *
- * SourceLanguage encapsulates syntax and highlighting styles for a particular
- * language. Use SourceLanguageManager to obtain a SourceLanguage instance, and
- * SourceBuffer::set_language() to apply it to a SourceBuffer.
+ * Language encapsulates syntax and highlighting styles for a particular
+ * language. Use LanguageManager to obtain a Language instance, and
+ * Buffer::set_language() to apply it to a Buffer.
  */
-class SourceLanguage : public Glib::Object
+class Language : public Glib::Object
 {
-  _CLASS_GOBJECT(SourceLanguage, GtkSourceLanguage, GTK_SOURCE_LANGUAGE, Glib::Object, GObject)
+  _CLASS_GOBJECT(Language, GtkSourceLanguage, GTK_SOURCE_LANGUAGE, Glib::Object, GObject)
 
 public:
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]