~ubuntu-branches/ubuntu/vivid/winefish/vivid

« back to all changes in this revision

Viewing changes to src/bookmark.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale)
  • Date: 2006-04-14 14:41:11 UTC
  • Revision ID: james.westby@ubuntu.com-20060414144111-wi90w6pr70ifwxtw
Tags: upstream-1.3.3
ImportĀ upstreamĀ versionĀ 1.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: bookmark.h 1830 2006-02-11 16:34:41Z kyanh $ */
 
2
/* Winefish LaTeX Editor (based on Bluefish HTML Editor) - bookmarks
 
3
 *
 
4
 * Copyright (C) 2003 Oskar Swida
 
5
 * modifications (C) 2004 Olivier Sessink
 
6
 * Modified for Winefish (C) 2005 Ky Anh <kyanh@o2.pl>
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published by
 
10
 * the Free Software Foundation; either version 2 of the License, or
 
11
 * (at your option) any later version.
 
12
 *
 
13
 * This program is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU General Public License
 
19
 * along with this program; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
21
 */
 
22
#ifndef __BOOKMARK_H__
 
23
#define __BOOKMARK_H__
 
24
 
 
25
void bmark_store_all(Tbfwin *bfwin);
 
26
GtkWidget *bmark_gui(Tbfwin *bfwin); /* used in gui.c to build the bookmark panel */
 
27
void bmark_init(void); /* only used once from bluefish.c */
 
28
void bmark_reload(Tbfwin *bfwin);
 
29
void bmark_set_store(Tbfwin *bfwin);
 
30
void bmark_clean_for_doc(Tdocument *doc); /* set bookmark's doc to NULL when closing file */ 
 
31
void bmark_set_for_doc(Tdocument *doc); /* set bookmark's doc to proper doc when opening file */ 
 
32
GHashTable *bmark_get_bookmarked_lines(Tdocument * doc, GtkTextIter *fromit, GtkTextIter *toit);
 
33
void bmark_add_extern(Tdocument *doc, gint offset, const gchar *name, const gchar *text, gboolean is_temp);
 
34
void bmark_add(Tbfwin *bfwin);
 
35
gboolean bmark_have_bookmark_at_stored_bevent(Tdocument * doc);
 
36
void bmark_store_bevent_location(Tdocument * doc, gint charoffset);
 
37
void bmark_del_at_bevent(Tdocument *doc);
 
38
void bmark_add_at_bevent(Tdocument *doc);
 
39
void bmark_del_all(Tbfwin *bfwin,gboolean ask);
 
40
void bmark_check_length(Tbfwin *bfwin,Tdocument *doc);
 
41
void bmark_cleanup(Tbfwin *bfwin);
 
42
 
 
43
#endif /* __BOOKMARK_H__ */