source: libi4uc/i4ucdocumentpageviewiface.vala @ eed29f7c57786f90dffeec18becc06c50a288ed6

Revision eed29f7c57786f90dffeec18becc06c50a288ed6, 2.2 KB checked in by Matias De la Puente <mfpuente.ar@…>, 3 years ago (diff)

Documents: Add syntax highlight menu

Recycle parts from old DocumentsUI and old DocumentPage?

  • Property mode set to 100644
Line 
1/* i4ucdocumentpageviewiface.vala
2 *
3 * Copyright (C) 2010  Matias De la Puente
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Author:
19 *      Matias De la Puente <mfpuente.ar@gmail.com>
20 */
21
22public interface I4uc.DocumentPageViewIface : GLib.Object, PageIface
23{
24        public abstract string font_name { set; get; }
25        public abstract int tab_width { set; get; }
26        public abstract bool auto_indent { set; get; }
27        public abstract bool highlight_current_line { set; get; }
28        public abstract bool insert_spaces_instead_of_tabs { set; get; }
29        public abstract bool show_line_numbers { set; get; }
30        public abstract bool highlight_matching_brackets { set; get; }
31        public abstract bool wrap_mode { set; get; }
32        public abstract bool can_undo { get; }
33        public abstract bool can_redo { get; }
34        public abstract bool has_selection { get; }
35        public abstract string content { set; get; }
36        public abstract string language_id { set; get; }
37       
38        public abstract SearchBarViewIface search_bar_view { get; }
39        public abstract bool search_bar_view_visible { set; get; }
40       
41        public signal void selected ();
42        public signal void content_changed ();
43        public signal void selection_changed ();
44       
45        public abstract void undo ();
46        public abstract void redo ();
47        public abstract void cut ();
48        public abstract void copy ();
49        public abstract void paste ();
50        public abstract void guess_language_id (string content_type);
51        public abstract int show_save_dialog (string name, ref string folder_uri, out string document_uri);
52        public abstract void show_print_dialog ();
53        public abstract void show_error_message (string error_message);
54        public abstract int show_close_message ();
55}
Note: See TracBrowser for help on using the repository browser.