GNOME::Editor
- From: Martijn van Beers <sauron charm il fontys nl>
- To: gnome-devel-list gnome org
- Subject: GNOME::Editor
- Date: Mon, 15 Mar 1999 17:56:56 +0100
Hi,
forgot to send my new try to the list:
module GNOME {
interface FileBufferFactory {
exception NotFound {};
Object open (in string path) raises (NotFound);
};
interface FileBuffer : GNOME::object {
exception SaveError {};
readonly attribute string path;
void save () raises (SaveError);
void save_as (in string path) raises (SaveError);
void close ();
};
interface EditorFactory : GNOME::FileBufferFactory {
Object new ();
};
interface Editor : GNOME::FileBuffer {
exception OutOfRange {};
exception NotFound {};
enum SEEKFROM {
SEEK_START,
SEEK_CURRENT,
SEEK_END
};
readonly attribute unsigned long currentline;
void scroll (in long offset, in SEEKFROM whence) raises (OutOfRange);
unsigned long search (in string regexp,
in unsigned long flags) raises (NotFound);
void replace (in string regexp,
in string newstring,
in unsigned long flags) raises (NotFound);
};
};
--
Martijn van Beers
martijn@earthling.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]