aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor-emacs-like.h
blob: a2a7bc478ce194bf6875c3d0329afae9a703dbd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* e-text-event-processor-emacs-like.h
 * Copyright (C) 2000  Helix Code, Inc.
 * Author: Chris Lahey <clahey@helixcode.com>
 *
 * This library 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 library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */
#ifndef __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__
#define __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__

#include <gnome.h>
#include <gal/e-text/e-text-event-processor.h>

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

/* ETextEventProcessorEmacsLike - Turns events on a text widget into commands.  Uses an emacs-ish interface.
 *
 */

#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE          (e_text_event_processor_emacs_like_get_type ())
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj)          (GTK_CHECK_CAST ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLike))
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass)      (GTK_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE, ETextEventProcessorEmacsLikeClass))
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE(obj)               (GTK_CHECK_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))
#define E_IS_TEXT_EVENT_PROCESSOR_EMACS_LIKE_CLASS(klass)           (GTK_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE))


typedef struct _ETextEventProcessorEmacsLike       ETextEventProcessorEmacsLike;
typedef struct _ETextEventProcessorEmacsLikeClass  ETextEventProcessorEmacsLikeClass;

struct _ETextEventProcessorEmacsLike
{
    ETextEventProcessor parent;
    
    /* object specific fields */
    gboolean mouse_down;
};

struct _ETextEventProcessorEmacsLikeClass
{
    ETextEventProcessorClass parent_class;
};


