aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-08 14:14:16 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-08 14:14:16 +0100
commit6414b92c21ed234caf14372461a0fa331df2e163 (patch)
treef1620fa393a64381573c1ba8cf5411ed5e1fb76f /view.c
parent8b471b10d21d5f9fbaa5a26adc60952be4b777a2 (diff)
downloadvis-6414b92c21ed234caf14372461a0fa331df2e163.tar.gz
vis-6414b92c21ed234caf14372461a0fa331df2e163.tar.xz
Delete now obsolete syntax.h
Diffstat (limited to 'view.c')
-rw-r--r--view.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/view.c b/view.c
index 2335a2a..bf6fca6 100644
--- a/view.c
+++ b/view.c
@@ -21,12 +21,25 @@
#include <regex.h>
#include "vis.h"
#include "view.h"
-#include "syntax.h"
#include "text.h"
#include "text-motions.h"
#include "text-util.h"
#include "util.h"
+typedef struct {
+ char *symbol;
+ int style;
+} SyntaxSymbol;
+
+enum {
+ SYNTAX_SYMBOL_SPACE,
+ SYNTAX_SYMBOL_TAB,
+ SYNTAX_SYMBOL_TAB_FILL,
+ SYNTAX_SYMBOL_EOL,
+ SYNTAX_SYMBOL_EOF,
+ SYNTAX_SYMBOL_LAST,
+};
+
struct Selection {
Mark anchor; /* position where the selection was created */
Mark cursor; /* other selection endpoint where it changes */