diff options
author | nobody <nobody@localhost> | 2001-08-05 03:29:35 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-08-05 03:29:35 +0800 |
commit | e1adf09c8f76d8b872422ddb5ef69befac52495b (patch) | |
tree | 0f0f7d161df8ec2e9a2e06dc0f87a8c17389d1e1 /widgets/text/e-text-model-repos.h | |
parent | 950e90cd92e950cb17645b5c3d6fc6eae2f07c5e (diff) | |
download | gsoc2013-evolution-pan-0-10-0.tar gsoc2013-evolution-pan-0-10-0.tar.gz gsoc2013-evolution-pan-0-10-0.tar.bz2 gsoc2013-evolution-pan-0-10-0.tar.lz gsoc2013-evolution-pan-0-10-0.tar.xz gsoc2013-evolution-pan-0-10-0.tar.zst gsoc2013-evolution-pan-0-10-0.zip |
This commit was manufactured by cvs2svn to create tag 'pan-0-10-0'.pan-0-10-0
svn path=/tags/pan-0-10-0/; revision=11682
Diffstat (limited to 'widgets/text/e-text-model-repos.h')
-rw-r--r-- | widgets/text/e-text-model-repos.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/widgets/text/e-text-model-repos.h b/widgets/text/e-text-model-repos.h deleted file mode 100644 index 620e41a415..0000000000 --- a/widgets/text/e-text-model-repos.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ - -/* Standard ETextModelReposFn definitions - * - * Copyright (C) 2001 Ximian Inc. - * - * Author: Jon Trowbridge <trow@ximian.com> - */ - -#ifndef E_TEXT_MODEL_REPOS_H -#define E_TEXT_MODEL_REPOS_H - -#include "e-text-model.h" - -typedef struct { - ETextModel *model; - gint change; /* Relative change to position. */ -} EReposShift; - -gint e_repos_shift (gint pos, gpointer data); - - -typedef struct { - ETextModel *model; - gint pos; /* Position to move to. Negative values count from the end buffer. - (i.e. -1 puts cursor at the end, -2 one character from end, etc.) */ -} EReposAbsolute; - -gint e_repos_absolute (gint pos, gpointer data); - - -typedef struct { - ETextModel *model; - gint pos; /* Location of first inserted character. */ - gint len; /* Number of characters inserted. */ -} EReposInsertShift; - -gint e_repos_insert_shift (gint pos, gpointer data); - - -typedef struct { - ETextModel *model; - gint pos; /* Location of first deleted character. */ - gint len; /* Number of characters deleted. */ -} EReposDeleteShift; - -gint e_repos_delete_shift (gint pos, gpointer data); - - -/* For e_repos_clamp, data is a pointer to an ETextModel. The only repositioning - that occurs is to avoid buffer overruns. */ - -gint e_repos_clamp (gint pos, gpointer data); - -#endif |