Add java language parsing based on C language.

Yes I did not like JAVA, but I needed it for the Android application
This commit is contained in:
2011-12-01 09:59:46 +01:00
parent a351fe72bd
commit 870e127932
5 changed files with 98 additions and 4 deletions

View File

@@ -134,6 +134,11 @@ void HighlightManager::loadLanguages(void)
myHightline = new Highlight(xmlFilename);
listHighlight.PushBack(myHightline);
xmlFilename = homedir;
xmlFilename += "lang_java.xml";
myHightline = new Highlight(xmlFilename);
listHighlight.PushBack(myHightline);
//myHightline->Display();
}

View File

@@ -42,16 +42,17 @@
// Variables privé du namespace
#define POLICE_NAME "Monospace"
/*
#ifdef USE_GTK_VERSION_3_0
#define POLICE_SIZE 15
static int32_t m_pangoFontWidth = 9;
static int32_t m_pangoFontHeight = 19;
#elif USE_GTK_VERSION_2_0
*/
#define POLICE_SIZE 12
static int32_t m_pangoFontWidth = 7;
static int32_t m_pangoFontHeight = 15;
#endif
//#endif
/*
#define POLICE_SIZE 11
static int32_t m_pangoFontWidth = 7;