2005-11-22 12:26:26 +00:00
|
|
|
/*
|
|
|
|
* highlighting.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2007-01-14 17:36:42 +00:00
|
|
|
* Copyright 2005-2007 Enrico Tröger <enrico.troeger@uvena.de>
|
2007-01-13 20:16:09 +00:00
|
|
|
* Copyright 2006-2007 Nick Treleaven <nick.treleaven@btinternet.com>
|
2005-11-22 12:26:26 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2006-05-16 19:04:04 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2005-11-22 12:26:26 +00:00
|
|
|
*
|
2005-11-27 20:46:36 +00:00
|
|
|
* $Id$
|
2005-11-22 12:26:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2006-01-03 12:46:20 +00:00
|
|
|
#ifndef GEANY_HIGHLIGHTING_H
|
|
|
|
#define GEANY_HIGHLIGHTING_H 1
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-08-20 20:39:59 +00:00
|
|
|
#include "Scintilla.h"
|
|
|
|
#include "ScintillaWidget.h"
|
|
|
|
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2007-11-02 17:44:05 +00:00
|
|
|
void highlighting_init_styles(gint filetype_idx, GKeyFile *config, GKeyFile *configh);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2007-11-02 17:44:05 +00:00
|
|
|
void highlighting_set_styles(ScintillaObject *sci, gint filetype_idx);
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2007-11-02 17:44:05 +00:00
|
|
|
void highlighting_free_styles(void);
|
2007-07-26 09:50:12 +00:00
|
|
|
|
2006-01-03 12:46:20 +00:00
|
|
|
#endif
|