The R Project SVN R

Rev

Rev 28992 | Rev 43760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28992 Rev 29051
Line 1... Line 1...
1
 
1
 
2
void menueditornew(control m);
2
void menueditornew(control m);
3
void menueditoropen(control m);
3
void menueditoropen(control m);
4
int editorchecksave(editor c);
4
int editorchecksave(editor c);
5
void editorsetfont(font f);
5
void editorsetfont(font f);
6
int Rgui_Edit(char *filename, int modal);
6
int Rgui_Edit(char *filename, char *title, int modal);
7
 
7
 
8
#define EDITORMAXTITLE 128
8
#define EDITORMAXTITLE 128
9
#define MAXNEDITORS 50
9
#define MAXNEDITORS 50
10
 
10
 
11
struct structEditorData {
11
struct structEditorData {
12
    Rboolean file; /* is the editor associated with an existing file */
12
    Rboolean file; /* is the editor associated with an existing file */
13
    char *filename; /* corresponding file */
13
    char *filename; /* corresponding file */
-
 
14
    char *title;    /* window title */
14
    Rboolean stealconsole;  /* set when using fix() or edit(), so that no events are sent to console until this editor is closed */
15
    Rboolean stealconsole;  /* set when using fix() or edit(), so that no events are sent to console until this editor is closed */
15
    menuitem mcut, mcopy, mdelete, mfind, mreplace,
16
    menuitem mcut, mcopy, mdelete, mfind, mreplace,
16
	mpopcut, mpopcopy, mpopdelete;
17
	mpopcut, mpopcopy, mpopdelete;
17
};
18
};
18
typedef struct structEditorData *EditorData;
19
typedef struct structEditorData *EditorData;