GtkType    e_text_event_processor_emacs_like_get_type (void);
ETextEventProcessor *e_text_event_processor_emacs_like_new (void);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* __E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_H__ */
ss='deletions'>-0/+1 * Add missing entries for tr-ircdcrees2011-07-091-0/+1 * audio/ventrilo-server now uses USERS and GROUPScrees2011-07-081-0/+1 * ratbox-services now uses USERS and GROUPScrees2011-07-061-0/+1 * - Fix a crash when an invalid log file is specified.hrs2011-07-021-0/+1 * Remove duplicate dbxml line.crees2011-06-291-1/+0 * - Correct GROUP when postfix OPTION is selected [1]crees2011-06-141-0/+1 * Add GROUPS entry for games/conquestcrees2011-06-121-0/+1 * . Add entries for dbxml forgotten in databases/dbXML update.glewis2011-06-121-0/+1 * Add entries for ports which are converted to the new USERS paradigm.rene2011-06-071-0/+10 * - add a current version of yate (3.3.2p1). This is not a repocopy offlo2011-05-221-0/+1 * - Upgrade to 3.2.2.kuriyama2011-05-211-1/+1 * Fix format of _adsuck entry.gerald2011-05-081-1/+1 * adsuck is a DNS relay that returns NXdomain for hosts that match names in abapt2011-05-071-0/+1 * - Updated to 3.0.0.b30 [1]glarkin2011-05-041-0/+1 * - update to 2.8.3bapt2011-04-241-0/+1 * Update webcamd to 0.1.24.kwm2011-04-211-0/+1 * - Add _tcpproxy for new port net/tcpproxydhn2011-04-031-0/+1 * - rename hobbit to xymondinoex2011-04-021-1/+1 * - Pass -Dbsd_with_getifaddrs to CFLAGS in order to get a correct networkehaupt2011-03-291-0/+1 * Reserve IDs for multimedia/vdr and related ports.nox2011-03-271-0/+1 * Register uid and gid for net/get_iplayerbf2011-03-091-0/+1 * - Register UID and GID for devel/jenkinslwhsu2011-03-071-0/+1 * - Register uid and gid for net/crtmpserversylvio2011-02-281-0/+1 * - Register uid and gid for net-mgmt/icingachinsan2011-02-241-0/+1 * - Register uid and gid for net/erlyvideomiwi2011-02-021-0/+1 * - register UID/GID 587 for assp user (port mail/assp)ohauer2011-01-061-0/+1 * - Move torrus user to next unoccupied slotpav2010-12-241-1/+1 * - Upgrade to USERS/GROUPSpav2010-12-231-0/+1 * - register UID/GID 542 for _flowd user (port net-mgmt/flowd)ohauer2010-12-211-0/+1 * Add the port of minidlna -- the DLNA-speaking service.mi2010-12-141-0/+1 * Dont declare ${sancp_flags} in command_args.wxs2010-12-131-0/+1 * - add radmind with uid/gid 506 for port sysutils/radmindohauer2010-11-281-0/+1 * . Add a port of the 2.x series of Dovecot:glewis2010-11-271-0/+1 * * Sets up a uhub UID and GID for the daemon to run as.stefan2010-11-111-0/+1 * Remove "freeswitch" user from "dahdi" group for a while.fjoe2010-11-081-1/+1 * Fix "dahdi" group gid.fjoe2010-11-071-1/+1 * Add "asterisk" user/group and "dahdi" group.fjoe2010-11-071-0/+2 * Add _tss and _pkcs11 to reserve for security/trousers andnork2010-11-071-0/+2 * Finally upgrade amanda-{server,client} to 3.2.0. Old 2.6.x waskuriyama2010-11-011-0/+1 * - add RC scriptswills2010-10-111-0/+1 * Archiveopteryx is an Internet mail server, optimised to supportashish2010-10-031-0/+1 * Update to 2010-07-R1bf2010-10-031-0/+1 * BackupPC is a high-performance, enterprise-grade system for backing up Linux,pgollucci2010-09-231-0/+1 * - Convert to USERS/GROUPSpgollucci2010-09-221-0/+1 * tWMS is a tiny WMS server written in Python and using tiles as aamdmi32010-09-081-0/+1 * Use the USERS/GROUPS mechanismlth2010-08-121-0/+1 * - Add user/group shellinabox with uid/gid 139jadawin2010-07-051-0/+1 * Add 'saned' user/group the Right Way.stefan2010-06-281-0/+1 * - Add activemq for new port net/activemqwen2010-06-121-0/+1 * Add net/freeswitch-core, part of a revamp to the freeswitch portsjpaetzel2010-06-121-0/+1 * - add members for meta1c meta1mdinoex2010-06-051-2/+2 * - Update to 0.7.3pav2010-05-141-0/+1 * Remove trailing ':' from fossy.wxs2010-04-301-1/+1 * Add trailing ':' to drizzle and fossywxs2010-04-301-2/+2 * - Added user and group for Drizzle database serverglarkin2010-04-291-0/+1 * - Reserve kumofs uid/gid.kuriyama2010-04-261-0/+1 * Minbif aims to use the libpurple library from the Pidgin projectbeat2010-04-151-0/+1 * - Add user and group mfs for MooseFS portwen2010-04-071-0/+1 * - reserver GID/UID 924 for upcomming mail/postpalsitetcu2010-03-131-0/+1 * Massive cleanup of the Munin ports:des2010-02-251-0/+1 * - Add user and group for audio/liquidsoapwen2010-02-011-0/+1 * - Update Wolfpack Empire to 4.3.23johans2009-12-281-0/+1 * - Reserve UID/GID 137 for audio/musicpdpav2009-12-071-0/+1 * - Prepare for add new port databases/mongodbwen2009-11-191-0/+1 * - Add 444 for callweaverpav2009-09-181-0/+1 * - Update to 0.8.5beat2009-09-181-0/+1 * - Add UID/GID:211 for devel/py-gitosisnivit2009-09-161-0/+1 * Add haldaemon with UID/GID 560.flz2009-09-071-0/+1 * Add UID and GID forgotten while adding net-mgmt/noc.bsam2009-08-181-0/+1 * Remove entries for security/trans-proxy-tor and security/dns-proxy-torerwin2009-08-161-2/+0 * Add prosody entries to UIDs & GIDs.vanilla2009-08-051-0/+1 * Register user/group "redis" for the port "databases/redis".skv2009-07-281-0/+1 * - Add fossy user/group for devel/fossology.alepulver2009-07-241-0/+1 * -Add transmission.mezz2009-06-201-0/+1 * - Add GID and UID for emulators/virtualbox.beat2009-06-181-0/+1 * - Add couchdb user and group.wxs2009-06-171-0/+1 * - Register net-mgmt/nefurafan2009-04-071-0/+1 * - Register uid and gid for mail/prayerrafan2009-03-17