Highlighters: move HighlighterParameters definition from highlighter_registry.hh to highlighter.hh

This commit is contained in:
Maxime Coste 2012-01-15 13:44:16 +00:00
parent 7599edffa9
commit 5092456186
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
#ifndef highlighter_hh_INCLUDED
#define highlighter_hh_INCLUDED
#include <string>
#include <functional>
#include <vector>
namespace Kakoune
{
@ -15,6 +17,8 @@ class DisplayBuffer;
typedef std::function<void (DisplayBuffer& display_buffer)> HighlighterFunc;
typedef std::pair<std::string, HighlighterFunc> HighlighterAndId;
typedef std::vector<std::string> HighlighterParameters;
}

View File

@ -14,8 +14,6 @@ namespace Kakoune
class Window;
typedef std::vector<std::string> HighlighterParameters;
typedef std::function<HighlighterAndId (Window& window,
const HighlighterParameters& params)> HighlighterFactory;