diff -Nru gtksourceview3-3.12.1/aclocal.m4 gtksourceview3-3.14.4/aclocal.m4
--- gtksourceview3-3.12.1/aclocal.m4 2014-04-14 20:10:37.000000000 +0000
+++ gtksourceview3-3.14.4/aclocal.m4 2015-04-04 12:42:50.000000000 +0000
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.13.4 -*- Autoconf -*-
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
@@ -20,1968 +20,2142 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.13'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.13.4], [],
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too. Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
+# nls.m4 serial 5 (gettext-0.18)
+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
+dnl Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+dnl
+dnl This file can can be used in projects which are not available under
+dnl the GNU General Public License or the GNU Library General Public
+dnl License but which still want to provide support for the GNU gettext
+dnl functionality.
+dnl Please note that the actual code of the GNU gettext library is covered
+dnl by the GNU Library General Public License, and the rest of the GNU
+dnl gettext package package is covered by the GNU General Public License.
+dnl They are *not* in the public domain.
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.13.4])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+dnl Authors:
+dnl Ulrich Drepper NULL is ok, both for passing and for returning. NULL is OK, both for passing and for returning. Parameter points to an array of items. This parameter is a 'user_data', for callbacks; many bindings can pass NULL here. Generics and defining elements of containers and arrays. Parameter for input and for returning results. Default is transfer full. NULL may be passed as the value in, out, in-out; or as a return value. Parameter for returning results. Default is transfer full. Out parameter, where caller must allocate storage. The callback is valid until first called. The callback is valid until the GDestroyNotify argument is called. Free data container after the code is done. The GtkSourceBuffer object is the model for GtkSourceView widgets.
-It extends the GtkTextBuffer object by adding features useful to display
+It extends the GtkTextBuffer object by adding features useful to display
and edit source code such as syntax highlighting and bracket matching. It
also implements support for undo/redo operations, and for the search and
replace. The default undo manager remembers the "modified" state of the buffer, and
restore it when an action is undone or redone. It can be useful in a text
-editor to know whether the file is saved. See Creates a new source buffer. table a GtkTextTagTable, or a GtkTextTagTable, or Controls whether syntax is highlighted in the buffer. If highlight Determines whether syntax highlighting is activated in the source
@@ -663,7 +616,7 @@
Associate a GtkSourceLanguage with the buffer. If The buffer holds a reference to language a GtkSourceLanguage to set, or a GtkSourceLanguage to set, or the GtkSourceLanguage associated with the buffer, or the GtkSourceLanguage associated with the buffer, or [transfer none] Controls the bracket match highlighting function in the buffer. If
activated, when you position your cursor over a bracket character
(a parenthesis, a square bracket, etc.) the matching opening or
@@ -762,7 +715,7 @@
highlight Determines whether bracket match highlighting is activated for the
@@ -794,7 +747,7 @@
Sets style scheme used by the buffer. If scheme a GtkSourceStyleScheme or a GtkSourceStyleScheme or the GtkSourceStyleScheme associated
-with the buffer, or [transfer none] Forces buffer to analyze and highlight the given area synchronously.
This is a potentially slow operation and should be used only
@@ -904,128 +857,59 @@
Creates a source mark in the Like a GtkTextMark, a GtkSourceMark can be anonymous if the
-passed Marks always have left gravity and are moved to the beginning of
-the line when the user deletes the line they were in. Typical uses for a source mark are bookmarks, breakpoints, current
-executing instruction indication in a source file, etc.. Undoes the last user action which modified the buffer. Use
+ This function emits the “undo” signal. buffer name the name of the mark, or category a string defining the mark category. where location to place the mark. Since 2.2 Moves Redoes the last undo operation. Use This function emits the “redo” signal. buffer iter an iterator. category category to search for, or Since 2.2 Moves Determines whether a source buffer can undo the last action. buffer iter an iterator. category category to search for, or Since 2.2 Returns the list of marks of the given category at Determines whether a source buffer can redo the last action
+(i.e. if the last operation was an undo). buffer line a line number. category category to search for, or a newly allocated GSList. [element-type GtkSource.Mark][transfer container] Since 2.2 Returns the list of marks of the given category at Marks the beginning of a not undoable action on the buffer,
+disabling the undo manager. Typically you would call this function
+before initially setting the contents of the buffer (e.g. when
+loading a file in a text editor). You may nest Marks the end of a not undoable action on the buffer. When the
+last not undoable block is closed through the call to this
+function, the list of undo actions is cleared and the undo manager
+is re-enabled. buffer category category to search for, or Determines the number of undo levels the buffer will track for
+buffer edits. a newly allocated GSList. [element-type GtkSource.Mark][transfer container] buffer Since 2.2 Remove all marks of Sets the number of undo levels for user actions the buffer will
+track. If the number of user actions exceeds the limit set by this
+function, older actions will be discarded. If Returns the GtkSourceUndoManager associated with the buffer,
+see the GtkSourceUndoManager associated
+with the buffer, or [nullable][transfer none] Set the buffer undo manager. If end a GtkTextIter. buffer category category to search for, or manager A GtkSourceUndoManager or Since 2.2 Check if the class See the GtkSourceBuffer description for the list of default context classes. iter a GtkTextIter. a GtkTextIter. whether Get all defined context classes at See the GtkSourceBuffer description for the list of default context classes. a new a new [array zero-terminated=1][transfer full] Since 2.10 Moves forward to the next toggle (on or off) of the context class. If no
-matching context class toggles are found, returns See the GtkSourceBuffer description for the list of default context classes. iter a GtkTextIter. a GtkTextIter. whether we found a context class toggle after Moves backward to the next toggle (on or off) of the context class. If no
-matching context class toggles are found, returns See the GtkSourceBuffer description for the list of default context classes. iter a GtkTextIter. a GtkTextIter. Changes the case of the text between the specified iterators. Creates a source mark in the Like a GtkTextMark, a GtkSourceMark can be anonymous if the
+passed Marks always have left gravity and are moved to the beginning of
+the line when the user deletes the line they were in. Typical uses for a source mark are bookmarks, breakpoints, current
+executing instruction indication in a source file, etc.. case_type how to change the case. name the name of the mark, or start a GtkTextIter. category a string defining the mark category. end a GtkTextIter. where location to place the mark. Since 3.12 Since 2.2 Determines the number of undo levels the buffer will track for
-buffer edits. Moves buffer iter an iterator. category category to search for, or the maximum number of possible undo levels or
--1 if no limit is set. whether Since 2.2 Sets the number of undo levels for user actions the buffer will
-track. If the number of user actions exceeds the limit set by this
-function, older actions will be discarded. If Moves max_undo_levels the desired maximum number of undo levels. iter an iterator. category category to search for, or Redoes the last undo operation. Use This function emits the “redo” signal. Since 2.2 Undoes the last user action which modified the buffer. Use
- This function emits the “undo” signal. Returns the list of marks of the given category at Determines whether a source buffer can redo the last action
-(i.e. if the last operation was an undo). buffer line a line number. category category to search for, or a newly allocated GSList. [element-type GtkSource.Mark][transfer container] Since 2.2 Determines whether a source buffer can undo the last action. Returns the list of marks of the given category at buffer iter an iterator. category category to search for, or a newly allocated GSList. [element-type GtkSource.Mark][transfer container] Since 2.2 Marks the beginning of a not undoable action on the buffer,
-disabling the undo manager. Typically you would call this function
-before initially setting the contents of the buffer (e.g. when
-loading a file in a text editor). You may nest Remove all marks of buffer start a GtkTextIter. end a GtkTextIter. category category to search for, or Since 2.2 Marks the end of a not undoable action on the buffer. When the
-last not undoable block is closed through the call to this
-function, the list of undo actions is cleared and the undo manager
-is re-enabled. Changes the case of the text between the specified iterators. Returns the GtkSourceUndoManager associated with the buffer,
-see buffer case_type how to change the case. start a GtkTextIter. end a GtkTextIter. Since 3.12 Set the buffer undo manager. If Sets whether the If an explicit trailing newline is present in a GtkTextBuffer, GtkTextView
+shows it as an empty line. This is generally not what the user expects. If when a GtkSourceFileLoader loads the content of a file into the when a GtkSourceFileSaver saves the content of the On the other hand, if manager A GtkSourceUndoManager or implicit_trailing_newline the new value. Since 3.14 Since 3.14 Whether Redo operation is possible. Flags: Read Default value: FALSE Whether Undo operation is possible. Flags: Read Default value: FALSE Whether to highlight matching brackets in the buffer. Flags: Read / Write Default value: TRUE Whether to highlight syntax in the buffer. Flags: Read / Write Default value: TRUE Language object to get highlighting patterns from. Flags: Read / Write Number of undo levels for the buffer. -1 means no limit. This property
-will only affect the default undo manager. Flags: Read / Write Allowed values: >= -1 Default value: 1000 Style scheme. It contains styles for syntax highlighting, optionally
-foreground, background, cursor color, current line color, and matching
-brackets style. Flags: Read / Write The buffer undo manager. Whether the buffer has an implicit trailing newline. See
+ Flags: Read / Write / Construct Whether Redo operation is possible. Flags: Read Default value: FALSE Whether Undo operation is possible. Flags: Read Default value: FALSE Whether to highlight matching brackets in the buffer. Flags: Read / Write Default value: TRUE Whether to highlight syntax in the buffer. Flags: Read / Write Default value: TRUE Since 3.14 Number of undo levels for the buffer. -1 means no limit. This property
will only affect the default undo manager. Flags: Read / Write Allowed values: >= -1 Default value: 1000 Default value: -1 Sets Flags: Run Last Flags: Run Last Since 2.12 The ::highlight-updated signal is emitted when the syntax
highlighting is updated in a certain region of the Flags: Run Last Flags: Run Last The ::redo signal is emitted to redo the last undo operation. Flags: Run Last Flags: Run Last The ::source_mark_updated signal is emitted each time
a mark is added to, moved or removed from the Flags: Run Last Flags: Run Last The ::undo signal is emitted to undo the last user action which
modified the buffer. Flags: Run Last Sets buffer iter iterator to initialize. state state of bracket matching user_data user data set when the signal handler was connected. Flags: Run Last Since 2.12 The ::highlight-updated signal is emitted when the syntax
-highlighting is updated in a certain region of the buffer the buffer that received the signal start the start of the updated region end the end of the updated region user_data user data set when the signal handler was connected. Flags: Run Last The ::redo signal is emitted to redo the last undo operation. buffer the buffer that received the signal user_data user data set when the signal handler was connected. Flags: Run Last The ::source_mark_updated signal is emitted each time
-a mark is added to, moved or removed from the buffer the buffer that received the signal mark the GtkSourceMark user_data user data set when the signal handler was connected. Flags: Run Last The ::undo signal is emitted to undo the last user action which
-modified the buffer. buffer the buffer that received the signal user_data user data set when the signal handler was connected. Flags: Run Last Flags: Run Last
-
+
A
C
+E
I
N
+O
S
+T
-
+
@@ -34,6 +34,6 @@
+
+
+
+
+
+
+ S
+
-gboolean
+gboolean
gtk_source_buffer_get_highlight_syntax ()
@@ -100,7 +100,7 @@
-gboolean
+gboolean
gtk_source_buffer_get_highlight_matching_brackets ()
@@ -132,42 +132,42 @@
-GtkSourceMark *
+void
-gtk_source_buffer_create_source_mark ()
+gtk_source_buffer_undo ()
-gboolean
+void
-gtk_source_buffer_forward_iter_to_source_mark ()
+gtk_source_buffer_redo ()
-gboolean
+gboolean
-gtk_source_buffer_backward_iter_to_source_mark ()
+gtk_source_buffer_can_undo ()
-GSList *
+gboolean
-gtk_source_buffer_get_source_marks_at_line ()
+gtk_source_buffer_can_redo ()
-GSList *
+void
-gtk_source_buffer_get_source_marks_at_iter ()
+gtk_source_buffer_begin_not_undoable_action ()
@@ -175,103 +175,111 @@
void
-gtk_source_buffer_remove_source_marks ()
+gtk_source_buffer_end_not_undoable_action ()
-gboolean
+gint
-gtk_source_buffer_iter_has_context_class ()
+gtk_source_buffer_get_max_undo_levels ()
-gchar **
+void
-gtk_source_buffer_get_context_classes_at_iter ()
+gtk_source_buffer_set_max_undo_levels ()
-gboolean
+GtkSourceUndoManager *
-gtk_source_buffer_iter_forward_to_context_class_toggle ()
+gtk_source_buffer_get_undo_manager ()
-gboolean
+void
-gtk_source_buffer_iter_backward_to_context_class_toggle ()
+gtk_source_buffer_set_undo_manager ()
-void
+gboolean
-gtk_source_buffer_change_case ()
+gtk_source_buffer_iter_has_context_class ()
-gint
+gchar **
-gtk_source_buffer_get_max_undo_levels ()
+gtk_source_buffer_get_context_classes_at_iter ()
-void
+gboolean
-gtk_source_buffer_set_max_undo_levels ()
+gtk_source_buffer_iter_forward_to_context_class_toggle ()
-void
+gboolean
-gtk_source_buffer_redo ()
+gtk_source_buffer_iter_backward_to_context_class_toggle ()
-void
+GtkSourceMark *
-gtk_source_buffer_undo ()
+gtk_source_buffer_create_source_mark ()
-gboolean
+gboolean
-gtk_source_buffer_can_redo ()
+gtk_source_buffer_forward_iter_to_source_mark ()
-gboolean
+gboolean
-gtk_source_buffer_can_undo ()
+gtk_source_buffer_backward_iter_to_source_mark ()
+
-void
+GSList *
-gtk_source_buffer_begin_not_undoable_action ()
+gtk_source_buffer_get_source_marks_at_line ()
+
+
+
+GSList *
+
+
+gtk_source_buffer_get_source_marks_at_iter ()
@@ -279,15 +287,15 @@
void
-gtk_source_buffer_end_not_undoable_action ()
+gtk_source_buffer_remove_source_marks ()
-GtkSourceUndoManager *
+void
-gtk_source_buffer_get_undo_manager ()
+gtk_source_buffer_change_case ()
@@ -295,7 +303,15 @@
void
+
-gtk_source_buffer_set_undo_manager ()
+gtk_source_buffer_set_implicit_trailing_newline ()
+
+
+
@@ -311,76 +327,38 @@
+gboolean
+
+
+gtk_source_buffer_get_implicit_trailing_newline ()
-
gboolean
+gboolean
can-redo
Read
-
gboolean
+gboolean
can-undo
Read
-
gboolean
+gboolean
highlight-matching-brackets
Read / Write
-
gboolean
+gboolean
highlight-syntax
Read / Write
-
-
-GtkSourceLanguage *
-language
-Read / Write
-
-
-gint
-max-undo-levels
-Read / Write
-
-
-
-GtkSourceStyleScheme *
-style-scheme
-Read / Write
-
-
-GtkSourceUndoManager *
-undo-manager
+gboolean
+implicit-trailing-newline
Read / Write / Construct
-
-gboolean
-can-redo
-Read
-
-
-gboolean
-can-undo
-Read
-
-
-gboolean
-highlight-matching-brackets
-Read / Write
-
-
-gboolean
-highlight-syntax
-Read / Write
-
GtkSourceLanguage *
language
Read / Write
-
@@ -411,52 +389,27 @@
gint
+gint
max-undo-levels
Read / Write
-void
bracket-matched
-Run Last
-
-
-void
-highlight-updated
-Run Last
-
-
-void
-redo
-Run Last
-
-
-void
-source-mark-updated
-Run Last
-
-
-void
-undo
-Run Last
-
-
void
-bracket-matched
-Run Last
+Run Last
void
highlight-updated
-Run Last
+Run Last
void
redo
-Run Last
+Run Last
void
source-mark-updated
-Run Last
+Run Last
@@ -486,8 +439,8 @@
@@ -499,7 +452,7 @@
void
undo
-Run Last
+Run Last
Description
gtk_source_buffer_set_undo_manager()
. However the default implementation
should be suitable for most uses. By default, actions that can be undone or
redone are defined as groups of operations between a call to
-gtk_text_buffer_begin_user_action()
and gtk_text_buffer_end_user_action()
. In
+gtk_text_buffer_begin_user_action()
and gtk_text_buffer_end_user_action()
. In
general, this happens whenever the user presses any key which modifies the
buffer. But the default undo manager will try to merge similar consecutive
actions, such as multiple character insertions on the same line, into one
action. But, inserting a newline starts a new action.
gtk_text_buffer_get_modified()
-and gtk_text_buffer_set_modified()
.gtk_text_buffer_get_modified()
+and gtk_text_buffer_set_modified()
.
gtk_source_buffer_new ()
GtkSourceBuffer *
-gtk_source_buffer_new (
+gtk_source_buffer_new (GtkTextTagTable *table
);GtkTextTagTable *table
);
Parameters
@@ -557,8 +510,8 @@
-
-NULL
to create a new one. [allow-none]
+
+NULL
to create a new one. [allow-none]
void
gtk_source_buffer_set_highlight_syntax
(
+ GtkSourceBuffer *buffer
,
- gboolean highlight
);gboolean highlight
);
highlight
-is TRUE
, the text will be highlighted according to the syntax
+is TRUE
, the text will be highlighted according to the syntax
patterns specified in the language set with
gtk_source_buffer_set_language()
. If highlight
- is FALSE
, syntax highlighting
+ is FALSE
, syntax highlighting
is disabled and all the GtkTextTag objects that have been added by the
syntax highlighting engine are removed from the buffer.
@@ -641,7 +594,7 @@
-
+
gtk_source_buffer_get_highlight_syntax ()
-gboolean
+
gboolean
gtk_source_buffer_get_highlight_syntax
(
GtkSourceBuffer *buffer
);GtkSourceLanguage *language
);
language
is
-not-NULL
and syntax highlighting is enabled (see gtk_source_buffer_set_highlight_syntax()
),
+not-NULL
and syntax highlighting is enabled (see gtk_source_buffer_set_highlight_syntax()
),
the syntax patterns defined in language
will be used to highlight the text
contained in the buffer. If language
- is NULL
, the text contained in the
+ is NULL
, the text contained in the
buffer is not highlighted.language
.
-
-NULL
. [allow-none]
+
+NULL
. [allow-none]
Returns
-NULL
. NULL
. void
gtk_source_buffer_set_highlight_matching_brackets
(
+ GtkSourceBuffer *buffer
,
- gboolean highlight
);gboolean highlight
);
@@ -772,7 +725,7 @@
-
+TRUE
if you want matching brackets highlighted.TRUE
if you want matching brackets highlighted.
gtk_source_buffer_get_highlight_matching_brackets ()
-gboolean
+
gboolean
gtk_source_buffer_get_highlight_matching_brackets
(
GtkSourceBuffer *buffer
);Returns
-TRUE
if the source buffer will highlight matching
+TRUE
if the source buffer will highlight matching
brackets.GtkSourceBuffer *buffer
,
GtkSourceStyleScheme *scheme
);
scheme
- is NULL
no
+ is NULL
no
style scheme is used.Parameters
@@ -824,8 +777,8 @@
-
-NULL
. [allow-none]
+
+NULL
. [allow-none]
Returns
NULL
. NULL
.
gtk_source_buffer_ensure_highlight ()
void
gtk_source_buffer_ensure_highlight (
+ GtkSourceBuffer *buffer
,
- const GtkTextIter *start
,
- const GtkTextIter *end
);const GtkTextIter *start
,
+ const GtkTextIter *end
);
gtk_source_buffer_create_source_mark ()
-GtkSourceMark *
-gtk_source_buffer_create_source_mark (
-GtkSourceBuffer *buffer
,
- const gchar *name
,
- const gchar *category
,
- const GtkTextIter *where
);buffer
- of category category
-. A source mark is
-a GtkTextMark but organised into categories. Depending on the category
-a pixbuf can be specified that will be displayed along the line of the mark.name
- is NULL
. Also, the buffer owns the marks so you
-shouldn't unreference it.gtk_source_buffer_undo ()
+void
+gtk_source_buffer_undo (
+GtkSourceBuffer *buffer
);gtk_source_buffer_can_undo()
to check whether a call to this
+function will have any effect.Parameters
+Parameters
+
-
-
-
-
-
-NULL
. [allow-none]
-
-
-
-
-
-
-
-
+
-
-
-
gtk_source_buffer_forward_iter_to_source_mark ()
-gboolean
-gtk_source_buffer_forward_iter_to_source_mark
- (
-GtkSourceBuffer *buffer
,
- GtkTextIter *iter
,
- const gchar *category
);iter
- to the position of the next GtkSourceMark of the given
-category
-. Returns TRUE
if iter
- was moved. If category
- is NULL, the
-next source mark can be of any category.gtk_source_buffer_redo ()
+void
+gtk_source_buffer_redo (
+GtkSourceBuffer *buffer
);gtk_source_buffer_can_redo()
+to check whether a call to this function will have any effect.Parameters
+Parameters
+
-
-
-
-
-
-
-
-
-
+
-
-NULL
. [allow-none]
-
gtk_source_buffer_backward_iter_to_source_mark ()
-gboolean
-gtk_source_buffer_backward_iter_to_source_mark
- (
-GtkSourceBuffer *buffer
,
- GtkTextIter *iter
,
- const gchar *category
);iter
- to the position of the previous GtkSourceMark of the given
-category. Returns TRUE
if iter
- was moved. If category
- is NULL, the
-previous source mark can be of any category.gtk_source_buffer_can_undo ()
+gboolean
+gtk_source_buffer_can_undo (
+GtkSourceBuffer *buffer
);Parameters
@@ -1034,46 +918,26 @@
+
-
-
-
-
-
-
-
-
-
+
-
-NULL
. [allow-none]
-
gtk_source_buffer_get_source_marks_at_line ()
-GSList *
-gtk_source_buffer_get_source_marks_at_line
- (
-GtkSourceBuffer *buffer
,
- gint line
,
- const gchar *category
);line
-.
-If category
- is NULL
, all marks at line
- are returned.gtk_source_buffer_can_redo ()
+gboolean
+gtk_source_buffer_can_redo (
+GtkSourceBuffer *buffer
);Parameters
@@ -1082,95 +946,115 @@
+
-
-
-
-
-
-
-
-
-
+
-
-NULL
. [allow-none]
-Returns
-TRUE
if a redo is possible.
gtk_source_buffer_get_source_marks_at_iter ()
-GSList *
-gtk_source_buffer_get_source_marks_at_iter
- (
-GtkSourceBuffer *buffer
,
- GtkTextIter *iter
,
- const gchar *category
);iter
-. If category
-
-is NULL
it returns all marks at iter
-.gtk_source_buffer_begin_not_undoable_action ()
+void
+gtk_source_buffer_begin_not_undoable_action
+ (
+GtkSourceBuffer *buffer
);gtk_source_buffer_begin_not_undoable_action()
/
+gtk_source_buffer_end_not_undoable_action()
blocks.
+gtk_source_buffer_end_not_undoable_action ()
+void
+gtk_source_buffer_end_not_undoable_action
+ (
+GtkSourceBuffer *buffer
);Parameters
+
+
+
-
+
-
-
-
+
-
-NULL
. [allow-none]
-
+gtk_source_buffer_get_max_undo_levels ()
+gint
+gtk_source_buffer_get_max_undo_levels (
+GtkSourceBuffer *buffer
);Returns
-Parameters
+
+
+
+
+
+
+
gtk_source_buffer_remove_source_marks ()
+gtk_source_buffer_set_max_undo_levels ()
void
-gtk_source_buffer_remove_source_marks (
-GtkSourceBuffer *buffer
,
- const GtkTextIter *start
,
- const GtkTextIter *end
,
- const gchar *category
);category
- between start
- and end
- from the buffer.
-If category
- is NULL, all marks in the range will be removed.GtkSourceBuffer *buffer
,
+ gint max_undo_levels
);
+max_undo_levels
+ is -1, no limit is set.
+gtk_source_buffer_get_undo_manager ()
+GtkSourceUndoManager *
+gtk_source_buffer_get_undo_manager (
+GtkSourceBuffer *buffer
);gtk_source_buffer_set_undo_manager()
. The returned object should not be
+unreferenced by the user.Returns
+NULL
.
+gtk_source_buffer_set_undo_manager ()
+void
+gtk_source_buffer_set_undo_manager (
+GtkSourceBuffer *buffer
,
+ GtkSourceUndoManager *manager
);manager
+ is NULL
the default undo manager
+will be set.Parameters
+
+
-
-
+
+
-
-
-NULL
. [allow-none]
+
+
+NULL
. [allow-none]
gtk_source_buffer_iter_has_context_class ()
-gboolean
+
gboolean
gtk_source_buffer_iter_has_context_class
(
+ GtkSourceBuffer *buffer
,
- const GtkTextIter *iter
,
- const gchar *context_class
);const GtkTextIter *iter
,
+ const gchar *context_class
);context_class
is set on iter
.Parameters
+Parameters
-
+
@@ -1243,7 +1178,7 @@
Returns
+Returns
iter
has the context class.
gtk_source_buffer_get_context_classes_at_iter ()
-gchar **
+
gchar **
gtk_source_buffer_get_context_classes_at_iter
(
+ GtkSourceBuffer *buffer
,
- const GtkTextIter *iter
);const GtkTextIter *iter
);iter
.Returns
-NULL
+Returns
+NULL
terminated array of context class names.
-Use g_strfreev()
to free the array if it is no longer needed. g_strfreev()
to free the array if it is no longer needed.
gtk_source_buffer_iter_forward_to_context_class_toggle ()
-gboolean
+
gboolean
gtk_source_buffer_iter_forward_to_context_class_toggle
(
+ GtkSourceBuffer *buffer
,
- GtkTextIter *iter
,
- const gchar *context_class
);GtkTextIter *iter
,
+ const gchar *context_class
);FALSE
, otherwise TRUE
.
+matching context class toggles are found, returns FALSE
, otherwise TRUE
.
Does not return toggles located at iter
, only toggles after iter
. Sets
@@ -1309,7 +1244,7 @@
toggle is found.Parameters
+Parameters
-
+[inout]
@@ -1336,7 +1271,7 @@
Returns
+Returns
iter
gtk_source_buffer_iter_backward_to_context_class_toggle ()
-gboolean
+
gboolean
gtk_source_buffer_iter_backward_to_context_class_toggle
(
+ GtkSourceBuffer *buffer
,
- GtkTextIter *iter
,
- const gchar *context_class
);GtkTextIter *iter
,
+ const gchar *context_class
);FALSE
, otherwise TRUE
.
+matching context class toggles are found, returns FALSE
, otherwise TRUE
.
Does not return toggles located at iter
, only toggles after iter
. Sets
@@ -1361,7 +1296,7 @@
toggle is found.Parameters
+Parameters
-
+[inout]
@@ -1388,7 +1323,7 @@
gtk_source_buffer_change_case ()
-void
-gtk_source_buffer_change_case (
-GtkSourceBuffer *buffer
,
- GtkSourceChangeCaseType case_type
,
- GtkTextIter *start
,
- GtkTextIter *end
);gtk_source_buffer_create_source_mark ()
+GtkSourceMark *
+gtk_source_buffer_create_source_mark (
+GtkSourceBuffer *buffer
,
+ const gchar *name
,
+ const gchar *category
,
+ const GtkTextIter *where
);buffer
+ of category category
+. A source mark is
+a GtkTextMark but organised into categories. Depending on the category
+a pixbuf can be specified that will be displayed along the line of the mark.name
+ is NULL
. Also, the buffer owns the marks so you
+shouldn't unreference it.Parameters
+Parameters
-
-
-
+
+
+NULL
. [allow-none]
-
-
+
+
-
-
+
+
gtk_source_buffer_get_max_undo_levels ()
-gint
-gtk_source_buffer_get_max_undo_levels (
-GtkSourceBuffer *buffer
);gtk_source_buffer_forward_iter_to_source_mark ()
+gboolean
+gtk_source_buffer_forward_iter_to_source_mark
+ (
+GtkSourceBuffer *buffer
,
+ GtkTextIter *iter
,
+ const gchar *category
);iter
+ to the position of the next GtkSourceMark of the given
+category
+. Returns TRUE
if iter
+ was moved. If category
+ is NULL, the
+next source mark can be of any category.Parameters
+Parameters
+
+
+
+
-
+
+
+
+
+
+
+
+
+NULL
. [allow-none]
+Returns
-Returns
+iter
+was moved.
gtk_source_buffer_set_max_undo_levels ()
-void
-gtk_source_buffer_set_max_undo_levels (
-GtkSourceBuffer *buffer
,
- gint max_undo_levels
);max_undo_levels
- is -1, no limit is set.gtk_source_buffer_backward_iter_to_source_mark ()
+gboolean
+gtk_source_buffer_backward_iter_to_source_mark
+ (
+GtkSourceBuffer *buffer
,
+ GtkTextIter *iter
,
+ const gchar *category
);iter
+ to the position of the previous GtkSourceMark of the given
+category. Returns TRUE
if iter
+ was moved. If category
+ is NULL, the
+previous source mark can be of any category.Parameters
+Parameters
-
+
-
+
+
+
+
+NULL
. [allow-none]
+
-gtk_source_buffer_redo ()
-void
-gtk_source_buffer_redo (
-GtkSourceBuffer *buffer
);gtk_source_buffer_can_redo()
-to check whether a call to this function will have any effect.
gtk_source_buffer_undo ()
-void
-gtk_source_buffer_undo (
-GtkSourceBuffer *buffer
);gtk_source_buffer_can_undo()
to check whether a call to this
-function will have any effect.gtk_source_buffer_get_source_marks_at_line ()
+GSList *
+gtk_source_buffer_get_source_marks_at_line
+ (
+GtkSourceBuffer *buffer
,
+ gint line
,
+ const gchar *category
);line
+.
+If category
+ is NULL
, all marks at line
+ are returned.
-gtk_source_buffer_can_redo ()
-gboolean
-gtk_source_buffer_can_redo (
-GtkSourceBuffer *buffer
);Parameters
-
-
-
+
-
+
+
+
+
+
-
+
+
+
+NULL
. [allow-none]
+Returns
-TRUE
if a redo is possible.Returns
+
gtk_source_buffer_can_undo ()
-gboolean
-gtk_source_buffer_can_undo (
-GtkSourceBuffer *buffer
);gtk_source_buffer_get_source_marks_at_iter ()
+GSList *
+gtk_source_buffer_get_source_marks_at_iter
+ (
+GtkSourceBuffer *buffer
,
+ GtkTextIter *iter
,
+ const gchar *category
);iter
+. If category
+
+is NULL
it returns all marks at iter
+.Parameters
+Parameters
+
+
+
+
-
+
+
+
+
+
+
+
+
+NULL
. [allow-none]
+Returns
-TRUE
if it's possible to undo the last action.Returns
+
gtk_source_buffer_begin_not_undoable_action ()
+gtk_source_buffer_remove_source_marks ()
void
-gtk_source_buffer_begin_not_undoable_action
- (
-GtkSourceBuffer *buffer
);gtk_source_buffer_begin_not_undoable_action()
/
-gtk_source_buffer_end_not_undoable_action()
blocks.GtkSourceBuffer *buffer
,
+ const GtkTextIter *start
,
+ const GtkTextIter *end
,
+ const gchar *category
);
+category
+ between start
+ and end
+ from the buffer.
+If category
+ is NULL, all marks in the range will be removed.Parameters
+Parameters
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+NULL
. [allow-none]
+
gtk_source_buffer_end_not_undoable_action ()
+gtk_source_buffer_change_case ()
void
-gtk_source_buffer_end_not_undoable_action
- (
-GtkSourceBuffer *buffer
);GtkSourceBuffer *buffer
,
+ GtkSourceChangeCaseType case_type
,
+ GtkTextIter *start
,
+ GtkTextIter *end
);
+
-gtk_source_buffer_get_undo_manager ()
-GtkSourceUndoManager *
-gtk_source_buffer_get_undo_manager (
-GtkSourceBuffer *buffer
);gtk_source_buffer_set_undo_manager()
. The returned object should not be
-unreferenced by the user.Parameters
-
-
-
+
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
gtk_source_buffer_set_undo_manager ()
+gtk_source_buffer_set_implicit_trailing_newline ()
void
-gtk_source_buffer_set_undo_manager (
-GtkSourceBuffer *buffer
,
- GtkSourceUndoManager *manager
);manager
- is NULL
the default undo manager
-will be set.GtkSourceBuffer *buffer
,
+ gboolean implicit_trailing_newline
);
+buffer
+ has an implicit trailing newline.implicit_trailing_newline
+ is TRUE
(the default value):
+
buffer
+,
+the trailing newline (if present in the file) is not inserted into the
+buffer
+.buffer
+ into a file, a
+trailing newline is added to the file.implicit_trailing_newline
+ is FALSE
, the file's
+content is not modified when loaded into the buffer
+, and the buffer
+'s
+content is not modified when saved into a file.Parameters
+Parameters
-
-
-NULL
. [allow-none]
+
+
+
+gtk_source_buffer_get_implicit_trailing_newline ()
+gboolean
+gtk_source_buffer_get_implicit_trailing_newline
+ (
+
+
+GtkSourceBuffer *buffer
);Property Details
The
-“can-redo”
property “can-redo” gboolean
+ “can-redo” gboolean
The
-“can-undo”
property “can-undo” gboolean
+ “can-undo” gboolean
The
-“highlight-matching-brackets”
property “highlight-matching-brackets” gboolean
+ “highlight-matching-brackets” gboolean
The
-“highlight-syntax”
property “highlight-syntax” gboolean
+ “highlight-syntax” gboolean
The
-“language”
property “language” GtkSourceLanguage *
-
-The
-“max-undo-levels”
property “max-undo-levels” gint
-
-The
-“style-scheme”
property “style-scheme” GtkSourceStyleScheme *
-
-The
-“undo-manager”
property “undo-manager” GtkSourceUndoManager *
-The
+“implicit-trailing-newline”
property “implicit-trailing-newline” gboolean
+gtk_source_buffer_set_implicit_trailing_newline()
.
-The
-“can-redo”
property “can-redo” gboolean
-
-The
-“can-undo”
property “can-undo” gboolean
-
-The
-“highlight-matching-brackets”
property “highlight-matching-brackets” gboolean
-
-The
-“highlight-syntax”
property “highlight-syntax” gboolean
-
The
-“max-undo-levels”
property “max-undo-levels” gint
+ “max-undo-levels” gint
The
“bracket-matched”
signalvoid
user_function (GtkSourceBuffer *buffer,
- GtkTextIter *iter,
+ GtkTextIter *iter,
GtkSourceBracketMatchType state,
- gpointer user_data)
+ gpointer user_data)
iter
to a valid iterator pointing to the matching bracket
if state
@@ -1997,7 +1978,7 @@
@@ -2005,9 +1986,9 @@
The
“highlight-updated”
signalvoid
user_function (GtkSourceBuffer *buffer,
- GtkTextIter *start,
- GtkTextIter *end,
- gpointer user_data)
+ GtkTextIter *start,
+ GtkTextIter *end,
+ gpointer user_data)
buffer
. This
@@ -2045,14 +2026,14 @@
The
“redo”
signalvoid
user_function (GtkSourceBuffer *buffer,
- gpointer user_data)
+ gpointer user_data)
The
“source-mark-updated”
signalvoid
user_function (GtkSourceBuffer *buffer,
- GtkTextMark *mark,
- gpointer user_data)
+ GtkTextMark *mark,
+ gpointer user_data)
buffer
.
The
“undo”
signalvoid
user_function (GtkSourceBuffer *buffer,
- gpointer user_data)
+ gpointer user_data)
-The
-“bracket-matched”
signalvoid
-user_function (GtkSourceBuffer *buffer,
- GtkTextIter *iter,
- GtkSourceBracketMatchType state,
- gpointer user_data)
-iter
- to a valid iterator pointing to the matching bracket
-if state
- is GTK_SOURCE_BRACKET_MATCH_FOUND. Otherwise iter
- is
-meaningless.Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-The
-“highlight-updated”
signalvoid
-user_function (GtkSourceBuffer *buffer,
- GtkTextIter *start,
- GtkTextIter *end,
- gpointer user_data)
-buffer
-. This
-signal is useful to be notified when a context class region is
-updated (e.g. the no-spell-check context class).Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-The
-“redo”
signalvoid
-user_function (GtkSourceBuffer *buffer,
- gpointer user_data)
-Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-The
-“source-mark-updated”
signalvoid
-user_function (GtkSourceBuffer *buffer,
- GtkTextMark *mark,
- gpointer user_data)
-buffer
-.Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-The
-“undo”
signalvoid
-user_function (GtkSourceBuffer *buffer,
- gpointer user_data)
-Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-GtkTextIter *
-iter
-Read / Write
-
-
-GtkSourceCompletionActivation
-activation
-Read / Write / Construct
-
-
-
-GtkSourceCompletion *
-completion
-Read / Write / Construct Only
-
-
@@ -123,18 +106,11 @@
-GtkTextIter *
+GtkTextIter *
iter
Read / Write
-
-void
-cancelled
-Action
-
+
-
+void
cancelled
-Action
-Action
+
Object Hierarchy
- GObject
- ╰── GInitiallyUnowned
+
GObject
+ ╰── GInitiallyUnowned
╰── GtkSourceCompletionContext
A GtkTextIter is associated with the context, this is where the completion
-takes place. With this GtkTextIter, you can get the associated
-GtkTextBuffer with gtk_text_iter_get_buffer()
.
A GtkTextIter is associated with the context, this is where the completion
+takes place. With this GtkTextIter, you can get the associated
+GtkTextBuffer with gtk_text_iter_get_buffer()
.
GtkSourceCompletionContext *context
,
GtkSourceCompletionProvider *provider
,
- GList *proposals
,
- gboolean finished
);
+ GList *proposals
,
+ gboolean finished
);
Providers can use this function to add proposals to the completion. They
can do so asynchronously by means of the finished
argument. Providers must
ensure that they always call this function with finished
- set to TRUE
+ set to TRUE
once each population (even if no proposals need to be added).
Population occurs when the gtk_source_completion_provider_populate()
function is called.
proposals
The list of proposals to add.
finished
void gtk_source_completion_context_get_iter (+GtkSourceCompletionContext *context
, -GtkTextIter *iter
);
GtkTextIter *iter
);
Get the iter at which the completion was invoked. Providers can use this to determine how and if to match proposals.
iter
a GtkTextIter.
a GtkTextIter.
Interactive activation. By
-default, it occurs on each insertion in the GtkTextBuffer. This can be
+default, it occurs on each insertion in the GtkTextBuffer. This can be
blocked temporarily with gtk_source_completion_block_interactive()
.
“iter”
property “iter” GtkTextIter *
-The GtkTextIter at which the completion is invoked.
-Flags: Read / Write
-“activation”
property“activation” GtkSourceCompletionActivation-
The completion activation
-Flags: Read / Write / Construct
-Default value: GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED
-“completion”
property“completion” GtkSourceCompletion *-
The GtkSourceCompletion associated with the context.
-Flags: Read / Write / Construct Only
-“iter”
property “iter” GtkTextIter *
-The GtkTextIter at which the completion is invoked.
+“iter” GtkTextIter *+
The GtkTextIter at which the completion is invoked.
Flags: Read / Write
“cancelled”
signalvoid user_function (GtkSourceCompletionContext *arg0, - gpointer user_data)+ gpointer user_data)
Emitted when the current population of proposals has been cancelled. Providers adding proposals asynchronously should connect to this signal to know when to cancel running proposal queries.
@@ -432,38 +386,12 @@ -Flags: Action
- -“cancelled”
signalvoid -user_function (GtkSourceCompletionContext *arg0, - gpointer user_data)-
Emitted when the current population of proposals has been cancelled. -Providers adding proposals asynchronously should connect to this signal -to know when to cancel running proposal queries.
- -Flags: Action
+Flags: Action
#include <gtksourceview/gtksource.h>@@ -383,21 +314,54 @@ “show-completion” signal.
A same GtkSourceCompletionProvider object can be used for several GtkSourceCompletion.
+The GtkSourceCompletion implementation of the GtkBuildable interface exposes
+the info window object (see gtk_source_completion_get_info_window()
) with the
+internal-child "info_window".
An example of a UI definition fragment with GtkSourceCompletion:
+1 +2 +3 +4 +5 +6 +7 +8 |
+ <object class="GtkSourceCompletion"> + <property name="select_on_show">False</property> + <child internal-child="info_window"> + <object class="GtkSourceCompletionInfo"> + <property name="border_width">6</property> + </object> + </child> +</object> |
+
gboolean +gboolean gtk_source_completion_add_provider (+GtkSourceCompletion *completion
,GtkSourceCompletionProvider *provider
, -GError **error
);GError **error
);
Add a new GtkSourceCompletionProvider to the completion object. This will
add a reference provider
, so make sure to unref your own copy when you
no longer need it.
gboolean +gboolean gtk_source_completion_remove_provider (+GtkSourceCompletion *completion
,GtkSourceCompletionProvider *provider
, -GError **error
);GError **error
);
Remove provider
from the completion.
GList * +GList * gtk_source_completion_get_providers (GtkSourceCompletion *completion
);Get list of providers registered on
completion
. The returned list is owned by the completion and should not be freed.-@@ -507,9 +471,9 @@Returns
+Returns
list of GtkSourceCompletionProvider.
[element-type GtkSource.CompletionProvider][transfer none]
@@ -559,7 +523,7 @@ gtk_source_completion_hide (gtk_source_completion_show ()
-gboolean +gboolean gtk_source_completion_show (GtkSourceCompletion *completion
, -GList *providers
, +GList *providers
,GtkSourceCompletionContext *context
);Starts a new completion with the specified GtkSourceCompletionContext and a list of potential candidate providers for completion.
@@ -519,7 +483,7 @@gtk_source_completion_add_provider()
, and implementgtk_source_completion_provider_match()
for each provider.-Parameters
+Parameters
@@ -534,8 +498,8 @@ - providers
- a list of GtkSourceCompletionProvider, or
NULL
.[element-type GtkSource.CompletionProvider][allow-none] ++ a list of GtkSourceCompletionProvider, or
NULL
.[element-type GtkSource.CompletionProvider][allow-none] @@ -547,8 +511,8 @@ context
GtkSourceCompletion *completion
);
Hides the completion if it is active (visible).
position |
- a GtkTextIter, or |
-[allow-none] | + a GtkTextIter, or |
+[allow-none] |
a new GtkSourceCompletionContext.
The reference being returned is a 'floating' reference,
so if you invoke gtk_source_completion_show()
with this context
@@ -681,14 +646,14 @@
void gtk_source_completion_move_window (+GtkSourceCompletion *completion
, -GtkTextIter *iter
);
GtkTextIter *iter
);
gtk_source_completion_move_window
has been deprecated since version 3.8 and should not be used in newly-written code.
Use gtk_source_completion_provider_get_start_iter()
instead.
Move the completion window to a specific iter.
iter |
-a GtkTextIter. |
+a GtkTextIter. |
completion |
-The GtkSourceCompletion who emits the signal |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“hide”
signalvoid -user_function (GtkSourceCompletion *completion, - gpointer user_data)-
Emitted when the completion window is hidden. The default handler -will actually hide the window.
-completion |
-The GtkSourceCompletion who emits the signal |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“move-cursor”
signalvoid -user_function (GtkSourceCompletion *completion, - GtkScrollStep step, - gint num, - gpointer user_data)-
The “move-cursor” signal is a keybinding -signal which gets emitted when the user initiates a cursor -movement.
-The Up, Down,
-PageUp, PageDown, -Home and End keys are bound to the -normal behavior expected by those keys.
-When step
- is equal to GTK_SCROLL_PAGES, the page size is defined by
-the “proposal-page-size” property. It is used for
-the PageDown and PageUp keys.
Applications should not connect to it, but may emit it with
-g_signal_emit_by_name()
if they need to control the cursor
-programmatically.
completion |
-The GtkSourceCompletion who emits the signal |
-- |
step |
-The GtkScrollStep by which to move the cursor |
-- |
num |
-The amount of steps to move the cursor |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“move-page”
signalvoid -user_function (GtkSourceCompletion *completion, - GtkScrollStep step, - gint num, - gpointer user_data)-
The “move-page” signal is a keybinding -signal which gets emitted when the user initiates a page -movement (i.e. switches between provider pages).
-Control+Leftis for going to the previous provider.
-Control+Rightis for going to the next provider.
-Control+Homeis for displaying all the providers.
-Control+Endis for going to the last provider.
-When step
- is equal to GTK_SCROLL_PAGES, the page size is defined by
-the “provider-page-size” property.
Applications should not connect to it, but may emit it with
-g_signal_emit_by_name()
if they need to control the page selection
-programmatically.
completion |
-The GtkSourceCompletion who emits the signal |
-- |
step |
-The GtkScrollStep by which to move the page |
-- |
num |
-The amount of steps to move the page |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“populate-context”
signalvoid -user_function (GtkSourceCompletion *completion, - GtkSourceCompletionContext *context, - gpointer user_data)-
Emitted just before starting to populate the completion with providers. -You can use this signal to add additional attributes in the context.
-completion |
-The GtkSourceCompletion who emits the signal |
-- |
context |
-The GtkSourceCompletionContext for the current completion |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“show”
signalvoid -user_function (GtkSourceCompletion *completion, - gpointer user_data)-
Emitted when the completion window is shown. The default handler -will actually show the window.
-completion |
-The GtkSourceCompletion who emits the signal |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
-“activate-proposal”
signalvoid -user_function (GtkSourceCompletion *completion, - gpointer user_data)+ gpointer user_data)
The “activate-proposal” signal is a keybinding signal which gets emitted when the user initiates a proposal activation.
Applications should not connect to it, but may emit it with
-g_signal_emit_by_name()
if they need to control the proposal
+g_signal_emit_by_name()
if they need to control the proposal
activation programmatically.
Flags: Action
+Flags: Action
“hide”
signalvoid user_function (GtkSourceCompletion *completion, - gpointer user_data)+ gpointer user_data)
Emitted when the completion window is hidden. The default handler will actually hide the window.
-Flags: Action
+Flags: Action
“move-cursor”
signalvoid user_function (GtkSourceCompletion *completion, - GtkScrollStep step, - gint num, - gpointer user_data)+ GtkScrollStep step, + gint num, + gpointer user_data)
The “move-cursor” signal is a keybinding signal which gets emitted when the user initiates a cursor movement.
@@ -1326,14 +955,14 @@ Home and End keys are bound to thenormal behavior expected by those keys.
When step
- is equal to GTK_SCROLL_PAGES, the page size is defined by
+ is equal to GTK_SCROLL_PAGES
, the page size is defined by
the “proposal-page-size” property. It is used for
the PageDown and PageUp keys.
Applications should not connect to it, but may emit it with
-g_signal_emit_by_name()
if they need to control the cursor
+g_signal_emit_by_name()
if they need to control the cursor
programmatically.
step |
-The GtkScrollStep by which to move the cursor |
+The GtkScrollStep by which to move the cursor |
|
Flags: Action
+Flags: Action
“move-page”
signalvoid user_function (GtkSourceCompletion *completion, - GtkScrollStep step, - gint num, - gpointer user_data)+ GtkScrollStep step, + gint num, + gpointer user_data)
The “move-page” signal is a keybinding signal which gets emitted when the user initiates a page movement (i.e. switches between provider pages).
@@ -1382,13 +1011,13 @@ Control+Homeis for displaying all the providers.
Control+Endis for going to the last provider.
When step
- is equal to GTK_SCROLL_PAGES, the page size is defined by
+ is equal to GTK_SCROLL_PAGES, the page size is defined by
the “provider-page-size” property.
Applications should not connect to it, but may emit it with
-g_signal_emit_by_name()
if they need to control the page selection
+g_signal_emit_by_name()
if they need to control the page selection
programmatically.
step |
-The GtkScrollStep by which to move the page |
+The GtkScrollStep by which to move the page |
|
Flags: Action
+Flags: Action
void user_function (GtkSourceCompletion *completion, GtkSourceCompletionContext *context, - gpointer user_data)+ gpointer user_data)
Emitted just before starting to populate the completion with providers. You can use this signal to add additional attributes in the context.
-Flags: Action
+Flags: Action
“show”
signalvoid user_function (GtkSourceCompletion *completion, - gpointer user_data)+ gpointer user_data)
Emitted when the completion window is shown. The default handler will actually show the window.
-Flags: Action
+Flags: Action
GObject - ╰── GInitiallyUnowned - ╰── GtkWidget - ╰── GtkContainer - ╰── GtkBin - ╰── GtkWindow +GObject + ╰── GInitiallyUnowned + ╰── GtkWidget + ╰── GtkContainer + ╰── GtkBin + ╰── GtkWindow ╰── GtkSourceCompletionInfo
GtkSourceCompletionInfo implements - AtkImplementorIface and GtkBuildable.
+ AtkImplementorIface and GtkBuildable.This object can be used to show a calltip or help for the current completion proposal.
The info window has always the same size as the natural size of its child
-widget, added with gtk_container_add()
. If you want a fixed size instead, a
+widget, added with gtk_container_add()
. If you want a fixed size instead, a
possibility is to use a scrolled window, as the following example
demonstrates.
GtkSourceCompletionInfo *info; GtkWidget *your_widget; -GtkWidget *scrolled_window = gtk_scrolled_window_new (NULL, NULL); +GtkWidget *scrolled_window = gtk_scrolled_window_new (NULL, NULL); -gtk_widget_set_size_request (scrolled_window, 300, 200); -gtk_container_add (GTK_CONTAINER (scrolled_window), your_widget); -gtk_container_add (GTK_CONTAINER (info), scrolled_window);
If the calltip is displayed on top of a certain widget, say a GtkTextView,
-you should attach the calltip window to the GtkTextView with
-gtk_window_set_attached_to()
. By doing this, the calltip will be hidden when
-the “focus-out-event” signal is emitted by the GtkTextView. You
-may also be interested by the “cursor-position” property (when
+
If the calltip is displayed on top of a certain widget, say a GtkTextView,
+you should attach the calltip window to the GtkTextView with
+gtk_window_set_attached_to()
. By doing this, the calltip will be hidden when
+the “focus-out-event” signal is emitted by the GtkTextView. You
+may also be interested by the “cursor-position” property (when
its value is modified). If you use the GtkSourceCompletionInfo through the
GtkSourceCompletion machinery, you don't need to worry about this.
void gtk_source_completion_info_move_to_iter (+GtkSourceCompletionInfo *info
, -GtkTextView *view
, -GtkTextIter *iter
);
GtkTextView *view
,
+ GtkTextIter *iter
);
Moves the GtkSourceCompletionInfo to iter
. If iter
- is NULL
info
+ is NULL
info
is
-moved to the cursor position. Moving will respect the GdkGravity setting
+moved to the cursor position. Moving will respect the GdkGravity setting
of the info window and will ensure the line at iter
is not occluded by
the window.
view
a GtkTextView on which the info window should be positioned.
a GtkTextView on which the info window should be positioned.
iter
a GtkTextIter.
a GtkTextIter.
void gtk_source_completion_info_set_widget (+GtkSourceCompletionInfo *info
, -GtkWidget *widget
);
GtkWidget *widget
);
gtk_source_completion_info_set_widget
has been deprecated since version 3.8 and should not be used in newly-written code.
Use gtk_container_add()
instead. If there is already a child
-widget, remove it with gtk_container_remove()
.
Use gtk_container_add()
instead. If there is already a child
+widget, remove it with gtk_container_remove()
.
Sets the content widget of the info window. See that the previous widget will
lose a reference and it can be destroyed, so if you do not want this to
-happen you must use g_object_ref()
before calling this method.
g_object_ref()
before calling this method.
widget |
-a GtkWidget. |
-[allow-none] | +a GtkWidget. |
+[allow-none] |
GtkWidget * +GtkWidget * gtk_source_completion_info_get_widget (GtkSourceCompletionInfo *info
);-
gtk_source_completion_info_get_widget
has been deprecated since version 3.8 and should not be used in newly-written code.Use
+gtk_bin_get_child()
instead.Use
gtk_bin_get_child()
instead.Get the current content widget.
@@ -314,7 +307,7 @@The
“before-show”
signalvoid user_function (GtkSourceCompletionInfo *info, - gpointer user_data)+ gpointer user_data)This signal is emitted before any "show" management. You can connect to this signal if you want to change some properties or position before the real "show".
@@ -344,49 +337,12 @@
Flags: Action
-“before-show”
signalvoid -user_function (GtkSourceCompletionInfo *info, - gpointer user_data)-
This signal is emitted before any "show" management. You can connect -to this signal if you want to change some properties or position -before the real "show".
-GtkSourceCompletionInfo::before-show
has been deprecated since version 3.10 and should not be used in newly-written code.
This signal should not be used.
-info |
-The GtkSourceCompletionInfo who emits the signal |
-- |
user_data |
-user data set when the signal handler was connected. |
-- |
Flags: Action
+Flags: Action
GtkSourceCompletionItem * -gtk_source_completion_item_new (+const gchar *label
, -const gchar *text
, +gtk_source_completion_item_new (const gchar *label
, +const gchar *text
,GdkPixbuf *icon
, -const gchar *info
);
const gchar *info
);
Create a new GtkSourceCompletionItem with label label
, icon icon
and
extra information info
. Both icon
and info
- can be NULL
in which case
+ can be NULL
in which case
there will be no icon shown and no extra information available.
GtkSourceCompletionItem * gtk_source_completion_item_new_with_markup - (+const gchar *markup
, -const gchar *text
, + (const gchar *markup
, +const gchar *text
,GdkPixbuf *icon
, -const gchar *info
);
const gchar *info
);
Create a new GtkSourceCompletionItem with markup label markup
, icon
icon
and extra information info
. Both icon
and info
- can be NULL
in
+ can be NULL
in
which case there will be no icon shown and no extra information available.
icon
The item icon.
info
The item extra information.
GtkSourceCompletionItem * gtk_source_completion_item_new_from_stock - (+ (const gchar *label
, -const gchar *text
, -const gchar *stock
, -const gchar *info
);
const gchar *label
,
+ const gchar *text
,
+ const gchar *stock
,
+ const gchar *info
);
gtk_source_completion_item_new_from_stock
has been deprecated since version 3.10 and should not be used in newly-written code.
Use gtk_source_completion_item_new()
instead.
Creates a new GtkSourceCompletionItem from a stock item. If label
- is NULL
,
+ is NULL
,
the stock label will be used.
label
The item label.
text
info
The item extra information.
“info”
property“info” gchar *-
Optional extra information to be shown for this proposal.
-Flags: Read / Write
-Default value: NULL
-“label”
property“label” gchar *-
Label to be shown for this proposal.
-Flags: Read / Write
-Default value: NULL
-“markup”
property“markup” gchar *-
Label with markup to be shown for this proposal.
-Flags: Read / Write
-Default value: NULL
-“icon”
property“icon” GdkPixbuf *-
Icon to be shown for this proposal.
-Flags: Read / Write
-“info”
property“info” gchar *+
“info” gchar *
Optional extra information to be shown for this proposal.
Flags: Read / Write
Default value: NULL
@@ -406,7 +337,7 @@“label”
property“label” gchar *+
“label” gchar *
Label to be shown for this proposal.
Flags: Read / Write
Default value: NULL
@@ -414,7 +345,7 @@“markup”
property“markup” gchar *+
“markup” gchar *
Label with markup to be shown for this proposal.
Flags: Read / Write
Default value: NULL
@@ -422,7 +353,7 @@GtkSourceCompletionProposal requires - GObject.
+ GObject.gchar * +gchar * gtk_source_completion_proposal_get_label (GtkSourceCompletionProposal *proposal
);Gets the label of
+must be freed withproposal
. The label is shown in the list of proposals as plain text. If you need any markup (such as bold or italic text), you have to implementgtk_source_completion_proposal_get_markup()
. The returned string -must be freed withg_free()
.g_free()
.Parameters
@@ -217,14 +210,14 @@
gtk_source_completion_proposal_get_markup ()
-gchar * +gchar * gtk_source_completion_proposal_get_markup (GtkSourceCompletionProposal *proposal
);Gets the label of
+must be freed withproposal
with markup. The label is shown in the list of proposals and may contain markup. This will be used instead ofgtk_source_completion_proposal_get_label()
if implemented. The returned string -must be freed withg_free()
.g_free()
.Parameters
@@ -250,7 +243,7 @@
gtk_source_completion_proposal_get_text ()
-gchar * +gchar * gtk_source_completion_proposal_get_text (GtkSourceCompletionProposal *proposal
);Gets the text of
+be freed withproposal
@@ -259,7 +252,7 @@ You are free to implement a custom activation handler in the provider and not implement this function. For more information, seegtk_source_completion_provider_activate_proposal()
. The returned string must -be freed withg_free()
.g_free()
.Parameters
@@ -315,12 +308,12 @@
gtk_source_completion_proposal_get_info ()
-gchar * +gchar * gtk_source_completion_proposal_get_info (GtkSourceCompletionProposal *proposal
);Gets extra information associated to the proposal. This information will be used to present the user with extra, detailed information about the -selected proposal. The returned string must be freed with
+selected proposal. The returned string must be freed withg_free()
.g_free()
.Parameters
@@ -241,7 +199,7 @@@@ -339,7 +332,7 @@
Returns
a new string containing extra information of
@@ -374,12 +367,12 @@proposal
-orNULL
if +orNULL
if no extra information is associated toproposal
.
gtk_source_completion_proposal_hash ()
-guint +guint gtk_source_completion_proposal_hash (GtkSourceCompletionProposal *proposal
);Get the hash value of
+model. By default, it uses a direct hash (proposal
. This is used to (together withgtk_source_completion_proposal_equal()
) to match proposals in the completion -model. By default, it uses a direct hash (g_direct_hash()
).g_direct_hash()
).Parameters
@@ -405,12 +398,12 @@
-gtk_source_completion_proposal_equal ()
-gboolean +gboolean gtk_source_completion_proposal_equal (GtkSourceCompletionProposal *proposal
,GtkSourceCompletionProposal *other
);Get whether two proposal objects are the same. This is used to (together with
+completion model. By default, it uses direct equality (gtk_source_completion_proposal_hash()
) to match proposals in the -completion model. By default, it uses direct equality (g_direct_equal()
).g_direct_equal()
).-Parameters
@@ -435,7 +428,7 @@
Returns
-
TRUE
ifproposal
+@@ -481,50 +474,50 @@
TRUE
ifproposal
andobject
are the same proposal- + GTypeInterface
parent
;GTypeInterface
parent
;The parent interface.
+By default, The virtual function pointer for
gtk_source_completion_proposal_get_label()
. -By default,NULL
is returned.NULL
is returned.+By default, The virtual function pointer for
gtk_source_completion_proposal_get_markup()
. -By default,NULL
is returned.NULL
is returned.+By default, The virtual function pointer for
gtk_source_completion_proposal_get_text()
. -By default,NULL
is returned.NULL
is returned.+By default, The virtual function pointer for
gtk_source_completion_proposal_get_icon()
. -By default,NULL
is returned.NULL
is returned.+By default, The virtual function pointer for
gtk_source_completion_proposal_get_info()
. -By default,NULL
is returned.NULL
is returned.+By default, it uses a direct hash ( The virtual function pointer for
gtk_source_completion_proposal_hash()
. -By default, it uses a direct hash (g_direct_hash()
).g_direct_hash()
).+By default, it uses direct equality ( The virtual function pointer for
gtk_source_completion_proposal_equal()
. -By default, it uses direct equality (g_direct_equal()
).g_direct_equal()
).@@ -543,7 +536,7 @@ The
“changed”
signalvoid user_function (GtkSourceCompletionProposal *proposal, - gpointer user_data)+ gpointer user_data)Emitted when the proposal has changed. The completion popup will react to this by updating the shown information.
@@ -568,44 +561,12 @@Flags: Action
-
--+ Generated by GTK-Doc V1.21.1 \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceCompletionProvider.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceCompletionProvider.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceCompletionProvider.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceCompletionProvider.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“changed”
signalvoid -user_function (GtkSourceCompletionProposal *proposal, - gpointer user_data)-Emitted when the proposal has changed. The completion popup -will react to this by updating the shown information.
---Parameters
---
- - -- - - - -- proposal
- - - - -- user_data
- user data set when the signal handler was connected.
- Flags: Action
+Flags: Action
GtkSourceView 3 Reference Manual: GtkSourceCompletionProvider +GtkSourceCompletionProvider: GtkSourceView 3 Reference Manual - + @@ -44,7 +44,7 @@-gchar * +gchar * gtk_source_completion_provider_get_name () @@ -76,7 +76,7 @@ -gboolean +gboolean gtk_source_completion_provider_match () @@ -84,7 +84,7 @@ -GtkWidget * +GtkWidget * gtk_source_completion_provider_get_info_widget () @@ -100,7 +100,7 @@ -gboolean +gboolean gtk_source_completion_provider_get_start_iter () @@ -108,7 +108,7 @@ -gboolean +gboolean gtk_source_completion_provider_activate_proposal () @@ -116,7 +116,7 @@ -gint +gint gtk_source_completion_provider_get_interactive_delay () @@ -124,7 +124,7 @@ -gint +gint gtk_source_completion_provider_get_priority () @@ -154,7 +154,7 @@ @@ -162,7 +162,7 @@ Prerequisites
GtkSourceCompletionProvider requires - GObject.
+ GObject.Known Implementations
@@ -183,12 +183,12 @@Functions
gtk_source_completion_provider_get_name ()
-gchar * +gchar * gtk_source_completion_provider_get_name (GtkSourceCompletionProvider *provider
);Get the name of the provider. This should be a translatable name for display to the user. For example: _("Document word completion provider"). The -returned string must be freed with
+returned string must be freed withg_free()
.g_free()
.Parameters
@@ -235,8 +235,8 @@
Returns
The icon to be used for the provider, -or
-NULL
if the provider does not have a special icon.[transfer none]
+orNULL
if the provider does not have a special icon. +[nullable][transfer none]
@@ -304,7 +304,7 @@
gtk_source_completion_provider_match ()
-gboolean +gboolean gtk_source_completion_provider_match (GtkSourceCompletionProvider *provider
,GtkSourceCompletionContext *context
);Get whether the provider match the context of completion detailed in @@ -334,15 +334,15 @@
Returns
-+
TRUE
ifprovider
-matches the completion context,FALSE
otherwise.
TRUE
ifprovider
+matches the completion context,FALSE
otherwise.
gtk_source_completion_provider_get_info_widget ()
-GtkWidget * +GtkWidget * gtk_source_completion_provider_get_info_widget (@@ -351,9 +351,9 @@ providers will have the same custom widget for all their proposals andGtkSourceCompletionProvider *provider
,GtkSourceCompletionProposal *proposal
);proposal
can be ignored. The implementation of this function is optional. -If this function is not implemented, the default widget is a GtkLabel. The +
If this function is not implemented, the default widget is a GtkLabel. The return value of
+content of the GtkLabel.gtk_source_completion_proposal_get_info()
is used as the -content of the GtkLabel.If implemented,
gtk_source_completion_provider_update_info()
must also be implemented. @@ -382,10 +382,11 @@
@@ -434,13 +435,13 @@
gtk_source_completion_provider_get_start_iter ()
-gboolean ++gboolean gtk_source_completion_provider_get_start_iter (-GtkSourceCompletionProvider *provider
,GtkSourceCompletionContext *context
,GtkSourceCompletionProposal *proposal
, -GtkTextIter *iter
);Get the GtkTextIter at which the completion for
proposal
+GtkTextIter *iter
);Get the GtkTextIter at which the completion for
proposal
starts. When implemented, this information is used to position the completion window accordingly when a proposal is selected in the completion window. The @@ -481,31 +482,31 @@- iter
- a GtkTextIter.
+ + a GtkTextIter.
[out]
gtk_source_completion_provider_activate_proposal ()
-gboolean +gboolean gtk_source_completion_provider_activate_proposal (+GtkSourceCompletionProvider *provider
,GtkSourceCompletionProposal *proposal
, -GtkTextIter *iter
);GtkTextIter *iter
);Activate
proposal
atiter
-. When this functions returnsFALSE
, the default +. When this functions returnsFALSE
, the default activation ofproposal
will take place which replaces the word atiter
@@ -540,7 +541,7 @@@@ -548,15 +549,15 @@ - iter
+ a GtkTextIter.
a GtkTextIter.
Returns
-+
TRUE
to indicate that the proposal activation has been handled, -FALSE
otherwise.
TRUE
to indicate that the proposal activation has been handled, +FALSE
otherwise.
gtk_source_completion_provider_get_interactive_delay ()
-gint +gint gtk_source_completion_provider_get_interactive_delay (GtkSourceCompletionProvider *provider
);Get the delay in milliseconds before starting interactive completion for @@ -586,7 +587,7 @@
gtk_source_completion_provider_get_priority ()
-gint +gint gtk_source_completion_provider_get_priority (GtkSourceCompletionProvider *provider
);Get the provider priority. The priority determines the order in which @@ -666,7 +667,7 @@
- @@ -679,7 +680,7 @@+ GTypeInterface
g_iface
;GTypeInterface
g_iface
;The parent interface.
+By default, The virtual function pointer for
gtk_source_completion_provider_get_icon()
. -By default,NULL
is returned.NULL
is returned.@@ -691,7 +692,7 @@ +By default, The virtual function pointer for
gtk_source_completion_provider_match()
. -By default,TRUE
is returned.TRUE
is returned.@@ -703,7 +704,7 @@ +By default, The virtual function pointer for
gtk_source_completion_provider_get_info_widget()
. -By default,NULL
is returned.NULL
is returned.@@ -715,13 +716,13 @@ +By default, The virtual function pointer for
gtk_source_completion_provider_get_start_iter()
. -By default,FALSE
is returned.FALSE
is returned.+By default, The virtual function pointer for
gtk_source_completion_provider_activate_proposal()
. -By default,FALSE
is returned.FALSE
is returned.@@ -744,6 +745,6 @@ + Generated by GTK-Doc V1.21.1 \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceCompletionWords.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceCompletionWords.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceCompletionWords.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceCompletionWords.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -GtkSourceView 3 Reference Manual: GtkSourceCompletionWords +GtkSourceCompletionWords: GtkSourceView 3 Reference Manual - - + + @@ -23,7 +23,7 @@- + @@ -90,75 +90,33 @@@@ -199,14 +157,14 @@Read / Write / Construct - gint +gint interactive-delay Read / Write / Construct - guint +guint minimum-word-size Read / Write / Construct -gchar * +gchar *name Read / Write / Construct - gint +gint priority Read / Write / Construct - guint +guint proposals-batch-size Read / Write / Construct - -guint -scan-batch-size -Read / Write / Construct -- -GtkSourceCompletionActivation -activation -Read / Write / Construct -- --GdkPixbuf * -icon -Read / Write / Construct -- -gint -interactive-delay -Read / Write / Construct -- -guint -minimum-word-size -Read / Write / Construct -- --gchar * -name -Read / Write / Construct -- -gint -priority -Read / Write / Construct -- -guint -proposals-batch-size -Read / Write / Construct -- @@ -180,7 +138,7 @@guint +guint scan-batch-size Read / Write / Construct Description
The GtkSourceCompletionWords is an example of an implementation of the GtkSourceCompletionProvider interface. The proposals are words -appearing in the registered GtkTextBuffers.
+appearing in the registered GtkTextBuffers.Functions
gtk_source_completion_words_new ()
GtkSourceCompletionWords * -gtk_source_completion_words_new (const gchar *name
, +gtk_source_completion_words_new (const gchar *name
,GdkPixbuf *icon
);gtk_source_completion_words_register ()
void gtk_source_completion_words_register (+GtkSourceCompletionWords *words
, -GtkTextBuffer *buffer
);GtkTextBuffer *buffer
);Registers
@@ -261,7 +219,7 @@buffer
in thewords
provider.@@ -274,7 +232,7 @@ - buffer
+ a GtkTextBuffer
void gtk_source_completion_words_unregister (+GtkSourceCompletionWords *words
, -GtkTextBuffer *buffer
);GtkTextBuffer *buffer
);Unregisters
@@ -294,7 +252,7 @@buffer
from thewords
provider.@@ -329,75 +287,7 @@ - buffer
+ a GtkTextBuffer
-The
-“interactive-delay”
property“interactive-delay” gint-The delay before initiating interactive completion.
-Flags: Read / Write / Construct
-Allowed values: >= -1
-Default value: 50
-
---The
-“minimum-word-size”
property“minimum-word-size” guint-The minimum word size to complete.
-Flags: Read / Write / Construct
-Allowed values: >= 2
-Default value: 2
-
---The
-“name”
property“name” gchar *-The provider name.
-Flags: Read / Write / Construct
-Default value: NULL
-
---The
-“priority”
property“priority” gint-Provider priority.
-Flags: Read / Write / Construct
-Default value: 0
-
---The
-“proposals-batch-size”
property“proposals-batch-size” guint-Number of proposals added in one batch.
-Flags: Read / Write / Construct
-Allowed values: >= 1
-Default value: 300
-
---The
-“scan-batch-size”
property“scan-batch-size” guint-Number of lines scanned in one batch.
-Flags: Read / Write / Construct
-Allowed values: >= 1
-Default value: 50
-
---The
-“activation”
property“activation” GtkSourceCompletionActivation-The type of activation.
-Flags: Read / Write / Construct
-Default value: GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE | GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED
-Since 3.10
-
- -
--The
-“interactive-delay”
property“interactive-delay” gint+“interactive-delay” gintThe delay before initiating interactive completion.
Flags: Read / Write / Construct
Allowed values: >= -1
@@ -406,7 +296,7 @@
The
-“minimum-word-size”
property“minimum-word-size” guint+“minimum-word-size” guintThe minimum word size to complete.
Flags: Read / Write / Construct
Allowed values: >= 2
@@ -415,7 +305,7 @@
The
-“name”
property“name” gchar *+“name” gchar *The provider name.
Flags: Read / Write / Construct
Default value: NULL
@@ -423,7 +313,7 @@
The
-“priority”
property“priority” gint+“priority” gintProvider priority.
Flags: Read / Write / Construct
Default value: 0
@@ -431,7 +321,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceEncoding.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceEncoding.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceEncoding.html 1970-01-01 00:00:00.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceEncoding.html 2015-04-04 12:43:22.000000000 +0000 @@ -0,0 +1,366 @@ + + + + +The
-“proposals-batch-size”
property“proposals-batch-size” guint+“proposals-batch-size” guintNumber of proposals added in one batch.
Flags: Read / Write / Construct
Allowed values: >= 1
@@ -440,7 +330,7 @@
+ Generated by GTK-Doc V1.21.1GtkSourceEncoding: GtkSourceView 3 Reference Manual + + + + + + + + + ++
+ +Top + ++ + + + + + ++ + + \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceFile.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceFile.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceFile.html 1970-01-01 00:00:00.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceFile.html 2015-04-04 12:43:22.000000000 +0000 @@ -0,0 +1,563 @@ + + + + +++ + + +Functions
+++
+ + ++ + + +const GtkSourceEncoding * + ++gtk_source_encoding_get_utf8 () + ++ +const GtkSourceEncoding * + ++gtk_source_encoding_get_current () + ++ +const GtkSourceEncoding * + ++gtk_source_encoding_get_from_charset () + ++ ++gchar * + ++gtk_source_encoding_to_string () + ++ +const gchar * + ++gtk_source_encoding_get_name () + ++ +const gchar * + ++gtk_source_encoding_get_charset () + ++ ++GSList * + ++gtk_source_encoding_get_all () + ++ ++GtkSourceEncoding * + ++gtk_source_encoding_copy () + ++ + ++void + ++gtk_source_encoding_free () + +++Description
+The GtkSourceEncoding boxed type represents a character encoding. It is used +for example by GtkSourceFile. Note that the text in GTK+ widgets is always +encoded in UTF-8.
+++ + +Functions
+++gtk_source_encoding_get_utf8 ()
+const GtkSourceEncoding * +gtk_source_encoding_get_utf8 (+ +void
);Since 3.14
+
+++gtk_source_encoding_get_current ()
+const GtkSourceEncoding * +gtk_source_encoding_get_current (+void
);Gets the GtkSourceEncoding for the current locale. See also
+ +g_get_charset()
.Since 3.14
+
+++gtk_source_encoding_get_from_charset ()
+const GtkSourceEncoding * +gtk_source_encoding_get_from_charset (+const gchar *charset
);Gets a GtkSourceEncoding from a character set such as "UTF-8" or +"ISO-8859-1".
+ + +Since 3.14
+
+++gtk_source_encoding_to_string ()
+gchar * +gtk_source_encoding_to_string (+ + +const GtkSourceEncoding *enc
);Since 3.14
+
+++gtk_source_encoding_get_name ()
+const gchar * +gtk_source_encoding_get_name (+const GtkSourceEncoding *enc
);Gets the name of the GtkSourceEncoding such as "Unicode" or "Western".
+ + +Since 3.14
+
+++gtk_source_encoding_get_charset ()
+const gchar * +gtk_source_encoding_get_charset (+const GtkSourceEncoding *enc
);Gets the character set of the GtkSourceEncoding, such as "UTF-8" or +"ISO-8859-1".
+ + +Since 3.14
+
+++gtk_source_encoding_get_all ()
+GSList * +gtk_source_encoding_get_all (+void
);Gets all encodings.
+++Returns
+a list of +all GtkSourceEncoding's. Free with
+g_slist_free()
.[transfer container][element-type GtkSource.Encoding]
+Since 3.14
+
+++gtk_source_encoding_copy ()
+GtkSourceEncoding * +gtk_source_encoding_copy (+const GtkSourceEncoding *enc
);Used by language bindings.
+ + +Since 3.14
+
+++gtk_source_encoding_free ()
+void +gtk_source_encoding_free (+GtkSourceEncoding *enc
);Used by language bindings.
+ +Since 3.14
+GtkSourceFile: GtkSourceView 3 Reference Manual + + + + + + + + + ++
+ +Top + ++ + + + + + ++ + + \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceFileLoader.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceFileLoader.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceFileLoader.html 1970-01-01 00:00:00.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceFileLoader.html 2015-04-04 12:43:22.000000000 +0000 @@ -0,0 +1,769 @@ + + + + +++Functions
+++
+ + ++ + + ++GMountOperation * + ++(*GtkSourceMountOperationFactory) () + ++ ++GtkSourceFile * + ++gtk_source_file_new () + ++ ++GFile * + ++gtk_source_file_get_location () + ++ ++void + ++gtk_source_file_set_location () + ++ +const GtkSourceEncoding * + ++gtk_source_file_get_encoding () + ++ ++GtkSourceNewlineType + ++gtk_source_file_get_newline_type () + ++ ++GtkSourceCompressionType + ++gtk_source_file_get_compression_type () + ++ + ++void + ++gtk_source_file_set_mount_operation_factory () + +++Properties
+++
+ + ++ + + + +GtkSourceCompressionType +compression-type +Read ++ ++GtkSourceEncoding * +encoding +Read ++ ++GFile * +location +Read / Write ++ + +GtkSourceNewlineType +newline-type +Read +++ + +Types and Values
+++
+ + ++ + + ++ GtkSourceFile ++ +enum +GtkSourceNewlineType ++ +#define +GTK_SOURCE_NEWLINE_TYPE_DEFAULT ++ + +enum +GtkSourceCompressionType +++Description
+A GtkSourceFile object is the on-disk representation of a GtkSourceBuffer. +With a GtkSourceFile, you can create and configure a GtkSourceFileLoader +and GtkSourceFileSaver which take by default the values of the +GtkSourceFile properties (except for the file loader which auto-detect some +properties). On a successful load or save operation, the GtkSourceFile +properties are updated. If an operation fails, the GtkSourceFile properties +have still the previous valid values.
+++Functions
+++GtkSourceMountOperationFactory ()
+GMountOperation * +(*GtkSourceMountOperationFactory) (+GtkSourceFile *file
, +gpointer userdata
);Type definition for a function that will be called to create a +GMountOperation. This is useful for creating a GtkMountOperation.
+ +Since 3.14
+
+ +
+++gtk_source_file_get_location ()
+GFile * +gtk_source_file_get_location (+ + +GtkSourceFile *file
);Since 3.14
+
+++gtk_source_file_set_location ()
+void +gtk_source_file_set_location (+GtkSourceFile *file
, +GFile *location
);Sets the location.
+ +Since 3.14
+
+++gtk_source_file_get_encoding ()
+const GtkSourceEncoding * +gtk_source_file_get_encoding (+GtkSourceFile *file
);The encoding is initially
+ + +NULL
. After a successful file loading or saving +operation, the encoding is non-NULL
.Since 3.14
+
+++gtk_source_file_get_newline_type ()
+GtkSourceNewlineType +gtk_source_file_get_newline_type (+ + +GtkSourceFile *file
);Since 3.14
+
+++gtk_source_file_get_compression_type ()
+GtkSourceCompressionType +gtk_source_file_get_compression_type (+ + +GtkSourceFile *file
);Since 3.14
+
+++gtk_source_file_set_mount_operation_factory ()
+void +gtk_source_file_set_mount_operation_factory + (+GtkSourceFile *file
, +GtkSourceMountOperationFactory callback
, +gpointer user_data
, +GDestroyNotify notify
);Sets a GtkSourceMountOperationFactory function that will be called when a +GMountOperation must be created. This is useful for creating a +GtkMountOperation with the parent GtkWindow.
+If a mount operation factory isn't set,
+g_mount_operation_new()
will be +called.++Parameters
+++
+ + ++ + + + ++ file
+ + + ++ callback
+ a GtkSourceMountOperationFactory to call when a +GMountOperation is needed.
[scope notified] ++ ++ user_data
+ the data to pass to the
callback
+function.[closure] ++ + ++ notify
+ function to call on
user_data
+when thecallback
+is no +longer needed, orNULL
.[nullable] +Since 3.14
+++Types and Values
+ +
+ +
+++GTK_SOURCE_NEWLINE_TYPE_DEFAULT
+#define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF ++The default newline type on the current OS.
+Since 3.14
+
+ +++ +Property Details
+++The
+“compression-type”
property“compression-type” GtkSourceCompressionType+The compression type.
+Flags: Read
+Default value: GTK_SOURCE_COMPRESSION_TYPE_NONE
+Since 3.14
+
+++The
+“encoding”
property“encoding” GtkSourceEncoding *+The character encoding, initially
+NULL
. After a successful file +loading or saving operation, the encoding is non-NULL
.Flags: Read
+Since 3.14
+
+ +
+++The
+“newline-type”
property“newline-type” GtkSourceNewlineType+The line ending type.
+Flags: Read
+Default value: GTK_SOURCE_NEWLINE_TYPE_LF
+Since 3.14
+GtkSourceFileLoader: GtkSourceView 3 Reference Manual + + + + + + + + + ++
+ +Top + ++ + + + + + ++ + + \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceFileSaver.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceFileSaver.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceFileSaver.html 1970-01-01 00:00:00.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceFileSaver.html 2015-04-04 12:43:22.000000000 +0000 @@ -0,0 +1,962 @@ + + + + +++Functions
+++
+ + ++ + + ++GtkSourceFileLoader * + ++gtk_source_file_loader_new () + ++ ++GtkSourceFileLoader * + ++gtk_source_file_loader_new_from_stream () + ++ ++void + ++gtk_source_file_loader_set_candidate_encodings () + ++ ++GtkSourceBuffer * + ++gtk_source_file_loader_get_buffer () + ++ ++GtkSourceFile * + ++gtk_source_file_loader_get_file () + ++ ++GFile * + ++gtk_source_file_loader_get_location () + ++ ++GInputStream * + ++gtk_source_file_loader_get_input_stream () + ++ ++void + ++gtk_source_file_loader_load_async () + ++ ++gboolean + ++gtk_source_file_loader_load_finish () + ++ +const GtkSourceEncoding * + ++gtk_source_file_loader_get_encoding () + ++ ++GtkSourceNewlineType + ++gtk_source_file_loader_get_newline_type () + ++ + ++GtkSourceCompressionType + ++gtk_source_file_loader_get_compression_type () + +++Properties
+++
+ + ++ + + + ++GtkSourceBuffer * +buffer +Read / Write / Construct Only ++ ++GtkSourceFile * +file +Read / Write / Construct Only ++ ++GInputStream * +input-stream +Read / Write / Construct Only ++ + ++GFile * +location +Read / Write / Construct Only +++ + +Types and Values
+++
+ + ++ + + ++ GtkSourceFileLoader ++ +#define +GTK_SOURCE_FILE_LOADER_ERROR ++ + +enum +GtkSourceFileLoaderError +++Description
+A GtkSourceFileLoader object permits to load the contents of a GFile or a +GInputStream into a GtkSourceBuffer.
+A file loader should be used only for one load operation, including errors +handling. If an error occurs, you can reconfigure the loader and relaunch the +operation with
+gtk_source_file_loader_load_async()
.++Functions
+++gtk_source_file_loader_new ()
+GtkSourceFileLoader * +gtk_source_file_loader_new (+GtkSourceBuffer *buffer
, +GtkSourceFile *file
);Creates a new GtkSourceFileLoader object. The contents is read from the +GtkSourceFile's location. If not already done, call +
+gtk_source_file_set_location()
before calling this constructor. The previous +location is anyway not needed, because as soon as the file loading begins, +thebuffer
+ is emptied.++ +Parameters
+++
+ + ++ + + + ++ buffer
+ the GtkSourceBuffer to load the contents into.
+ + + ++ file
+ the GtkSourceFile.
+ Since 3.14
+
+++gtk_source_file_loader_new_from_stream ()
+GtkSourceFileLoader * +gtk_source_file_loader_new_from_stream + (+GtkSourceBuffer *buffer
, +GtkSourceFile *file
, +GInputStream *stream
);Creates a new GtkSourceFileLoader object. The contents is read from
+stream
+.++ +Parameters
+++
+ + ++ + + + ++ buffer
+ the GtkSourceBuffer to load the contents into.
+ + ++ file
+ the GtkSourceFile.
+ + + ++ stream
+ the GInputStream to load, e.g. stdin.
+ Since 3.14
+
+++gtk_source_file_loader_set_candidate_encodings ()
+void +gtk_source_file_loader_set_candidate_encodings + (+GtkSourceFileLoader *loader
, +GSList *candidate_encodings
);Sets the candidate encodings for the file loading. The encodings are tried in +the same order as the list.
+For convenience,
+candidate_encodings
+ can contain duplicates. Only the first +occurrence of a duplicated encoding is kept in the list.By default the candidate encodings are (in that order):
+++
- +
If set, the GtkSourceFile's encoding. See
gtk_source_file_get_encoding()
.- +
Depending on the current locale (language and country), a list of common +encodings are added. The UTF-8 encoding and the current locale encoding are +always present.
++Parameters
+++
+ + ++ + + + ++ loader
+ + + + ++ candidate_encodings
+ a list of +GtkSourceEncodings.
[element-type GtkSourceEncoding] +Since 3.14
+
+++gtk_source_file_loader_get_buffer ()
+GtkSourceBuffer * +gtk_source_file_loader_get_buffer (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_get_file ()
+GtkSourceFile * +gtk_source_file_loader_get_file (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_get_location ()
+GFile * +gtk_source_file_loader_get_location (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_get_input_stream ()
+GInputStream * +gtk_source_file_loader_get_input_stream + (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_load_async ()
+void +gtk_source_file_loader_load_async (+GtkSourceFileLoader *loader
, +gint io_priority
, +GCancellable *cancellable
, +GFileProgressCallback progress_callback
, +gpointer progress_callback_data
, +GDestroyNotify progress_callback_notify
, +GAsyncReadyCallback callback
, +gpointer user_data
);Loads asynchronously the file or input stream contents into the +GtkSourceBuffer. See the GAsyncResult documentation to know how to use this +function.
+++Parameters
+++
+ + ++ + + + ++ loader
+ + + ++ io_priority
+ the I/O priority of the request. E.g.
G_PRIORITY_LOW
, +G_PRIORITY_DEFAULT
orG_PRIORITY_HIGH
.+ + ++ cancellable
+ optional GCancellable object,
NULL
to ignore.[nullable] ++ ++ progress_callback
+ function to call back with +progress information, or
NULL
if progress information is not needed.[scope notified][nullable] ++ ++ progress_callback_data
+ user data to pass to
progress_callback
+.[closure] ++ ++ progress_callback_notify
+ function to call on +
progress_callback_data
+when theprogress_callback
+is no longer needed, or +NULL
.[nullable] ++ ++ callback
+ a GAsyncReadyCallback to call when the request is +satisfied.
[scope async] ++ + ++ user_data
+ user data to pass to
callback
+.+ Since 3.14
+
+++gtk_source_file_loader_load_finish ()
+gboolean +gtk_source_file_loader_load_finish (+GtkSourceFileLoader *loader
, +GAsyncResult *result
, +GError **error
);Finishes a file loading started with
+gtk_source_file_loader_load_async()
.If the contents has been loaded, the following GtkSourceFile properties will +be updated: the location, the encoding, the newline type and the compression +type.
+ + +Since 3.14
+
+++gtk_source_file_loader_get_encoding ()
+const GtkSourceEncoding * +gtk_source_file_loader_get_encoding (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_get_newline_type ()
+GtkSourceNewlineType +gtk_source_file_loader_get_newline_type + (+ + +GtkSourceFileLoader *loader
);Since 3.14
+
+++gtk_source_file_loader_get_compression_type ()
+GtkSourceCompressionType +gtk_source_file_loader_get_compression_type + (+ + +GtkSourceFileLoader *loader
);Since 3.14
+++Types and Values
+ +
+++GTK_SOURCE_FILE_LOADER_ERROR
+#define GTK_SOURCE_FILE_LOADER_ERROR gtk_source_file_loader_error_quark () ++
+++enum GtkSourceFileLoaderError
+An error code used with the
+ +GTK_SOURCE_FILE_LOADER_ERROR
domain.++ +Property Details
+++The
+“buffer”
property“buffer” GtkSourceBuffer *+The GtkSourceBuffer to load the contents into. The +GtkSourceFileLoader object has a weak reference to the buffer.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“file”
property“file” GtkSourceFile *+The GtkSourceFile. The GtkSourceFileLoader object has a weak +reference to the file.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“input-stream”
property“input-stream” GInputStream *+The GInputStream to load. Useful for reading stdin. If this property +is set, the “location” property is ignored.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“location”
property“location” GFile *+The GFile to load. If the “input-stream” is +
+NULL
, by default the location is taken from the GtkSourceFile at +construction time.Flags: Read / Write / Construct Only
+Since 3.14
+GtkSourceFileSaver: GtkSourceView 3 Reference Manual + + + + + + + + + ++
+ +Top + ++ + + + + + ++ + + \ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutter.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutter.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutter.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutter.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -++Functions
++++Properties
+++
+ + ++ + + + ++GtkSourceBuffer * +buffer +Read / Write / Construct Only ++ +GtkSourceCompressionType +compression-type +Read / Write / Construct ++ ++GtkSourceEncoding * +encoding +Read / Write / Construct ++ ++GtkSourceFile * +file +Read / Write / Construct Only ++ +GtkSourceFileSaverFlags +flags +Read / Write / Construct ++ ++GFile * +location +Read / Write / Construct Only ++ + +GtkSourceNewlineType +newline-type +Read / Write / Construct +++ + +Types and Values
+++
+ + ++ + + ++ GtkSourceFileSaver ++ +#define +GTK_SOURCE_FILE_SAVER_ERROR ++ +enum +GtkSourceFileSaverError ++ + +enum +GtkSourceFileSaverFlags +++Description
+A GtkSourceFileSaver object permits to save a GtkSourceBuffer into a +GFile.
+A file saver should be used only for one save operation, including errors +handling. If an error occurs, you can reconfigure the saver and relaunch the +operation with
+gtk_source_file_saver_save_async()
.++Functions
+++gtk_source_file_saver_new ()
+GtkSourceFileSaver * +gtk_source_file_saver_new (+GtkSourceBuffer *buffer
, +GtkSourceFile *file
);Creates a new GtkSourceFileSaver object. The
+buffer
+ will be saved to the +GtkSourceFile's location.This constructor is suitable for a simple "save" operation, when the
+file
+ +already contains a non-NULL
“location”.++ +Parameters
+++
+ + ++ + + + ++ buffer
+ the GtkSourceBuffer to save.
+ + + ++ file
+ the GtkSourceFile.
+ Since 3.14
+
+++gtk_source_file_saver_new_with_target ()
+GtkSourceFileSaver * +gtk_source_file_saver_new_with_target (+GtkSourceBuffer *buffer
, +GtkSourceFile *file
, +GFile *target_location
);Creates a new GtkSourceFileSaver object with a target location. When the +file saving is finished successfully,
+target_location
+ is set to thefile
+'s +“location” property. If an error occurs, the previous valid +location is still available in GtkSourceFile.This constructor is suitable for a "save as" operation, or for saving a new +buffer for the first time.
+++ +Parameters
+++
+ + ++ + + + ++ buffer
+ the GtkSourceBuffer to save.
+ + ++ file
+ the GtkSourceFile.
+ + + ++ target_location
+ the GFile where to save the buffer to.
+ Since 3.14
+
+++gtk_source_file_saver_get_buffer ()
+GtkSourceBuffer * +gtk_source_file_saver_get_buffer (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_get_file ()
+GtkSourceFile * +gtk_source_file_saver_get_file (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_get_location ()
+GFile * +gtk_source_file_saver_get_location (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_set_encoding ()
+void +gtk_source_file_saver_set_encoding (+GtkSourceFileSaver *saver
, +const GtkSourceEncoding *encoding
);Sets the encoding. If
+encoding
+ isNULL
, the UTF-8 encoding will be set. +By default the encoding is taken from the GtkSourceFile.++Parameters
+++
+ + ++ + + + ++ saver
+ + + + ++ encoding
+ the new encoding, or
NULL
for UTF-8.[allow-none] +Since 3.14
+
+++gtk_source_file_saver_get_encoding ()
+const GtkSourceEncoding * +gtk_source_file_saver_get_encoding (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_set_newline_type ()
+void +gtk_source_file_saver_set_newline_type + (+GtkSourceFileSaver *saver
, +GtkSourceNewlineType newline_type
);Sets the newline type. By default the newline type is taken from the +GtkSourceFile.
+ +Since 3.14
+
+++gtk_source_file_saver_get_newline_type ()
+GtkSourceNewlineType +gtk_source_file_saver_get_newline_type + (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_set_compression_type ()
+void +gtk_source_file_saver_set_compression_type + (+GtkSourceFileSaver *saver
, +GtkSourceCompressionType compression_type
);Sets the compression type. By default the compression type is taken from the +GtkSourceFile.
+ +Since 3.14
+
+++gtk_source_file_saver_get_compression_type ()
+GtkSourceCompressionType +gtk_source_file_saver_get_compression_type + (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_set_flags ()
+void +gtk_source_file_saver_set_flags (+ +GtkSourceFileSaver *saver
, +GtkSourceFileSaverFlags flags
);Since 3.14
+
+++gtk_source_file_saver_get_flags ()
+GtkSourceFileSaverFlags +gtk_source_file_saver_get_flags (+ + +GtkSourceFileSaver *saver
);Since 3.14
+
+++gtk_source_file_saver_save_async ()
+void +gtk_source_file_saver_save_async (+GtkSourceFileSaver *saver
, +gint io_priority
, +GCancellable *cancellable
, +GFileProgressCallback progress_callback
, +gpointer progress_callback_data
, +GDestroyNotify progress_callback_notify
, +GAsyncReadyCallback callback
, +gpointer user_data
);Saves asynchronously the buffer into the file. See the GAsyncResult +documentation to know how to use this function.
+++Parameters
+++
+ + ++ + + + ++ saver
+ + + ++ io_priority
+ the I/O priority of the request. E.g.
G_PRIORITY_LOW
, +G_PRIORITY_DEFAULT
orG_PRIORITY_HIGH
.+ + ++ cancellable
+ optional GCancellable object,
NULL
to ignore.[nullable] ++ ++ progress_callback
+ function to call back with +progress information, or
NULL
if progress information is not needed.[scope notified][nullable] ++ ++ progress_callback_data
+ user data to pass to
progress_callback
+.[closure] ++ ++ progress_callback_notify
+ function to call on +
progress_callback_data
+when theprogress_callback
+is no longer needed, or +NULL
.[nullable] ++ ++ callback
+ a GAsyncReadyCallback to call when the request is +satisfied.
[scope async] ++ + ++ user_data
+ user data to pass to
callback
+.+ Since 3.14
+
+++gtk_source_file_saver_save_finish ()
+gboolean +gtk_source_file_saver_save_finish (+GtkSourceFileSaver *saver
, +GAsyncResult *result
, +GError **error
);Finishes a file saving started with
+gtk_source_file_saver_save_async()
.If the file has been saved successfully, the following GtkSourceFile +properties will be updated: the location, the encoding, the newline type and +the compression type.
+ + +Since 3.14
+++Types and Values
+ +
+++GTK_SOURCE_FILE_SAVER_ERROR
+#define GTK_SOURCE_FILE_SAVER_ERROR gtk_source_file_saver_error_quark () ++
+++enum GtkSourceFileSaverError
+An error code used with the
+ +GTK_SOURCE_FILE_SAVER_ERROR
domain.Since 3.14
+
+++enum GtkSourceFileSaverFlags
+Flags to define the behavior of a GtkSourceFileSaver.
+++Members
+++
+ + ++ + + + ++ + +No flags.
++ + ++ + +Ignore invalid characters.
++ + ++ + +Save file despite external modifications.
++ + + ++ + +Create a backup before saving the file.
++ Since 3.14
+++ +Property Details
+++The
+“buffer”
property“buffer” GtkSourceBuffer *+The GtkSourceBuffer to save. The GtkSourceFileSaver object has a +weak reference to the buffer.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“compression-type”
property“compression-type” GtkSourceCompressionType+The compression type.
+Flags: Read / Write / Construct
+Default value: GTK_SOURCE_COMPRESSION_TYPE_NONE
+Since 3.14
+
+++The
+“encoding”
property“encoding” GtkSourceEncoding *+The file's encoding.
+Flags: Read / Write / Construct
+Since 3.14
+
+++The
+“file”
property“file” GtkSourceFile *+The GtkSourceFile. The GtkSourceFileSaver object has a weak +reference to the file.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“flags”
property“flags” GtkSourceFileSaverFlags+File saving flags.
+Flags: Read / Write / Construct
+Since 3.14
+
+++The
+“location”
property“location” GFile *+The GFile where to save the buffer. By default the location is taken +from the GtkSourceFile at construction time.
+Flags: Read / Write / Construct Only
+Since 3.14
+
+++The
+“newline-type”
property“newline-type” GtkSourceNewlineType+The newline type.
+Flags: Read / Write / Construct
+Default value: GTK_SOURCE_NEWLINE_TYPE_LF
+Since 3.14
+GtkSourceView 3 Reference Manual: GtkSourceGutter +GtkSourceGutter: GtkSourceView 3 Reference Manual - + - + @@ -21,7 +21,7 @@- + @@ -43,7 +43,7 @@-GdkWindow * +GdkWindow * gtk_source_gutter_get_window () @@ -51,7 +51,7 @@ -gboolean +gboolean gtk_source_gutter_insert () @@ -124,38 +124,17 @@ Read / Write / Construct Only - GtkTextWindowType +GtkTextWindowType window-type Read / Write / Construct Only - gint +gint xpad Read / Write / Construct - -gint -ypad -Read / Write / Construct -- --GtkSourceView * -view -Read / Write / Construct Only -- -GtkTextWindowType -window-type -Read / Write / Construct Only -- -gint -xpad -Read / Write / Construct -- @@ -177,7 +156,7 @@ @@ -194,9 +173,9 @@ additional GtkSourceGutterRenderer objects in the gutter, you can extend the gutter with your own custom drawings.gint +gint ypad Read / Write / Construct To get a GtkSourceGutter, use the
-gtk_source_view_get_gutter()
function.The gutter works very much the same way as cells rendered in a GtkTreeView. +
The gutter works very much the same way as cells rendered in a GtkTreeView. The concept is similar, with the exception that the gutter does not have an -underlying GtkTreeModel. The builtin line number renderer is at position +underlying GtkTreeModel. The builtin line number renderer is at position GTK_SOURCE_VIEW_GUTTER_POSITION_LINES (-30) and the marks renderer is at GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS (-20). The gutter sorts the renderers in ascending order, from left to right. So the marks are displayed on the @@ -206,16 +185,16 @@
Functions
gtk_source_gutter_get_window ()
-GdkWindow * +GdkWindow * gtk_source_gutter_get_window (GtkSourceGutter *gutter
);--
gtk_source_gutter_get_window
has been deprecated since version 3.12 and should not be used in newly-written code.Use
+gtk_text_view_get_window()
instead.Use
gtk_text_view_get_window()
instead.Get the GdkWindow of the gutter. The window will only be available when the +
Get the GdkWindow of the gutter. The window will only be available when the gutter has at least one, non-zero width, cell renderer packed.
-@@ -240,10 +219,10 @@Returns
-the GdkWindow of the gutter, or
NULL
+Returns
+the GdkWindow of the gutter, or
NULL
if the gutter has no window.[transfer none]
gtk_source_gutter_insert ()
-gboolean +gboolean gtk_source_gutter_insert (+GtkSourceGutter *gutter
,GtkSourceGutterRenderer *renderer
, -gint position
);gint position
);Insert
renderer
into the gutter. Ifrenderer
is yet unowned then gutter @@ -251,7 +230,7 @@renderer
cannot be already inserted to another gutter.Since 3.0
@@ -290,13 +269,13 @@void gtk_source_gutter_reorder (+GtkSourceGutter *gutter
,GtkSourceGutterRenderer *renderer
, -gint position
);gint position
);Reorders
renderer
ingutter
to newposition
.-Parameters
+Parameters
@@ -311,7 +290,7 @@ - renderer
+ a GtkCellRenderer.
@@ -334,7 +313,7 @@ from gutter
.-Parameters
+Parameters
@@ -365,7 +344,7 @@ Invalidates the drawable area of the gutter. You can use this to force a redraw of the gutter if something has changed and needs to be redrawn.
-Parameters
+Parameters
@@ -434,8 +352,8 @@
@@ -386,8 +365,8 @@ gtk_source_gutter_get_padding ()
void gtk_source_gutter_get_padding (+GtkSourceGutter *gutter
, -gint *xpad
, -gint *ypad
);gint *xpad
, +gint *ypad
);
gtk_source_gutter_get_padding
has been deprecated since version 3.12 and should not be used in newly-written code.Use
@@ -398,8 +377,8 @@gtk_source_gutter_renderer_get_padding()
instead.gtk_source_gutter_set_padding ()
void gtk_source_gutter_set_padding (+GtkSourceGutter *gutter
, -gint xpad
, -gint ypad
);gint xpad
, +gint ypad
);@@ -465,50 +444,7 @@
gtk_source_gutter_set_padding
has been deprecated since version 3.12 and should not be used in newly-written code.Use
@@ -410,11 +389,11 @@gtk_source_gutter_renderer_set_padding()
instead.gtk_source_gutter_get_renderer_at_pos ()
GtkSourceGutterRenderer * gtk_source_gutter_get_renderer_at_pos (+GtkSourceGutter *gutter
, -gint x
, -gint y
);gint x
, +gint y
);Finds the GtkSourceGutterRenderer at (x, y).
-The
-“window-type”
property“window-type” GtkTextWindowType
-The text window type on which the window is placed.
-Flags: Read / Write / Construct Only
-Default value: GTK_TEXT_WINDOW_PRIVATE
-
---The
-“xpad”
property“xpad” gint-The x-padding.
----
GtkSourceGutter:xpad
has been deprecated since version 3.12 and should not be used in newly-written code.Use the “xpad” property -instead.
-Flags: Read / Write / Construct
-Allowed values: >= -1
-Default value: 0
-
---The
-“ypad”
property“ypad” gint-The y-padding.
----
GtkSourceGutter:ypad
has been deprecated since version 3.12 and should not be used in newly-written code.Use the “ypad” property -instead.
-Flags: Read / Write / Construct
-Allowed values: >= -1
-Default value: 0
-
---The
-“view”
property“view” GtkSourceView *-The GtkSourceView of the gutter.
-Flags: Read / Write / Construct Only
-
--The
-“window-type”
property“window-type” GtkTextWindowType
+“window-type” GtkTextWindowTypeThe text window type on which the window is placed.
Flags: Read / Write / Construct Only
Default value: GTK_TEXT_WINDOW_PRIVATE
@@ -516,7 +452,7 @@
The
-“xpad”
property“xpad” gint+“xpad” gintThe x-padding.
@@ -530,7 +466,7 @@
GtkSourceGutter:xpad
has been deprecated since version 3.12 and should not be used in newly-written code.
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRenderer.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRenderer.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRenderer.html 2014-04-14 20:11:04.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRenderer.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“ypad”
property“ypad” gint+“ypad” gintThe y-padding.
+ Generated by GTK-Doc V1.21.1@@ -549,6 +485,6 @@
GtkSourceGutter:ypad
has been deprecated since version 3.12 and should not be used in newly-written code.GtkSourceView 3 Reference Manual: GtkSourceGutterRenderer +GtkSourceGutterRenderer: GtkSourceView 3 Reference Manual - + @@ -68,7 +68,7 @@-gint +gint gtk_source_gutter_renderer_get_size () @@ -92,7 +92,7 @@ -gboolean +gboolean gtk_source_gutter_renderer_get_visible () @@ -140,7 +140,7 @@ -GtkTextWindowType +GtkTextWindowType gtk_source_gutter_renderer_get_window_type () @@ -148,7 +148,7 @@ -GtkTextView * +GtkTextView * gtk_source_gutter_renderer_get_view () @@ -164,7 +164,7 @@ -gboolean +gboolean gtk_source_gutter_renderer_get_background () @@ -188,7 +188,7 @@ -gboolean +gboolean gtk_source_gutter_renderer_query_activatable () @@ -204,7 +204,7 @@ -gboolean +gboolean gtk_source_gutter_renderer_query_tooltip () @@ -237,110 +237,53 @@ -GdkRGBA * +GdkRGBA *background-rgba Read / Write - gboolean +gboolean background-set Read / Write / Construct - gint +gint size Read / Write / Construct -GtkTextView * +GtkTextView *view Read - gboolean +gboolean visible Read / Write / Construct - GtkTextWindowType +GtkTextWindowType window-type Read - gfloat +gfloat xalign Read / Write / Construct - gint +gint xpad Read / Write / Construct - gfloat +gfloat yalign Read / Write / Construct - -gint -ypad -Read / Write / Construct -- -GtkSourceGutterRendererAlignmentMode -alignment-mode -Read / Write / Construct -- --GdkRGBA * -background-rgba -Read / Write -- -gboolean -background-set -Read / Write / Construct -- -gint -size -Read / Write / Construct -- --GtkTextView * -view -Read -- -gboolean -visible -Read / Write / Construct -- -GtkTextWindowType -window-type -Read -- -gfloat -xalign -Read / Write / Construct -- -gint -xpad -Read / Write / Construct -- -gfloat -yalign -Read / Write / Construct -- @@ -359,52 +302,27 @@gint +gint ypad Read / Write / Construct void activate -Run Last +Run Last - gboolean +gboolean query-activatable -Run Last +Run Last void query-data -Run Last +Run Last - gboolean +gboolean query-tooltip -Run Last +Run Last - void queue-draw -Run Last -- -void -activate -Run Last -- -gboolean -query-activatable -Run Last -- -void -query-data -Run Last -- -gboolean -query-tooltip -Run Last -- void -queue-draw -Run Last +Run Last Object Hierarchy
-GObject - ╰── GInitiallyUnowned +GObject + ╰── GInitiallyUnowned ╰── GtkSourceGutterRenderer ├── GtkSourceGutterRendererPixbuf ╰── GtkSourceGutterRendererText @@ -449,8 +367,8 @@Description
A GtkSourceGutterRenderer represents a column in a GtkSourceGutter. The -column contains one cell for each visible line of the GtkTextBuffer. Due to -text wrapping, a cell can thus span multiple lines of the GtkTextView. In +column contains one cell for each visible line of the GtkTextBuffer. Due to +text wrapping, a cell can thus span multiple lines of the GtkTextView. In this case, GtkSourceGutterRendererAlignmentMode controls the alignment of the cell.
The gutter renderer must announce its “size”. The @@ -475,7 +393,7 @@
begin: the
gtk_source_gutter_renderer_begin()
function is called when some cells need to be redrawn. It provides the associated region of the -GtkTextBuffer. The cells need to be redrawn when the GtkTextView is +GtkTextBuffer. The cells need to be redrawn when the GtkTextView is scrolled, or when the state of the cells change (see GtkSourceGutterRendererState).draw:
gtk_source_gutter_renderer_draw()
is called for each cell that needs @@ -490,17 +408,17 @@void gtk_source_gutter_renderer_begin (+GtkSourceGutterRenderer *renderer
,cairo_t *cr
, -GdkRectangle *background_area
, -GdkRectangle *cell_area
, -GtkTextIter *start
, -GtkTextIter *end
);GdkRectangle *background_area
, +GdkRectangle *cell_area
, +GtkTextIter *start
, +GtkTextIter *end
);Called when drawing a region begins. The region to be drawn is indicated by
start
andend
. The purpose is to allow the implementation to precompute some state before the draw method is called for each cell.-Parameters
+Parameters
@@ -520,22 +438,22 @@ - background_area
+ a GdkRectangle
- cell_area
+ a GdkRectangle
- start
+ a GtkTextIter
@@ -548,10 +466,10 @@ - end
+ a GtkTextIter
void gtk_source_gutter_renderer_draw (GtkSourceGutterRenderer *renderer
,cairo_t *cr
, -GdkRectangle *background_area
, -GdkRectangle *cell_area
, -GtkTextIter *start
, -GtkTextIter *end
, +GdkRectangle *background_area
, +GdkRectangle *cell_area
, +GtkTextIter *start
, +GtkTextIter *end
,GtkSourceGutterRendererState state
);Main renderering method. Implementations should implement this method to draw onto the cairo context. The
background_area
@@ -564,7 +482,7 @@ be taken into account to properly draw the different possible states (cursor, prelit, selected) if appropriate.-Parameters
+Parameters
@@ -584,22 +502,22 @@ - background_area
+ a GdkRectangle indicating the total area to be drawn
a GdkRectangle indicating the total area to be drawn
- cell_area
+ a GdkRectangle indicating the area to draw content
a GdkRectangle indicating the area to draw content
- start
+ a GtkTextIter
- end
+ a GtkTextIter
@@ -618,7 +536,7 @@ gtk_source_gutter_renderer_end ( GtkSourceGutterRenderer *renderer
);Called when drawing a region of lines has ended.
-Parameters
+Parameters
@@ -636,11 +554,11 @@
gtk_source_gutter_renderer_get_size ()
-gint +gint gtk_source_gutter_renderer_get_size (GtkSourceGutterRenderer *renderer
);Get the size of the renderer.
@@ -665,11 +583,11 @@gtk_source_gutter_renderer_set_size ()
void gtk_source_gutter_renderer_set_size (+GtkSourceGutterRenderer *renderer
, -gint size
);gint size
);Sets the size of the renderer. A value of -1 specifies that the size is to be determined dynamically.
-Parameters
+Parameters
@@ -697,10 +615,10 @@ void gtk_source_gutter_renderer_set_visible (+GtkSourceGutterRenderer *renderer
, -gboolean visible
);gboolean visible
);Set whether the gutter renderer is visible.
-Parameters
+Parameters
@@ -725,12 +643,12 @@
@@ -756,11 +674,11 @@gtk_source_gutter_renderer_get_visible ()
-gboolean +gboolean gtk_source_gutter_renderer_get_visible (GtkSourceGutterRenderer *renderer
);Get whether the gutter renderer is visible.
void gtk_source_gutter_renderer_get_padding (+GtkSourceGutterRenderer *renderer
, -gint *xpad
, -gint *ypad
);gint *xpad
, +gint *ypad
);Get the x-padding and y-padding of the gutter renderer.
-Parameters
+Parameters
@@ -793,8 +711,8 @@
@@ -775,13 +693,13 @@ - xpad
- return location for the x-padding (can be
NULL
).[out caller-allocates][allow-none] ++ return location for the x-padding (can be
NULL
).[out caller-allocates][allow-none] - ypad
- return location for the y-padding (can be
NULL
).[out caller-allocates][allow-none] ++ return location for the y-padding (can be
NULL
).[out caller-allocates][allow-none] void gtk_source_gutter_renderer_set_padding (+GtkSourceGutterRenderer *renderer
, -gint xpad
, -gint ypad
);gint xpad
, +gint ypad
);Set the padding of the gutter renderer. Both
xpad
andypad
can be @@ -804,7 +722,7 @@ is the left and right padding.ypad
is the top and bottom padding.-Parameters
+Parameters
@@ -837,11 +755,11 @@ void gtk_source_gutter_renderer_get_alignment (+GtkSourceGutterRenderer *renderer
, -gfloat *xalign
, -gfloat *yalign
);gfloat *xalign
, +gfloat *yalign
);Get the x-alignment and y-alignment of the gutter renderer.
-Parameters
+Parameters
@@ -874,8 +792,8 @@
@@ -856,13 +774,13 @@ - xalign
- return location for the x-alignment (can be
NULL
).[out caller-allocates][allow-none] ++ return location for the x-alignment (can be
NULL
).[out caller-allocates][allow-none] - yalign
- return location for the y-alignment (can be
NULL
).[out caller-allocates][allow-none] ++ return location for the y-alignment (can be
NULL
).[out caller-allocates][allow-none] void gtk_source_gutter_renderer_set_alignment (+GtkSourceGutterRenderer *renderer
, -gfloat xalign
, -gfloat yalign
);gfloat xalign
, +gfloat yalign
);Set the alignment of the gutter renderer. Both
xalign
andyalign
can be @@ -887,7 +805,7 @@ is the vertical alignment. Set to 0 for a top alignment. 1 for a bottom alignment.-Parameters
+Parameters
@@ -924,7 +842,7 @@ Set the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
-Parameters
+Parameters
@@ -949,12 +867,12 @@
gtk_source_gutter_renderer_get_window_type ()
-GtkTextWindowType +GtkTextWindowType gtk_source_gutter_renderer_get_window_type (-GtkSourceGutterRenderer *renderer
);Get the GtkTextWindowType associated with the gutter renderer.
+Get the GtkTextWindowType associated with the gutter renderer.
@@ -1010,7 +928,7 @@gtk_source_gutter_renderer_get_view ()
-GtkTextView * +GtkTextView * gtk_source_gutter_renderer_get_view (GtkSourceGutterRenderer *renderer
);Get the view associated to the gutter renderer
Get the alignment mode. The alignment mode describes the manner in which the renderer is aligned (see :xalign and :yalign).
@@ -1033,13 +951,13 @@
@@ -1072,12 +990,12 @@gtk_source_gutter_renderer_get_background ()
-gboolean +gboolean gtk_source_gutter_renderer_get_background (+GtkSourceGutterRenderer *renderer
, -GdkRGBA *color
);GdkRGBA *color
);Get the background color of the renderer.
-Parameters
+Parameters
@@ -1054,15 +972,15 @@ - color
- return value for a GdkRGBA.
[out caller-allocates][allow-none] ++ return value for a GdkRGBA.
[out caller-allocates][allow-none] void gtk_source_gutter_renderer_set_background (+GtkSourceGutterRenderer *renderer
, -const GdkRGBA *color
);const GdkRGBA *color
);Set the background color of the renderer. If
color
- is set toNULL
, the + is set toNULL
, the renderer will not have a background color.-Parameters
+Parameters
@@ -1104,13 +1022,13 @@gtk_source_gutter_renderer_activate ()
void gtk_source_gutter_renderer_activate (+GtkSourceGutterRenderer *renderer
, -GtkTextIter *iter
, -GdkRectangle *area
, -GdkEvent *event
);GtkTextIter *iter
, +GdkRectangle *area
, +GdkEvent *event
);Emits the “activate” signal of the renderer. This is called from GtkSourceGutter and should never have to be called manually.
-Parameters
+Parameters
@@ -1125,12 +1043,12 @@ - iter
+ a GtkTextIter at the start of the line where the renderer is activated
a GtkTextIter at the start of the line where the renderer is activated
- area
+ a GdkRectangle of the cell area where the renderer is activated
a GdkRectangle of the cell area where the renderer is activated
@@ -1145,18 +1063,18 @@
@@ -1202,7 +1120,7 @@ this from an implementation to inform that the renderer has changed such that it needs to redraw.gtk_source_gutter_renderer_query_activatable ()
-gboolean +gboolean gtk_source_gutter_renderer_query_activatable (+GtkSourceGutterRenderer *renderer
, -GtkTextIter *iter
, -GdkRectangle *area
, -GdkEvent *event
);GtkTextIter *iter
, +GdkRectangle *area
, +GdkEvent *event
);Get whether the renderer is activatable at the location in
event
. This is called from GtkSourceGutter to determine whether a renderer is activatable using the mouse pointer.-Parameters
+Parameters
@@ -1171,12 +1089,12 @@ - iter
+ a GtkTextIter at the start of the line to be activated
a GtkTextIter at the start of the line to be activated
- area
+ a GdkRectangle of the cell area to be activated
a GdkRectangle of the cell area to be activated
@@ -1188,8 +1106,8 @@ -Parameters
+Parameters
@@ -1220,19 +1138,19 @@
@@ -1284,8 +1202,8 @@gtk_source_gutter_renderer_query_tooltip ()
-gboolean +gboolean gtk_source_gutter_renderer_query_tooltip (+GtkSourceGutterRenderer *renderer
, -GtkTextIter *iter
, -GdkRectangle *area
, -gint x
, -gint y
, -GtkTooltip *tooltip
);GtkTextIter *iter
, +GdkRectangle *area
, +gint x
, +gint y
, +GtkTooltip *tooltip
);Emits the “query-tooltip” signal. This function is called from GtkSourceGutter. Implementations can override the default signal handler or can connect to the signal externally.
-Parameters
+Parameters
@@ -1247,12 +1165,12 @@ - iter
+ a GtkTextIter.
a GtkTextIter.
- area
+ a GdkRectangle.
a GdkRectangle.
@@ -1267,15 +1185,15 @@ - tooltip
+ a GtkTooltip.
a GtkTooltip.
gtk_source_gutter_renderer_query_data ()
void gtk_source_gutter_renderer_query_data (GtkSourceGutterRenderer *renderer
, -GtkTextIter *start
, -GtkTextIter *end
, +GtkTextIter *start
, +GtkTextIter *end
,GtkSourceGutterRendererState state
);Emit the “query-data” signal. This function is called to query for data just before rendering a cell. This is called from the @@ -1293,7 +1211,7 @@ can connect a signal handler externally to the “query-data” signal.
-Parameters
+Parameters
@@ -1308,12 +1226,12 @@ - start
+ a GtkTextIter.
a GtkTextIter.
- end
+ a GtkTextIter.
a GtkTextIter.
@@ -1336,7 +1254,7 @@ enum GtkSourceGutterRendererState
-Members
+Members
@@ -1385,7 +1303,7 @@ The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).
-@@ -331,7 +289,7 @@ gtk_source_mark_attributes_new (Members
+Members
@@ -276,7 +234,7 @@
@@ -1434,14 +1352,14 @@
The
-“background-rgba”
property“background-rgba” GdkRGBA *
+“background-rgba” GdkRGBA *The background color.
Flags: Read / Write
The
-“background-set”
property“background-set” gboolean+“background-set” gbooleanWhether the background color is set.
Flags: Read / Write / Construct
Default value: FALSE
@@ -1449,7 +1367,7 @@
The
-“size”
property“size” gint+“size” gintThe size.
Flags: Read / Write / Construct
Allowed values: >= 0
@@ -1458,14 +1376,14 @@
The
-“view”
property“view” GtkTextView *
+“view” GtkTextView *The view on which the renderer is placed.
Flags: Read
The
-“visible”
property“visible” gboolean+“visible” gbooleanThe visibility of the renderer.
Flags: Read / Write / Construct
Default value: TRUE
@@ -1473,7 +1391,7 @@
The
-“window-type”
property“window-type” GtkTextWindowType
+“window-type” GtkTextWindowTypeThe window type of the view on which the renderer is placed (left, or right).
Flags: Read
@@ -1482,7 +1400,7 @@
The
-“xalign”
property“xalign” gfloat+“xalign” gfloatThe horizontal alignment of the renderer. Set to 0 for a left alignment. 1 for a right alignment. And 0.5 for centering the cells. A value lower than 0 doesn't modify the alignment.
@@ -1493,7 +1411,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRendererPixbuf.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRendererPixbuf.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRendererPixbuf.html 2014-04-14 20:11:04.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRendererPixbuf.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“xpad”
property“xpad” gint+“xpad” gintThe left and right padding of the renderer.
Flags: Read / Write / Construct
Allowed values: >= -1
@@ -1502,7 +1420,7 @@
The
-“yalign”
property“yalign” gfloat+“yalign” gfloatThe vertical alignment of the renderer. Set to 0 for a top alignment. 1 for a bottom alignment. And 0.5 for centering the cells. A value lower than 0 doesn't modify the alignment.
@@ -1513,106 +1431,7 @@
-The
-“ypad”
property“ypad” gint-The top and bottom padding of the renderer.
-Flags: Read / Write / Construct
-Allowed values: >= -1
-Default value: 0
-
---The
-“alignment-mode”
property“alignment-mode” GtkSourceGutterRendererAlignmentMode-The alignment mode of the renderer. This can be used to indicate -that in the case a cell spans multiple lines (due to text wrapping) -the alignment should work on either the full cell, the first line -or the last line.
-Flags: Read / Write / Construct
-Default value: GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL
-
---The
-“background-rgba”
property“background-rgba” GdkRGBA *
-The background color.
-Flags: Read / Write
-
---The
-“background-set”
property“background-set” gboolean-Whether the background color is set.
-Flags: Read / Write / Construct
-Default value: FALSE
-
---The
-“size”
property“size” gint-The size.
-Flags: Read / Write / Construct
-Allowed values: >= 0
-Default value: 0
-
---The
-“view”
property“view” GtkTextView *
-The view on which the renderer is placed.
-Flags: Read
-
---The
-“visible”
property“visible” gboolean-The visibility of the renderer.
-Flags: Read / Write / Construct
-Default value: TRUE
-
---The
-“window-type”
property“window-type” GtkTextWindowType
-The window type of the view on which the renderer is placed (left, -or right).
-Flags: Read
-Default value: GTK_TEXT_WINDOW_PRIVATE
-
---The
-“xalign”
property“xalign” gfloat-The horizontal alignment of the renderer. Set to 0 for a left -alignment. 1 for a right alignment. And 0.5 for centering the cells. -A value lower than 0 doesn't modify the alignment.
-Flags: Read / Write / Construct
-Allowed values: [-1,1]
-Default value: 0
-
---The
-“xpad”
property“xpad” gint-The left and right padding of the renderer.
-Flags: Read / Write / Construct
-Allowed values: >= -1
-Default value: 0
-
---The
-“yalign”
property“yalign” gfloat-The vertical alignment of the renderer. Set to 0 for a top -alignment. 1 for a bottom alignment. And 0.5 for centering the cells. -A value lower than 0 doesn't modify the alignment.
-Flags: Read / Write / Construct
-Allowed values: [-1,1]
-Default value: 0
-
---The
-“ypad”
property“ypad” gint+“ypad” gintThe top and bottom padding of the renderer.
Flags: Read / Write / Construct
Allowed values: >= -1
@@ -1625,262 +1444,14 @@The
“activate”
signalvoid user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - GdkEvent *event, - gpointer user_data)-The ::activate signal is emitted when the renderer is -activated.
---Parameters
---
- - -- - - - -- renderer
- the GtkSourceGutterRenderer who emits the signal
- - -- iter
- a GtkTextIter
- - -- area
- a GdkRectangle
- - -- event
- the event that caused the activation
- - - -- user_data
- user data set when the signal handler was connected.
- Flags: Run Last
-
---The
-“query-activatable”
signalgboolean -user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - GdkEvent *event, - gpointer user_data)-The ::query-activatable signal is emitted when the renderer -can possibly be activated.
---Parameters
---
- - -- - - - -- renderer
- the GtkSourceGutterRenderer who emits the signal
- - -- iter
- a GtkTextIter
- - -- area
- a GdkRectangle
- - -- event
- the GdkEvent that is causing the activatable query
- - - -- user_data
- user data set when the signal handler was connected.
- Flags: Run Last
-
---The
-“query-data”
signalvoid -user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *start, - GtkTextIter *end, - GtkSourceGutterRendererState state, - gpointer user_data)-The ::query-data signal is emitted when the renderer needs -to be filled with data just before a cell is drawn. This can -be used by general renderer implementations to allow render -data to be filled in externally.
---Parameters
---
- - -- - - - -- renderer
- the GtkSourceGutterRenderer who emits the signal
- - -- start
- a GtkTextIter
- - -- end
- a GtkTextIter
- - -- state
- the renderer state
- - - -- user_data
- user data set when the signal handler was connected.
- Flags: Run Last
-
---The
-“query-tooltip”
signalgboolean -user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - gint x, - gint y, - GtkTooltip *tooltip, - gpointer user_data)-The ::query-tooltip signal is emitted when the renderer can -show a tooltip.
---Parameters
---
- - -- - - - -- renderer
- the GtkSourceGutterRenderer who emits the signal
- - -- iter
- a GtkTextIter
- - -- area
- a GdkRectangle
- - -- x
- the x position (in window coordinates)
- - -- y
- the y position (in window coordinates)
- - -- tooltip
- a GtkTooltip
- - - -- user_data
- user data set when the signal handler was connected.
- Flags: Run Last
-
---The
-“queue-draw”
signalvoid -user_function (GtkSourceGutterRenderer *renderer, - gpointer user_data)-The ::queue-draw signal is emitted when the renderer needs -to be redrawn. Use
-gtk_source_gutter_renderer_queue_draw()
-to emit this signal from an implementation of the -GtkSourceGutterRenderer interface.--Parameters
---
- - -- - - - -- renderer
- the GtkSourceGutterRenderer who emits the signal
- - - -- user_data
- user data set when the signal handler was connected.
- Flags: Run Last
-
--The
-“activate”
signalvoid -user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - GdkEvent *event, - gpointer user_data)+ GtkTextIter *iter, + GdkRectangle *area, + GdkEvent *event, + gpointer user_data)The ::activate signal is emitted when the renderer is activated.
--Parameters
+Parameters
@@ -1895,12 +1466,12 @@ - iter
+ a GtkTextIter
- area
+ a GdkRectangle
@@ -1916,21 +1487,21 @@ Flags: Run Last
+Flags: Run Last
The
-“query-activatable”
signalgboolean +gboolean user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - GdkEvent *event, - gpointer user_data)+ GtkTextIter *iter, + GdkRectangle *area, + GdkEvent *event, + gpointer user_data)The ::query-activatable signal is emitted when the renderer can possibly be activated.
--Parameters
+Parameters
@@ -1945,17 +1516,17 @@ - iter
+ a GtkTextIter
- area
+ a GdkRectangle
- event
+ the GdkEvent that is causing the activatable query
the GdkEvent that is causing the activatable query
@@ -1966,23 +1537,23 @@ Flags: Run Last
+Flags: Run Last
The
“query-data”
signalvoid user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *start, - GtkTextIter *end, + GtkTextIter *start, + GtkTextIter *end, GtkSourceGutterRendererState state, - gpointer user_data)+ gpointer user_data)The ::query-data signal is emitted when the renderer needs to be filled with data just before a cell is drawn. This can be used by general renderer implementations to allow render data to be filled in externally.
--Parameters
+Parameters
@@ -1997,12 +1568,12 @@ - start
+ a GtkTextIter
- end
+ a GtkTextIter
@@ -2018,23 +1589,23 @@ Flags: Run Last
+Flags: Run Last
The
-“query-tooltip”
signalgboolean +gboolean user_function (GtkSourceGutterRenderer *renderer, - GtkTextIter *iter, - GdkRectangle *area, - gint x, - gint y, - GtkTooltip *tooltip, - gpointer user_data)+ GtkTextIter *iter, + GdkRectangle *area, + gint x, + gint y, + GtkTooltip *tooltip, + gpointer user_data)The ::query-tooltip signal is emitted when the renderer can show a tooltip.
--Parameters
+Parameters
@@ -2049,12 +1620,12 @@ - iter
+ a GtkTextIter
- area
+ a GdkRectangle
@@ -2069,7 +1640,7 @@ - tooltip
+ a GtkTooltip
@@ -2080,20 +1651,20 @@ Flags: Run Last
+Flags: Run Last
The
“queue-draw”
signalvoid user_function (GtkSourceGutterRenderer *renderer, - gpointer user_data)+ gpointer user_data)The ::queue-draw signal is emitted when the renderer needs to be redrawn. Use
-gtk_source_gutter_renderer_queue_draw()
to emit this signal from an implementation of the GtkSourceGutterRenderer interface.Flags: Run Last
+Flags: Run Last
@@ -2124,6 +1695,6 @@+ Generated by GTK-Doc V1.21.1GtkSourceView 3 Reference Manual: GtkSourceGutterRendererPixbuf +GtkSourceGutterRendererPixbuf: GtkSourceView 3 Reference Manual - + @@ -74,7 +74,7 @@- const gchar * + const gchar * gtk_source_gutter_renderer_pixbuf_get_stock_id () @@ -90,7 +90,7 @@ -GIcon * +GIcon * gtk_source_gutter_renderer_pixbuf_get_gicon () @@ -105,7 +105,7 @@ - const gchar * + const gchar * gtk_source_gutter_renderer_pixbuf_get_icon_name () @@ -125,13 +125,13 @@ -GIcon * +GIcon *gicon Read / Write @@ -143,31 +143,7 @@ -gchar * +gchar *icon-name Read / Write - -gchar * -stock-id -Read / Write -- --GIcon * -gicon -Read / Write -- --gchar * -icon-name -Read / Write -- --GdkPixbuf * -pixbuf -Read / Write -- @@ -189,8 +165,8 @@-gchar * +gchar *stock-id Read / Write Object Hierarchy
-GObject - ╰── GInitiallyUnowned +GObject + ╰── GInitiallyUnowned ╰── GtkSourceGutterRenderer ╰── GtkSourceGutterRendererPixbuf@@ -213,7 +189,7 @@ gtk_source_gutter_renderer_pixbuf_new (void
);Create a new GtkSourceGutterRendererPixbuf.
@@ -226,7 +202,7 @@ (GtkSourceGutterRendererPixbuf *renderer
,GdkPixbuf *pixbuf
);-Parameters
+Parameters
@@ -256,7 +232,7 @@ (
@@ -242,7 +218,7 @@ pixbuf
- the pixbuf.
[allow-none] +[allow-none] GtkSourceGutterRendererPixbuf *renderer
);Get the pixbuf of the renderer.
@@ -282,13 +258,13 @@void gtk_source_gutter_renderer_pixbuf_set_stock_id (+GtkSourceGutterRendererPixbuf *renderer
, -const gchar *stock_id
);const gchar *stock_id
);
gtk_source_gutter_renderer_pixbuf_set_stock_id
has been deprecated since version 3.10 and should not be used in newly-written code.Don't use this function.
-Parameters
+Parameters
@@ -313,7 +289,7 @@
@@ -304,7 +280,7 @@ stock_id
- the stock id.
[allow-none] +[allow-none]
gtk_source_gutter_renderer_pixbuf_get_stock_id ()
-const gchar * +const gchar * gtk_source_gutter_renderer_pixbuf_get_stock_id (GtkSourceGutterRendererPixbuf *renderer
);@@ -321,7 +297,7 @@@@ -347,9 +323,9 @@Don't use this function.
void gtk_source_gutter_renderer_pixbuf_set_gicon (+GtkSourceGutterRendererPixbuf *renderer
, -GIcon *icon
);GIcon *icon
);-Parameters
+Parameters
@@ -374,12 +350,12 @@
@@ -365,7 +341,7 @@ icon
- the icon.
[allow-none] +[allow-none]
@@ -405,9 +381,9 @@gtk_source_gutter_renderer_pixbuf_get_gicon ()
-GIcon * +GIcon * gtk_source_gutter_renderer_pixbuf_get_gicon (GtkSourceGutterRendererPixbuf *renderer
);Get the gicon of the renderer
void gtk_source_gutter_renderer_pixbuf_set_icon_name (+GtkSourceGutterRendererPixbuf *renderer
, -const gchar *icon_name
);const gchar *icon_name
);-Parameters
+Parameters
@@ -432,7 +408,7 @@
@@ -423,7 +399,7 @@ icon_name
- the icon name.
[allow-none] +[allow-none]
@@ -448,48 +424,14 @@gtk_source_gutter_renderer_pixbuf_get_icon_name ()
-const gchar * +const gchar * gtk_source_gutter_renderer_pixbuf_get_icon_name (GtkSourceGutterRendererPixbuf *renderer
);Property Details
-
---The
-“icon-name”
property“icon-name” gchar *-The icon name.
-Flags: Read / Write
-Default value: NULL
-
- -
---The
-“stock-id”
property“stock-id” gchar *-The stock id.
----
GtkSourceGutterRendererPixbuf:stock-id
has been deprecated since version 3.10 and should not be used in newly-written code.Don't use this property.
-Flags: Read / Write
-Default value: NULL
-
-
The
-“icon-name”
property“icon-name” gchar *+“icon-name” gchar *The icon name.
Flags: Read / Write
Default value: NULL
@@ -504,7 +446,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRendererText.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRendererText.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceGutterRendererText.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceGutterRendererText.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“stock-id”
property“stock-id” gchar *+“stock-id” gchar *The stock id.
+ Generated by GTK-Doc V1.21.1@@ -521,6 +463,6 @@
GtkSourceGutterRendererPixbuf:stock-id
has been deprecated since version 3.10 and should not be used in newly-written code.GtkSourceView 3 Reference Manual: GtkSourceGutterRendererText +GtkSourceGutterRendererText: GtkSourceView 3 Reference Manual - + @@ -95,25 +95,13 @@-gchar * +gchar *markup Read / Write / Construct - -gchar * -text -Read / Write / Construct -- --gchar * -markup -Read / Write / Construct -- @@ -135,8 +123,8 @@-gchar * +gchar *text Read / Write / Construct Object Hierarchy
-GObject - ╰── GInitiallyUnowned +GObject + ╰── GInitiallyUnowned ╰── GtkSourceGutterRenderer ╰── GtkSourceGutterRendererText@@ -159,7 +147,7 @@ gtk_source_gutter_renderer_text_new (void
);Create a new GtkSourceGutterRendererText.
@@ -170,8 +158,8 @@void gtk_source_gutter_renderer_text_set_markup (+GtkSourceGutterRendererText *renderer
, -const gchar *markup
, -gint length
);const gchar *markup
, +gint length
);
@@ -179,8 +167,8 @@void gtk_source_gutter_renderer_text_set_text (+GtkSourceGutterRendererText *renderer
, -const gchar *text
, -gint length
);const gchar *text
, +gint length
);
@@ -188,9 +176,9 @@void gtk_source_gutter_renderer_text_measure (+GtkSourceGutterRendererText *renderer
, -const gchar *text
, -gint *width
, -gint *height
);const gchar *text
, +gint *width
, +gint *height
);
@@ -198,9 +186,9 @@void gtk_source_gutter_renderer_text_measure_markup (+GtkSourceGutterRendererText *renderer
, -const gchar *markup
, -gint *width
, -gint *height
);const gchar *markup
, +gint *width
, +gint *height
);@@ -214,23 +202,7 @@Property Details
-The
-“markup”
property“markup” gchar *-The markup.
-Flags: Read / Write / Construct
-Default value: NULL
-
---The
-“text”
property“text” gchar *-The text.
-Flags: Read / Write / Construct
-Default value: NULL
-
--\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceLanguage.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceLanguage.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceLanguage.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceLanguage.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“markup”
property“markup” gchar *+“markup” gchar *The markup.
Flags: Read / Write / Construct
Default value: NULL
@@ -238,7 +210,7 @@
+ Generated by GTK-Doc V1.21.1GtkSourceView 3 Reference Manual: GtkSourceLanguage +GtkSourceLanguage: GtkSourceView 3 Reference Manual - + @@ -42,21 +42,21 @@- const gchar * + const gchar * gtk_source_language_get_id () - const gchar * + const gchar * gtk_source_language_get_name () - const gchar * + const gchar * gtk_source_language_get_section () @@ -64,14 +64,14 @@ -gboolean +gboolean gtk_source_language_get_hidden () - const gchar * + const gchar * gtk_source_language_get_metadata () @@ -79,7 +79,7 @@ -gchar ** +gchar ** gtk_source_language_get_mime_types () @@ -87,14 +87,14 @@ -gchar ** +gchar ** gtk_source_language_get_globs () - const gchar * + const gchar * gtk_source_language_get_style_name () @@ -102,14 +102,14 @@ -gchar ** +gchar ** gtk_source_language_get_style_ids () - const gchar * + const gchar * gtk_source_language_get_style_fallback () @@ -128,48 +128,25 @@ - gboolean +gboolean hidden Read -gchar * +gchar *id Read -gchar * +gchar *name Read - -gchar * -section -Read -- -gboolean -hidden -Read -- --gchar * -id -Read -- --gchar * -name -Read -- @@ -191,7 +168,7 @@ @@ -211,14 +188,14 @@-gchar * +gchar *section Read Functions
gtk_source_language_get_id ()
-const gchar * +const gchar * gtk_source_language_get_id (GtkSourceLanguage *language
);Returns the ID of the language. The ID is not locale-dependent. The returned string is owned by
language
and should not be freed or modified.-Returns
+Returns
the ID of
@@ -242,14 +219,14 @@language
.
gtk_source_language_get_name ()
-const gchar * +const gchar * gtk_source_language_get_name (GtkSourceLanguage *language
);Returns the localized name of the language. The returned string is owned by
language
and should not be freed or modified.-Returns
+Returns
the name of
@@ -273,7 +250,7 @@language
.
gtk_source_language_get_section ()
-const gchar * +const gchar * gtk_source_language_get_section (GtkSourceLanguage *language
);Returns the localized section of the language. Each language belong to a section (ex. HTML belogs to the @@ -282,7 +259,7 @@ and should not be freed or modified.
-Returns
+Returns
the section of
@@ -306,11 +283,11 @@language
.
gtk_source_language_get_hidden ()
-gboolean +gboolean gtk_source_language_get_hidden (GtkSourceLanguage *language
);Returns whether the language should be hidden from the user.
gtk_source_language_get_metadata ()
-const gchar * +const gchar * gtk_source_language_get_metadata (+GtkSourceLanguage *language
, -const gchar *name
);const gchar *name
);-Returns
+Returns
value of property
@@ -372,14 +349,14 @@name
stored in the metadata oflanguage
-orNULL
if language doesn't contain that metadata property. +orNULL
if language doesn't contain that metadata property. The returned string is owned bylanguage
and should not be freed or modified.
gtk_source_language_get_mime_types ()
-gchar ** +gchar ** gtk_source_language_get_mime_types (GtkSourceLanguage *language
);Returns the mime types associated to this language. This is just an utility wrapper around
gtk_source_language_get_metadata()
to retrieve the "mimetypes" metadata property and split it into an array.-Returns
+Returns
a newly-allocated -
+The returned array must be freed withNULL
terminated array containing the mime types orNULL
if no +NULL
terminated array containing the mime types orNULL
if no mime types are found. -The returned array must be freed withg_strfreev()
.g_strfreev()
.[array zero-terminated=1][transfer full]
gtk_source_language_get_globs ()
-gchar ** +gchar ** gtk_source_language_get_globs (GtkSourceLanguage *language
);Returns the globs associated to this language. This is just an utility wrapper around
gtk_source_language_get_metadata()
to retrieve the "globs" metadata property and split it into an array.-Returns
+Returns
a newly-allocated -
+NULL
terminated array containing the globs orNULL
if no globs are found. -The returned array must be freed withg_strfreev()
.NULL
terminated array containing the globs orNULL
if no globs are found. +The returned array must be freed withg_strfreev()
.[array zero-terminated=1][transfer full]
gtk_source_language_get_style_name ()
-const gchar * +const gchar * gtk_source_language_get_style_name (+GtkSourceLanguage *language
, -const gchar *style_id
);const gchar *style_id
);Returns the name of the style with ID
style_id
defined by thislanguage
.-Returns
+Returns
the name of the style with ID
style_id
defined by thislanguage
or -NULL
if the style has no name or there is no style with IDstyle_id
+NULL
if the style has no name or there is no style with IDstyle_id
defined by thislanguage
. The returned string is owned by thelanguage
@@ -481,12 +458,12 @@
gtk_source_language_get_style_ids ()
-gchar ** +gchar ** gtk_source_language_get_style_ids (GtkSourceLanguage *language
);Returns the ids of the styles defined by this
language
.-Returns
-a
NULL
terminated +Returns
+a
+NULL
terminated array containing ids of the styles defined by thislanguage
or -NULL
if no style is defined. -The returned array must be freed withg_strfreev()
.NULL
if no style is defined. +The returned array must be freed withg_strfreev()
.[array zero-terminated=1][transfer full]
gtk_source_language_get_style_fallback ()
-const gchar * +const gchar * gtk_source_language_get_style_fallback (+GtkSourceLanguage *language
, -const gchar *style_id
);const gchar *style_id
);Returns the ID of the style to use if the specified
style_id
is not present in the current style scheme.-Returns
+Returns
the ID of the style to use if the specified
@@ -565,39 +542,7 @@style_id
-is not present in the current style scheme orNULL
if the style has +is not present in the current style scheme orNULL
if the style has no fallback defined. The returned string is owned by thelanguage
and must not be modified.Property Details
-The
-“hidden”
property“hidden” gboolean-Whether the language should be hidden from the user.
-Flags: Read
-Default value: FALSE
-
- -
- -
- -
--The
-“hidden”
property“hidden” gboolean+“hidden” gbooleanWhether the language should be hidden from the user.
Flags: Read
Default value: FALSE
@@ -605,7 +550,7 @@
The
-“id”
property“id” gchar *+“id” gchar *Language id.
Flags: Read
Default value: NULL
@@ -613,7 +558,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceLanguageManager.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceLanguageManager.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceLanguageManager.html 2014-04-14 20:11:04.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceLanguageManager.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“name”
property“name” gchar *+“name” gchar *Language name.
Flags: Read
Default value: NULL
@@ -621,7 +566,7 @@
+ Generated by GTK-Doc V1.21.1GtkSourceView 3 Reference Manual: GtkSourceLanguageManager +GtkSourceLanguageManager: GtkSourceView 3 Reference Manual - + @@ -66,14 +66,14 @@- const gchar * const * + const gchar * const * gtk_source_language_manager_get_search_path () - const gchar * const * + const gchar * const * gtk_source_language_manager_get_language_ids () @@ -108,22 +108,12 @@ - GStrv +GStrv language-ids Read - -GStrv -search-path -Read / Write -- -GStrv -language-ids -Read -- @@ -145,7 +135,7 @@ @@ -174,7 +164,7 @@ manager or a private language manager instance then useGStrv +GStrv search-path Read / Write gtk_source_language_manager_get_default()
instead. @@ -187,7 +177,7 @@ (void
);Returns the default GtkSourceLanguageManager instance.
-Returns
+Returns
a GtkSourceLanguageManager. Return value is owned by GtkSourceView library and must not be unref'ed.
[transfer none]
@@ -199,12 +189,12 @@void gtk_source_language_manager_set_search_path (+GtkSourceLanguageManager *lm
, -gchar **dirs
);gchar **dirs
);Sets the list of directories where the
+ islm
looks for language files. Ifdirs
- isNULL
, the search path is reset to default.NULL
, the search path is reset to default.At the moment this function can be called only before the language files are loaded for the first time. In practice @@ -212,7 +202,7 @@ you have to call this function right after creating it.
-\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceMarkAttributes.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceMarkAttributes.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceMarkAttributes.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceMarkAttributes.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -Parameters
+Parameters
@@ -237,13 +227,13 @@
@@ -227,8 +217,8 @@ - dirs
- [allow-none][array zero-terminated=1] ++ [allow-none][array zero-terminated=1]
+ Generated by GTK-Doc V1.21.1gtk_source_language_manager_get_search_path ()
-const gchar * const * +const gchar * const * gtk_source_language_manager_get_search_path (GtkSourceLanguageManager *lm
);Gets the list directories where
lm
looks for language files.-Returns
-
NULL
-terminated array +Returns
+@@ -269,12 +259,12 @@
NULL
-terminated array containg a list of language files directories. The array is owned bylm
and must not be modified.
gtk_source_language_manager_get_language_ids ()
-const gchar * const * +const gchar * const * gtk_source_language_manager_get_language_ids (GtkSourceLanguageManager *lm
);Returns the ids of the available languages.
-Returns
-a
-NULL
-terminated array of string -containing the ids of the available languages orNULL
if -no language is available. -The array is sorted alphabetically according to the language -name. -The array is owned bylm
-and must not be modified.[transfer none]
+Returns
+a
+NULL
-terminated array of +string containing the ids of the available languages orNULL
if no +language is available. The array is sorted alphabetically +according to the language name. The array is owned bylm
+and must +not be modified.[nullable][transfer none]
@@ -306,12 +295,12 @@GtkSourceLanguage * gtk_source_language_manager_get_language (+GtkSourceLanguageManager *lm
, -const gchar *id
);const gchar *id
);Gets the GtkSourceLanguage identified by the given
id
in the language manager.-Returns
-a GtkSourceLanguage, or
-NULL
if there is no language -identified by the givenid
-. Return value is owned bylm
-and should not -be freed.[transfer none]
+Returns
+a GtkSourceLanguage, or
+NULL
+if there is no language identified by the givenid
+. Return value is +owned bylm
+and should not be freed.[nullable][transfer none]
@@ -348,13 +337,13 @@GtkSourceLanguage * gtk_source_language_manager_guess_language (+GtkSourceLanguageManager *lm
, -const gchar *filename
, -const gchar *content_type
);const gchar *filename
, +const gchar *content_type
);Picks a GtkSourceLanguage for given file name and content type, according to the information in lang files. Either
+ may befilename
orcontent_type
- may beNULL
. This function can be used as follows:NULL
. This function can be used as follows:@@ -462,28 +452,14 @@@@ -363,7 +352,7 @@ 2 3
@@ -413,7 +402,7 @@@@ -390,21 +379,21 @@ 13 14 15 - GtkSourceLanguage *lang; -lang = gtk_source_language_manager_guess_language (filename, NULL); +lang = gtk_source_language_manager_guess_language (filename, NULL); gtk_source_buffer_set_language (buffer, lang); GtkSourceLanguage *lang = NULL; ++g_free (content_type); GtkSourceLanguage *lang = NULL; gboolean result_uncertain; gchar *content_type; -content_type = g_content_type_guess (filename, NULL, 0, &result_uncertain); +content_type = g_content_type_guess (filename, NULL, 0, &result_uncertain); if (result_uncertain) { - g_free (content_type); - content_type = NULL; + g_free (content_type); + content_type = NULL; } lang = gtk_source_language_manager_guess_language (manager, filename, content_type); gtk_source_buffer_set_language (buffer, lang); -g_free (content_type);etc. Use
gtk_source_language_get_mime_types()
andgtk_source_language_get_globs()
if you need full control over file -> language mapping.-Returns
-a GtkSourceLanguage, or
NULL
if there is no suitable language -for givenfilename
+Returns
+a GtkSourceLanguage, or
-NULL
if there +is no suitable language for givenfilename
and/orcontent_type
-. Return value is owned bylm
+. Return +value is owned bylm
and should not be freed.[transfer none]
+[nullable][transfer none]
Since 2.4
Property Details
-The
-“language-ids”
property“language-ids” GStrv-List of the ids of the available languages.
-Flags: Read
-
---The
-“search-path”
property“search-path” GStrv-List of directories where the language specification files (.lang) are located.
-Flags: Read / Write
-
--The
-“language-ids”
property“language-ids” GStrv+“language-ids” GStrvList of the ids of the available languages.
Flags: Read
@@ -495,6 +471,6 @@GtkSourceView 3 Reference Manual: GtkSourceMarkAttributes +GtkSourceMarkAttributes: GtkSourceView 3 Reference Manual - + @@ -60,7 +60,7 @@-gboolean +gboolean gtk_source_mark_attributes_get_background () @@ -75,7 +75,7 @@ - const gchar * + const gchar * gtk_source_mark_attributes_get_stock_id () @@ -90,7 +90,7 @@ - const gchar * + const gchar * gtk_source_mark_attributes_get_icon_name () @@ -106,7 +106,7 @@ -GIcon * +GIcon * gtk_source_mark_attributes_get_gicon () @@ -136,7 +136,7 @@ -gchar * +gchar * gtk_source_mark_attributes_get_tooltip_text () @@ -144,7 +144,7 @@ -gchar * +gchar * gtk_source_mark_attributes_get_tooltip_markup () @@ -164,19 +164,19 @@ -GdkRGBA * +GdkRGBA *background Read / Write -GIcon * +GIcon *gicon Read / Write @@ -188,37 +188,7 @@ -gchar * +gchar *icon-name Read / Write - -gchar * -stock-id -Read / Write -- --GdkRGBA * -background -Read / Write -- --GIcon * -gicon -Read / Write -- --gchar * -icon-name -Read / Write -- --GdkPixbuf * -pixbuf -Read / Write -- @@ -236,27 +206,15 @@-gchar * +gchar *stock-id Read / Write - -gchar* -query-tooltip-markup -Run Last -- --gchar* -query-tooltip-text -Run Last -- -gchar* +gchar*query-tooltip-markup -Run Last +Run Last -gchar* +gchar*query-tooltip-text -Run Last +Run Last void
);Creates a new source mark attributes.
@@ -342,11 +300,11 @@void gtk_source_mark_attributes_set_background (+GtkSourceMarkAttributes *attributes
, -const GdkRGBA *background
);const GdkRGBA *background
);Sets background color to the one given in
background
.-Parameters
+Parameters
@@ -361,7 +319,7 @@ @@ -371,14 +329,14 @@ - background
+ a GdkRGBA.
a GdkRGBA.
gtk_source_mark_attributes_get_background ()
-gboolean +gboolean gtk_source_mark_attributes_get_background (+GtkSourceMarkAttributes *attributes
, -GdkRGBA *background
);GdkRGBA *background
);Stores background color in
background
.-Parameters
+Parameters
@@ -393,14 +351,14 @@ - background
+ a GdkRGBA.
a GdkRGBA.
[out caller-allocates] -Returns
+Returns
whether background color for
@@ -412,14 +370,14 @@attributes
was set.void gtk_source_mark_attributes_set_stock_id (+GtkSourceMarkAttributes *attributes
, -const gchar *stock_id
);const gchar *stock_id
);
gtk_source_mark_attributes_set_stock_id
has been deprecated since version 3.10 and should not be used in newly-written code.Don't use this function.
Sets stock id to be used as a base for rendered icon.
-Parameters
+Parameters
@@ -444,7 +402,7 @@
gtk_source_mark_attributes_get_stock_id ()
-const gchar * +const gchar * gtk_source_mark_attributes_get_stock_id (GtkSourceMarkAttributes *attributes
);@@ -452,9 +410,9 @@Don't use this function.
Gets a stock id of an icon used by this attributes. Note that the stock id can -be
+beNULL
if it wasn't set earlier.NULL
if it wasn't set earlier.-Returns
+Returns
Stock id. Returned string is owned by
@@ -482,10 +440,10 @@attributes
and shouldn't be freed.void gtk_source_mark_attributes_set_icon_name (+GtkSourceMarkAttributes *attributes
, -const gchar *icon_name
);const gchar *icon_name
);Sets a name of an icon to be used as a base for rendered icon.
-Parameters
+Parameters
@@ -510,13 +468,13 @@
gtk_source_mark_attributes_get_icon_name ()
-const gchar * +const gchar * gtk_source_mark_attributes_get_icon_name (GtkSourceMarkAttributes *attributes
);Gets a name of an icon to be used as a base for rendered icon. Note that the -icon name can be
+icon name can beNULL
if it wasn't set earlier.NULL
if it wasn't set earlier.-Returns
+Returns
An icon name. The string belongs to
@@ -543,10 +501,10 @@attributes
and should not be freed.gtk_source_mark_attributes_set_gicon ()
void gtk_source_mark_attributes_set_gicon (+GtkSourceMarkAttributes *attributes
, -GIcon *gicon
);GIcon *gicon
);Sets an icon to be used as a base for rendered icon.
-Parameters
+Parameters
@@ -561,7 +519,7 @@ @@ -571,12 +529,12 @@ - gicon
+ a GIcon to be used.
a GIcon to be used.
gtk_source_mark_attributes_get_gicon ()
-GIcon * +GIcon * gtk_source_mark_attributes_get_gicon (-GtkSourceMarkAttributes *attributes
);Gets a GIcon to be used as a base for rendered icon. Note that the icon can -be
+NULL
if it wasn't set earlier.Gets a GIcon to be used as a base for rendered icon. Note that the icon can +be
NULL
if it wasn't set earlier.-\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourcePrintCompositor.html gtksourceview3-3.14.4/docs/reference/html/GtkSourcePrintCompositor.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourcePrintCompositor.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourcePrintCompositor.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -Returns
+Returns
An icon. The icon belongs to
@@ -606,7 +564,7 @@attributes
and should not be unreffed.const GdkPixbuf *pixbuf
);Sets a pixbuf to be used as a base for rendered icon.
-Parameters
+Parameters
@@ -634,9 +592,9 @@ const GdkPixbuf * gtk_source_mark_attributes_get_pixbuf (GtkSourceMarkAttributes *attributes
);Gets a GdkPixbuf to be used as a base for rendered icon. Note that the -pixbuf can be
+pixbuf can beNULL
if it wasn't set earlier.NULL
if it wasn't set earlier.-Returns
+Returns
A pixbuf. The pixbuf belongs to
@@ -664,8 +622,8 @@attributes
and should not be unreffed.const GdkPixbuf * gtk_source_mark_attributes_render_icon (+GtkSourceMarkAttributes *attributes
, -GtkWidget *widget
, -gint size
);GtkWidget *widget
, +gint size
);Renders an icon of given size. The base of the icon is set by the last call to one of:
gtk_source_mark_attributes_set_pixbuf()
,gtk_source_mark_attributes_set_gicon()
, @@ -673,7 +631,7 @@gtk_source_mark_attributes_set_stock_id()
.size
cannot be lower than 1.-Returns
+Returns
A rendered pixbuf. The pixbuf belongs to
attributes
and should not be unreffed.[transfer none]
@@ -709,7 +667,7 @@
gtk_source_mark_attributes_get_tooltip_text ()
-gchar * +gchar * gtk_source_mark_attributes_get_tooltip_text (@@ -717,7 +675,7 @@ a “query-tooltip-text” signal. The tooltip is a plain text.GtkSourceMarkAttributes *attributes
,GtkSourceMark *mark
);
@@ -796,62 +754,21 @@gtk_source_mark_attributes_get_tooltip_markup ()
-gchar * +gchar * gtk_source_mark_attributes_get_tooltip_markup (@@ -756,7 +714,7 @@ a “query-tooltip-markup” signal. The tooltip may contain a markup.GtkSourceMarkAttributes *attributes
,GtkSourceMark *mark
);Property Details
-The
-“background”
property“background” GdkRGBA *
-A color used for background of a line.
-Flags: Read / Write
-
---The
-“gicon”
property“gicon” GIcon *-A GIcon that may be a base of a rendered icon.
-Flags: Read / Write
-
---The
-“icon-name”
property“icon-name” gchar *-An icon name that may be a base of a rendered icon.
-Flags: Read / Write
-Default value: NULL
-
---The
-“pixbuf”
property“pixbuf” GdkPixbuf *-A GdkPixbuf that may be a base of a rendered icon.
-Flags: Read / Write
-
---The
-“stock-id”
property“stock-id” gchar *-A stock id that may be a base of a rendered icon.
----
GtkSourceMarkAttributes:stock-id
has been deprecated since version 3.10 and should not be used in newly-written code.Don't use this property.
-Flags: Read / Write
-Default value: NULL
-
--The
-“background”
property“background” GdkRGBA *
+“background” GdkRGBA *A color used for background of a line.
Flags: Read / Write
The
-“gicon”
property“gicon” GIcon *-A GIcon that may be a base of a rendered icon.
+“gicon” GIcon *+A GIcon that may be a base of a rendered icon.
Flags: Read / Write
The
-“icon-name”
property“icon-name” gchar *+“icon-name” gchar *An icon name that may be a base of a rendered icon.
Flags: Read / Write
Default value: NULL
@@ -866,7 +783,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceMark.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceMark.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceMark.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceMark.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“stock-id”
property“stock-id” gchar *+“stock-id” gchar *A stock id that may be a base of a rendered icon.
@@ -880,105 +797,15 @@
GtkSourceMarkAttributes:stock-id
has been deprecated since version 3.10 and should not be used in newly-written code.Signal Details
-The
-“query-tooltip-markup”
signalgchar* -user_function (GtkSourceMarkAttributes *attributes, - GtkSourceMark *mark, - gpointer user_data)-The code should connect to this signal to provide a tooltip for given -
-mark
-. The tooltip can contain a markup.--Parameters
---
- - -- - - - -- attributes
- The GtkSourceMarkAttributes which emits the signal.
- - -- mark
- The GtkSourceMark.
- - - -- user_data
- user data set when the signal handler was connected.
- --Returns
-A tooltip. The string should be freed with -
-g_free()
when done with it.[transfer full]
-Flags: Run Last
-
---The
-“query-tooltip-text”
signalgchar* -user_function (GtkSourceMarkAttributes *attributes, - GtkSourceMark *mark, - gpointer user_data)-The code should connect to this signal to provide a tooltip for given -
-mark
-. The tooltip should be just a plain text.--Parameters
---
- - -- - - - -- attributes
- The GtkSourceMarkAttributes which emits the signal.
- - -- mark
- The GtkSourceMark.
- - - -- user_data
- user data set when the signal handler was connected.
- --Returns
-A tooltip. The string should be freed with -
-g_free()
when done with it.[transfer full]
-Flags: Run Last
-
--The
-“query-tooltip-markup”
signalgchar* +gchar* user_function (GtkSourceMarkAttributes *attributes, GtkSourceMark *mark, - gpointer user_data)+ gpointer user_data)The code should connect to this signal to provide a tooltip for given
mark
. The tooltip can contain a markup.--Returns
+Returns
A tooltip. The string should be freed with -
+g_free()
when done with it.g_free()
when done with it.[transfer full]
Flags: Run Last
+Flags: Run Last
The
-“query-tooltip-text”
signalgchar* +gchar* user_function (GtkSourceMarkAttributes *attributes, GtkSourceMark *mark, - gpointer user_data)+ gpointer user_data)The code should connect to this signal to provide a tooltip for given
mark
. The tooltip should be just a plain text.--Returns
+Returns
A tooltip. The string should be freed with -
+g_free()
when done with it.g_free()
when done with it.[transfer full]
Flags: Run Last
+Flags: Run Last
@@ -1065,6 +892,6 @@+ Generated by GTK-Doc V1.21.1GtkSourceView 3 Reference Manual: GtkSourceMark +GtkSourceMark: GtkSourceView 3 Reference Manual - + @@ -50,7 +50,7 @@- -const gchar * + const gchar * gtk_source_mark_get_category () @@ -83,20 +83,12 @@ - - --gchar * -category -Read / Write / Construct Only -+ - + -gchar * +gchar *category Read / Write / Construct Only -@@ -114,8 +106,8 @@@@ -127,13 +119,13 @@@@ -142,15 +134,15 @@Description
A GtkSourceMark marks a position in the text where you want to display -additional info. It is based on GtkTextMark and thus is still valid after +additional info. It is based on GtkTextMark and thus is still valid after the text has changed though its position may change.
GtkSourceMarks are organised in categories which you have to set when you create the mark. Each category can have a priority, a pixbuf and other associated attributes. See
gtk_source_view_set_mark_attributes()
. The pixbuf will be displayed in the margin at the line where the mark -residents if the “show-line-marks” property is set toTRUE
. If +residents if the “show-line-marks” property is set toTRUE
. If there are multiple marks in the same line, the pixbufs will be drawn on top of each other. The mark with the highest priority will be drawn on top.@@ -299,16 +291,7 @@gtk_source_mark_new ()
GtkSourceMark * -gtk_source_mark_new (-const gchar *name
, -const gchar *category
);Creates a text mark. Add it to a buffer using
gtk_text_buffer_add_mark()
. +gtk_source_mark_new (const gchar *name
, +const gchar *category
); +Creates a text mark. Add it to a buffer using
gtk_text_buffer_add_mark()
. If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved -by name usinggtk_text_buffer_get_mark()
. +by name usinggtk_text_buffer_get_mark()
. Normally marks are created using the utility functiongtk_source_buffer_create_source_mark()
.-Returns
-a new GtkSourceMark that can be added using
+gtk_text_buffer_add_mark()
.Returns
+a new GtkSourceMark that can be added using
gtk_text_buffer_add_mark()
.Since 2.2
@@ -184,11 +176,11 @@
@@ -253,13 +245,13 @@gtk_source_mark_get_category ()
-const gchar * ++const gchar * gtk_source_mark_get_category (GtkSourceMark *mark
);Returns the mark category.
@@ -214,13 +206,13 @@gtk_source_mark_next ()
GtkSourceMark * gtk_source_mark_next (-GtkSourceMark *mark
, -const gchar *category
);Returns the next GtkSourceMark in the buffer or
+NULL
if the mark -was not added to a buffer. If there is no next mark,NULL
will be returned.const gchar *category
);Returns the next GtkSourceMark in the buffer or
NULL
if the mark +was not added to a buffer. If there is no next mark,NULL
will be returned.If
+ iscategory
- isNULL
, looks for marks of any category.NULL
, looks for marks of any category.-Returns
-the next GtkSourceMark, or
-NULL
.[transfer none]
+Returns
+the next GtkSourceMark, or
+NULL
.[nullable][transfer none]
Since 2.2
gtk_source_mark_prev ()
GtkSourceMark * gtk_source_mark_prev (-GtkSourceMark *mark
, -const gchar *category
);Returns the previous GtkSourceMark in the buffer or
+NULL
if the mark -was not added to a buffer. If there is no previous mark,NULL
is returned.const gchar *category
); +Returns the previous GtkSourceMark in the buffer or
NULL
if the mark +was not added to a buffer. If there is no previous mark,NULL
is returned.If
+ iscategory
- isNULL
, looks for marks of any categoryNULL
, looks for marks of any category-Returns
-the previous GtkSourceMark, or
-NULL
.[transfer none]
+Returns
+the previous GtkSourceMark, or
+NULL
.[nullable][transfer none]
Since 2.2
Property Details
-The
-“category”
property“category” gchar *-The category of the GtkSourceMark, classifies the mark and controls -which pixbuf is used and with which priority it is drawn.
-Flags: Read / Write / Construct Only
-Default value: NULL
-
--+ Generated by GTK-Doc V1.21.1The
-“category”
property“category” gchar *+“category” gchar *The category of the GtkSourceMark, classifies the mark and controls which pixbuf is used and with which priority it is drawn.
Flags: Read / Write / Construct Only
@@ -322,6 +305,6 @@GtkSourceView 3 Reference Manual: GtkSourcePrintCompositor +GtkSourcePrintCompositor: GtkSourceView 3 Reference Manual - + @@ -75,7 +75,7 @@-guint +guint gtk_source_print_compositor_get_tab_width () @@ -91,7 +91,7 @@ -GtkWrapMode +GtkWrapMode gtk_source_print_compositor_get_wrap_mode () @@ -107,7 +107,7 @@ -gboolean +gboolean gtk_source_print_compositor_get_highlight_syntax () @@ -123,7 +123,7 @@ -guint +guint gtk_source_print_compositor_get_print_line_numbers () @@ -139,7 +139,7 @@ -gchar * +gchar * gtk_source_print_compositor_get_body_font_name () @@ -155,7 +155,7 @@ -gchar * +gchar * gtk_source_print_compositor_get_line_numbers_font_name () @@ -171,7 +171,7 @@ -gchar * +gchar * gtk_source_print_compositor_get_header_font_name () @@ -187,7 +187,7 @@ -gchar * +gchar * gtk_source_print_compositor_get_footer_font_name () @@ -195,7 +195,7 @@ -gdouble +gdouble gtk_source_print_compositor_get_top_margin () @@ -211,7 +211,7 @@ -gdouble +gdouble gtk_source_print_compositor_get_bottom_margin () @@ -227,7 +227,7 @@ -gdouble +gdouble gtk_source_print_compositor_get_left_margin () @@ -243,7 +243,7 @@ -gdouble +gdouble gtk_source_print_compositor_get_right_margin () @@ -267,7 +267,7 @@ -gboolean +gboolean gtk_source_print_compositor_get_print_header () @@ -283,7 +283,7 @@ -gboolean +gboolean gtk_source_print_compositor_get_print_footer () @@ -307,7 +307,7 @@ -gint +gint gtk_source_print_compositor_get_n_pages () @@ -315,7 +315,7 @@ -gboolean +gboolean gtk_source_print_compositor_paginate () @@ -323,7 +323,7 @@ -gdouble +gdouble gtk_source_print_compositor_get_pagination_progress () @@ -351,7 +351,7 @@ @@ -363,119 +363,54 @@ -gchar * +gchar *body-font-name Read / Write -gchar * +gchar *footer-font-name Read / Write -gchar * +gchar *header-font-name Read / Write - gboolean +gboolean highlight-syntax Read / Write -gchar * +gchar *line-numbers-font-name Read / Write - gint +gint n-pages Read - gboolean +gboolean print-footer Read / Write - gboolean +gboolean print-header Read / Write - guint +guint print-line-numbers Read / Write - guint +guint tab-width Read / Write - -GtkWrapMode -wrap-mode -Read / Write -- --gchar * -body-font-name -Read / Write -- --GtkSourceBuffer * -buffer -Read / Write / Construct Only -- --gchar * -footer-font-name -Read / Write -- --gchar * -header-font-name -Read / Write -- -gboolean -highlight-syntax -Read / Write -- --gchar * -line-numbers-font-name -Read / Write -- -gint -n-pages -Read -- -gboolean -print-footer -Read / Write -- -gboolean -print-header -Read / Write -- -guint -print-line-numbers -Read / Write -- -guint -tab-width -Read / Write -- @@ -497,7 +432,7 @@ @@ -511,11 +446,11 @@GtkWrapMode +GtkWrapMode wrap-mode Read / Write The GtkSourcePrintCompositor object is used to compose a GtkSourceBuffer for printing. You can set various configuration options to customize the printed output. GtkSourcePrintCompositor is designed to be used with the -high-level printing API of gtk+, i.e. GtkPrintOperation.
+high-level printing API of gtk+, i.e. GtkPrintOperation.The margins specified in this object are the layout margins: they define the blank space bordering the printed area of the pages. They must not be confused with the "print margins", i.e. the parts of the page that the -printer cannot print on, defined in the GtkPageSetup objects. If the +printer cannot print on, defined in the GtkPageSetup objects. If the specified layout margins are smaller than the "print margins", the latter ones are used as a fallback by the GtkSourcePrintCompositor object, so that the printed area is not clipped.
@@ -529,7 +464,7 @@Creates a new print compositor that can be used to print
@@ -566,7 +501,7 @@ “wrap-mode”, “body-font-name” and “print-line-numbers”. @@ -597,7 +532,7 @@ object reference is owned by the compositor object and should not be unreferenced. @@ -624,12 +559,12 @@buffer
.void gtk_source_print_compositor_set_tab_width (+GtkSourcePrintCompositor *compositor
, -guint width
);guint width
);Sets the width of tabulation in characters for printed text.
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -655,12 +590,12 @@
gtk_source_print_compositor_get_tab_width ()
-guint +guint gtk_source_print_compositor_get_tab_width (GtkSourcePrintCompositor *compositor
);Returns the width of tabulation in characters for printed text.
@@ -687,12 +622,12 @@void gtk_source_print_compositor_set_wrap_mode (+GtkSourcePrintCompositor *compositor
, -GtkWrapMode wrap_mode
);GtkWrapMode wrap_mode
);Sets the line wrapping mode for the printed text.
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -707,7 +642,7 @@ @@ -718,12 +653,12 @@ - wrap_mode
+ a GtkWrapMode.
a GtkWrapMode.
gtk_source_print_compositor_get_wrap_mode ()
-GtkWrapMode +GtkWrapMode gtk_source_print_compositor_get_wrap_mode (GtkSourcePrintCompositor *compositor
);Gets the line wrapping mode for the printed text.
@@ -750,13 +685,13 @@void gtk_source_print_compositor_set_highlight_syntax (+GtkSourcePrintCompositor *compositor
, -gboolean highlight
);gboolean highlight
);Sets whether the printed text will be highlighted according to the buffer rules. Both color and font style are applied.
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -782,14 +717,14 @@
gtk_source_print_compositor_get_highlight_syntax ()
-gboolean +gboolean gtk_source_print_compositor_get_highlight_syntax (GtkSourcePrintCompositor *compositor
);Determines whether the printed text will be highlighted according to the buffer rules. Note that highlighting will happen only if the buffer to print has highlighting activated.
-Returns
-+
TRUE
if the printed output will be highlighted.Returns
+
TRUE
if the printed output will be highlighted.Since 2.2
@@ -816,7 +751,7 @@void gtk_source_print_compositor_set_print_line_numbers (+GtkSourcePrintCompositor *compositor
, -guint interval
);guint interval
);Sets the interval for printed line numbers. If
interval
is 0 no numbers will be printed. If greater than 0, a number will be @@ -827,7 +762,7 @@This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -853,14 +788,14 @@
gtk_source_print_compositor_get_print_line_numbers ()
-guint +guint gtk_source_print_compositor_get_print_line_numbers (GtkSourcePrintCompositor *compositor
);Returns the interval used for line number printing. If the value is 0, no line numbers will be printed. The default value is 1 (i.e. numbers printed in all lines).
@@ -887,17 +822,17 @@void gtk_source_print_compositor_set_body_font_name (+GtkSourcePrintCompositor *compositor
, -const gchar *font_name
);const gchar *font_name
);Sets the default font for the printed text.
font_name
should be a string representation of a font description Pango can understand. -(e.g. "Monospace 10"). Seepango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -923,13 +858,13 @@
gtk_source_print_compositor_get_body_font_name ()
-gchar * +gchar * gtk_source_print_compositor_get_body_font_name (GtkSourcePrintCompositor *compositor
);Returns the name of the font used to print the text body. The returned string -must be freed with
+must be freed withg_free()
.g_free()
.-Returns
+Returns
a new string containing the name of the font used to print the text body.
@@ -957,19 +892,19 @@void gtk_source_print_compositor_set_line_numbers_font_name (+GtkSourcePrintCompositor *compositor
, -const gchar *font_name
);const gchar *font_name
);Sets the font for printing line numbers on the left margin. If -
NULL
is supplied, the default font (i.e. the one being used for the +NULL
is supplied, the default font (i.e. the one being used for the text) will be used instead.
font_name
should be a string representation of a font description Pango can understand. -(e.g. "Monospace 10"). Seepango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -995,13 +930,13 @@
@@ -984,8 +919,8 @@ - font_name
- the name of the font for line numbers, or
NULL
.[allow-none] ++ the name of the font for line numbers, or
NULL
.[allow-none]
gtk_source_print_compositor_get_line_numbers_font_name ()
-gchar * +gchar * gtk_source_print_compositor_get_line_numbers_font_name (GtkSourcePrintCompositor *compositor
);Returns the name of the font used to print line numbers on the left margin. -The returned string must be freed with
+The returned string must be freed withg_free()
.g_free()
.-Returns
+Returns
a new string containing the name of the font used to print line numbers on the left margin.
@@ -1029,19 +964,19 @@void gtk_source_print_compositor_set_header_font_name (+GtkSourcePrintCompositor *compositor
, -const gchar *font_name
);const gchar *font_name
);Sets the font for printing the page header. If -
NULL
is supplied, the default font (i.e. the one being used for the +NULL
is supplied, the default font (i.e. the one being used for the text) will be used instead.
font_name
should be a string representation of a font description Pango can understand. -(e.g. "Monospace 10"). Seepango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1067,13 +1002,13 @@
@@ -1056,8 +991,8 @@ - font_name
- the name of the font for header text, or
NULL
.[allow-none] ++ the name of the font for header text, or
NULL
.[allow-none]
gtk_source_print_compositor_get_header_font_name ()
-gchar * +gchar * gtk_source_print_compositor_get_header_font_name (GtkSourcePrintCompositor *compositor
);Returns the name of the font used to print the page header. -The returned string must be freed with
+The returned string must be freed withg_free()
.g_free()
.-Returns
+Returns
a new string containing the name of the font used to print the page header.
@@ -1101,19 +1036,19 @@void gtk_source_print_compositor_set_footer_font_name (+GtkSourcePrintCompositor *compositor
, -const gchar *font_name
);const gchar *font_name
);Sets the font for printing the page footer. If -
NULL
is supplied, the default font (i.e. the one being used for the +NULL
is supplied, the default font (i.e. the one being used for the text) will be used instead.
font_name
should be a string representation of a font description Pango can understand. -(e.g. "Monospace 10"). Seepango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1139,13 +1074,13 @@
@@ -1128,8 +1063,8 @@ - font_name
- the name of the font for the footer text, or
NULL
.[allow-none] ++ the name of the font for the footer text, or
NULL
.[allow-none]
gtk_source_print_compositor_get_footer_font_name ()
-gchar * +gchar * gtk_source_print_compositor_get_footer_font_name (GtkSourcePrintCompositor *compositor
);Returns the name of the font used to print the page footer. -The returned string must be freed with
+The returned string must be freed withg_free()
.g_free()
.-Returns
+Returns
a new string containing the name of the font used to print the page footer.
@@ -1170,14 +1105,14 @@
gtk_source_print_compositor_get_top_margin ()
-gdouble +gdouble gtk_source_print_compositor_get_top_margin (+GtkSourcePrintCompositor *compositor
, -GtkUnit unit
);GtkUnit unit
);Gets the top margin in units of
@@ -1211,12 +1146,12 @@unit
.void gtk_source_print_compositor_set_top_margin (+GtkSourcePrintCompositor *compositor
, -gdouble margin
, -GtkUnit unit
);gdouble margin
, +GtkUnit unit
);Sets the top margin used by
compositor
.-Parameters
+Parameters
@@ -1249,14 +1184,14 @@
gtk_source_print_compositor_get_bottom_margin ()
-gdouble +gdouble gtk_source_print_compositor_get_bottom_margin (+GtkSourcePrintCompositor *compositor
, -GtkUnit unit
);GtkUnit unit
);Gets the bottom margin in units of
@@ -1290,12 +1225,12 @@unit
.void gtk_source_print_compositor_set_bottom_margin (+GtkSourcePrintCompositor *compositor
, -gdouble margin
, -GtkUnit unit
);gdouble margin
, +GtkUnit unit
);Sets the bottom margin used by
compositor
.-Parameters
+Parameters
@@ -1328,14 +1263,14 @@
gtk_source_print_compositor_get_left_margin ()
-gdouble +gdouble gtk_source_print_compositor_get_left_margin (+GtkSourcePrintCompositor *compositor
, -GtkUnit unit
);GtkUnit unit
);Gets the left margin in units of
@@ -1369,12 +1304,12 @@unit
.void gtk_source_print_compositor_set_left_margin (+GtkSourcePrintCompositor *compositor
, -gdouble margin
, -GtkUnit unit
);gdouble margin
, +GtkUnit unit
);Sets the left margin used by
compositor
.-Parameters
+Parameters
@@ -1407,14 +1342,14 @@
gtk_source_print_compositor_get_right_margin ()
-gdouble +gdouble gtk_source_print_compositor_get_right_margin (+GtkSourcePrintCompositor *compositor
, -GtkUnit unit
);GtkUnit unit
);Gets the right margin in units of
@@ -1448,12 +1383,12 @@unit
.void gtk_source_print_compositor_set_right_margin (+GtkSourcePrintCompositor *compositor
, -gdouble margin
, -GtkUnit unit
);gdouble margin
, +GtkUnit unit
);Sets the right margin used by
compositor
.-Parameters
+Parameters
@@ -1489,7 +1424,7 @@ void gtk_source_print_compositor_set_print_header (+GtkSourcePrintCompositor *compositor
, -gboolean print
);gboolean print
);Sets whether you want to print a header in each page. The header consists of three pieces of text and an optional line separator, configurable with @@ -1499,7 +1434,7 @@
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1514,7 +1449,7 @@ @@ -1525,15 +1460,15 @@ - +
TRUE
if you want the header to be printed.
TRUE
if you want the header to be printed.
gtk_source_print_compositor_get_print_header ()
-gboolean +gboolean gtk_source_print_compositor_get_print_header (GtkSourcePrintCompositor *compositor
);Determines if a header is set to be printed for each page. A -header will be printed if this function returns
TRUE
+header will be printed if this function returnsTRUE
and some format strings have been specified withgtk_source_print_compositor_set_header_format()
.-Returns
-+
TRUE
if the header is set to be printed.Returns
+
TRUE
if the header is set to be printed.Since 2.2
@@ -1560,7 +1495,7 @@void gtk_source_print_compositor_set_print_footer (+GtkSourcePrintCompositor *compositor
, -gboolean print
);gboolean print
);Sets whether you want to print a footer in each page. The footer consists of three pieces of text and an optional line separator, configurable with @@ -1570,7 +1505,7 @@
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1585,7 +1520,7 @@ @@ -1596,15 +1531,15 @@ - +
TRUE
if you want the footer to be printed.
TRUE
if you want the footer to be printed.
gtk_source_print_compositor_get_print_footer ()
-gboolean +gboolean gtk_source_print_compositor_get_print_footer (GtkSourcePrintCompositor *compositor
);Determines if a footer is set to be printed for each page. A -footer will be printed if this function returns
TRUE
+footer will be printed if this function returnsTRUE
and some format strings have been specified withgtk_source_print_compositor_set_footer_format()
.-Returns
-+
TRUE
if the footer is set to be printed.Returns
+
TRUE
if the footer is set to be printed.Since 2.2
@@ -1631,10 +1566,10 @@void gtk_source_print_compositor_set_header_format (+GtkSourcePrintCompositor *compositor
, -gboolean separator
, -const gchar *left
, -const gchar *center
, -const gchar *right
);gboolean separator
, +const gchar *left
, +const gchar *center
, +const gchar *right
);Sets strftime like header format strings, to be printed on the left, center and right of the top of each page. The strings may include strftime(3) codes which will be expanded at print time. @@ -1643,7 +1578,7 @@
-
separator
specifies if a solid line should be drawn to separate the header from the document text.If
NULL
is given for any of the three arguments, that particular +If
NULL
is given for any of the three arguments, that particular string will not be printed.For the header to be printed, in addition to specifying format strings, you need to enable header @@ -1651,7 +1586,7 @@
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1695,10 +1630,10 @@
@@ -1666,23 +1601,23 @@ - separator
+
TRUE
if you want a separator line to be printed.
TRUE
if you want a separator line to be printed.left
- a format string to print on the left of the header.
[allow-none] +[allow-none] center
- a format string to print on the center of the header.
[allow-none] +[allow-none] right
- a format string to print on the right of the header.
[allow-none] +[allow-none] void gtk_source_print_compositor_set_footer_format (+GtkSourcePrintCompositor *compositor
, -gboolean separator
, -const gchar *left
, -const gchar *center
, -const gchar *right
);gboolean separator
, +const gchar *left
, +const gchar *center
, +const gchar *right
);Sets strftime like header format strings, to be printed on the left, center and right of the bottom of each page. The strings may include strftime(3) codes which will be expanded at print time. @@ -1707,7 +1642,7 @@
-
separator
specifies if a solid line should be drawn to separate the footer from the document text.If
NULL
is given for any of the three arguments, that particular +If
NULL
is given for any of the three arguments, that particular string will not be printed.For the footer to be printed, in addition to specifying format strings, you need to enable footer @@ -1715,7 +1650,7 @@
This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate()
function.-Parameters
+Parameters
@@ -1756,13 +1691,13 @@
@@ -1730,23 +1665,23 @@ - separator
+
TRUE
if you want a separator line to be printed.
TRUE
if you want a separator line to be printed.left
- a format string to print on the left of the footer.
[allow-none] +[allow-none] center
- a format string to print on the center of the footer.
[allow-none] +[allow-none] right
- a format string to print on the right of the footer.
[allow-none] +[allow-none]
gtk_source_print_compositor_get_n_pages ()
-gint +gint gtk_source_print_compositor_get_n_pages (GtkSourcePrintCompositor *compositor
);Returns the number of pages in the document or
-1
if the document has not been completely paginated.-Returns
+Returns
the number of pages in the document or
@@ -1787,17 +1722,17 @@-1
if the document has not been completely paginated.
gtk_source_print_compositor_paginate ()
-gboolean +gboolean gtk_source_print_compositor_paginate (+GtkSourcePrintCompositor *compositor
, -GtkPrintContext *context
);GtkPrintContext *context
);Paginate the document associated with the
compositor
.In order to support non-blocking pagination, document is paginated in small chunks. Each time
-gtk_source_print_compositor_paginate()
is invoked, a chunk of the document is paginated. To paginate the entire document,gtk_source_print_compositor_paginate()
must be invoked multiple times. -It returnsTRUE
if the document has been completely paginated, otherwise it returnsFALSE
.This method has been designed to be invoked in the handler of the “paginate” signal, +It returns
+TRUE
if the document has been completely paginated, otherwise it returnsFALSE
.This method has been designed to be invoked in the handler of the “paginate” signal, as shown in the following example:
@@ -1828,7 +1763,7 @@ 23
@@ -1855,7 +1790,7 @@ // Signal handler for the GtkPrintOperation::paginate signal -static gboolean +static gboolean paginate (GtkPrintOperation *operation, GtkPrintContext *context, gpointer user_data) @@ -1842,12 +1777,12 @@ gint n_pages; n_pages = gtk_source_print_compositor_get_n_pages (compositor); - gtk_print_operation_set_n_pages (operation, n_pages); + gtk_print_operation_set_n_pages (operation, n_pages); - return TRUE; + return TRUE; } - return FALSE; + return FALSE; }If you don't need to do pagination in chunks, you can simply do it all in the -“begin-print” handler, and set the number of pages from there, like +“begin-print” handler, and set the number of pages from there, like in the following example:
@@ -1893,7 +1828,7 @@ while (!gtk_source_print_compositor_paginate (compositor, context)); n_pages = gtk_source_print_compositor_get_n_pages (compositor); - gtk_print_operation_set_n_pages (operation, n_pages); + gtk_print_operation_set_n_pages (operation, n_pages); } @@ -1901,7 +1836,7 @@
-Parameters
+Parameters
@@ -1916,7 +1851,7 @@ - context
the GtkPrintContext whose parameters (e.g. paper size, print margins, etc.) +
the GtkPrintContext whose parameters (e.g. paper size, print margins, etc.) are used by the the
compositor
to paginate the document.@@ -1925,8 +1860,8 @@ -Returns
-+
TRUE
if the document has been completely paginated,FALSE
otherwise.Returns
+
TRUE
if the document has been completely paginated,FALSE
otherwise.Since 2.2
@@ -1934,12 +1869,12 @@
gtk_source_print_compositor_get_pagination_progress ()
-gdouble +gdouble gtk_source_print_compositor_get_pagination_progress (GtkSourcePrintCompositor *compositor
);Returns the current fraction of the document pagination that has been completed.
@@ -1965,12 +1900,12 @@gtk_source_print_compositor_draw_page ()
void gtk_source_print_compositor_draw_page (+GtkSourcePrintCompositor *compositor
, -GtkPrintContext *context
, -gint page_nr
);GtkPrintContext *context
, +gint page_nr
);Draw page
-page_nr
for printing on the the Cairo context encapsuled incontext
.This method has been designed to be called in the handler of the “draw_page” signal +
This method has been designed to be called in the handler of the “draw_page” signal as shown in the following example:
@@ -2014,7 +1949,7 @@
-Parameters
+Parameters
@@ -2029,7 +1964,7 @@ @@ -2054,164 +1989,10 @@ - context
the GtkPrintContext encapsulating the context information that is required when +
the GtkPrintContext encapsulating the context information that is required when drawing the page for printing.
Property Details
-The
-“body-font-name”
property“body-font-name” gchar *-Name of the font used for the text body.
-Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
-pango_font_description_from_string()
-for a description of the format of the string representation.The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: NULL
-Since 2.2
-
---The
-“buffer”
property“buffer” GtkSourceBuffer *-The GtkSourceBuffer object to print.
-Flags: Read / Write / Construct Only
-Since 2.2
-
---The
-“footer-font-name”
property“footer-font-name” gchar *-Name of the font used to print page footer. -If this property is unspecified, the text body font is used.
-Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
-pango_font_description_from_string()
-for a description of the format of the string representation.The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: NULL
-Since 2.2
-
---The
-“header-font-name”
property“header-font-name” gchar *-Name of the font used to print page header. -If this property is unspecified, the text body font is used.
-Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
-pango_font_description_from_string()
-for a description of the format of the string representation.The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: NULL
-Since 2.2
-
---The
-“highlight-syntax”
property“highlight-syntax” gboolean-Whether to print the document with highlighted syntax.
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: TRUE
-Since 2.2
-
---The
-“line-numbers-font-name”
property“line-numbers-font-name” gchar *-Name of the font used to print line numbers on the left margin. -If this property is unspecified, the text body font is used.
-Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
-pango_font_description_from_string()
-for a description of the format of the string representation.The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: NULL
-Since 2.2
-
---The
-“n-pages”
property“n-pages” gint-The number of pages in the document or
--1
if the -document has not been completely paginated.Flags: Read
-Allowed values: >= -1
-Default value: -1
-Since 2.2
-
---The
-“print-footer”
property“print-footer” gboolean-Whether to print a footer in each page.
-Note that by default the footer format is unspecified, and if it is -unspecified the footer will not be printed, regardless of the value of -this property.
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: FALSE
-Since 2.2
-
---The
-“print-header”
property“print-header” gboolean-Whether to print a header in each page.
-Note that by default the header format is unspecified, and if it is -unspecified the header will not be printed, regardless of the value of -this property.
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: FALSE
-Since 2.2
-
---The
-“print-line-numbers”
property“print-line-numbers” guint-Interval of printed line numbers. If this property is set to 0 no -numbers will be printed. If greater than 0, a number will be -printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Allowed values: <= 100
-Default value: 1
-Since 2.2
-
---The
-“tab-width”
property“tab-width” guint-Width of a tab character expressed in spaces.
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Allowed values: [1,32]
-Default value: 8
-Since 2.2
-
---The
-“wrap-mode”
property“wrap-mode” GtkWrapMode
-Whether to wrap lines never, at word boundaries, or at character boundaries.
-The value of this property cannot be changed anymore after the first -call to the
-gtk_source_print_compositor_paginate()
function.Flags: Read / Write
-Default value: GTK_WRAP_NONE
-Since 2.2
-
--The
-“body-font-name”
property“body-font-name” gchar *+“body-font-name” gchar *Name of the font used for the text body.
Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
pango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.The value of this property cannot be changed anymore after the first call to the
@@ -2230,11 +2011,11 @@gtk_source_print_compositor_paginate()
function.
The
-“footer-font-name”
property“footer-font-name” gchar *+“footer-font-name” gchar *Name of the font used to print page footer. If this property is unspecified, the text body font is used.
Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
pango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.The value of this property cannot be changed anymore after the first call to the
@@ -2245,11 +2026,11 @@gtk_source_print_compositor_paginate()
function.
The
-“header-font-name”
property“header-font-name” gchar *+“header-font-name” gchar *Name of the font used to print page header. If this property is unspecified, the text body font is used.
Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
pango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.The value of this property cannot be changed anymore after the first call to the
@@ -2260,7 +2041,7 @@gtk_source_print_compositor_paginate()
function.
The
-“highlight-syntax”
property“highlight-syntax” gboolean+“highlight-syntax” gbooleanWhether to print the document with highlighted syntax.
The value of this property cannot be changed anymore after the first call to the
@@ -2271,11 +2052,11 @@gtk_source_print_compositor_paginate()
function.
The
-“line-numbers-font-name”
property“line-numbers-font-name” gchar *+“line-numbers-font-name” gchar *Name of the font used to print line numbers on the left margin. If this property is unspecified, the text body font is used.
Accepted values are strings representing a font description Pango can understand. -(e.g. "Monospace 10"). See
pango_font_description_from_string()
+(e.g. "Monospace 10"). Seepango_font_description_from_string()
for a description of the format of the string representation.The value of this property cannot be changed anymore after the first call to the
@@ -2286,7 +2067,7 @@gtk_source_print_compositor_paginate()
function.
The
-“n-pages”
property“n-pages” gint+“n-pages” gintThe number of pages in the document or
-1
if the document has not been completely paginated.Flags: Read
@@ -2297,7 +2078,7 @@
The
-“print-footer”
property“print-footer” gboolean+“print-footer” gbooleanWhether to print a footer in each page.
Note that by default the footer format is unspecified, and if it is unspecified the footer will not be printed, regardless of the value of @@ -2311,7 +2092,7 @@
The
-“print-header”
property“print-header” gboolean+“print-header” gbooleanWhether to print a header in each page.
Note that by default the header format is unspecified, and if it is unspecified the header will not be printed, regardless of the value of @@ -2325,7 +2106,7 @@
@@ -322,11 +295,11 @@ , and customized withThe
-“print-line-numbers”
property“print-line-numbers” guint+“print-line-numbers” guintInterval of printed line numbers. If this property is set to 0 no numbers will be printed. If greater than 0, a number will be printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).
@@ -2339,7 +2120,7 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceSearchContext.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceSearchContext.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceSearchContext.html 2014-04-14 20:11:04.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceSearchContext.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“tab-width”
property“tab-width” guint+“tab-width” guintWidth of a tab character expressed in spaces.
The value of this property cannot be changed anymore after the first call to the
@@ -2351,7 +2132,7 @@gtk_source_print_compositor_paginate()
function.
+ Generated by GTK-Doc V1.21.1The
-“wrap-mode”
property“wrap-mode” GtkWrapMode
+“wrap-mode” GtkWrapModeWhether to wrap lines never, at word boundaries, or at character boundaries.
The value of this property cannot be changed anymore after the first call to the
@@ -2363,6 +2144,6 @@gtk_source_print_compositor_paginate()
function.GtkSourceView 3 Reference Manual: GtkSourceSearchContext +GtkSourceSearchContext: GtkSourceView 3 Reference Manual - + @@ -75,7 +75,7 @@-gboolean +gboolean gtk_source_search_context_get_highlight () @@ -91,7 +91,7 @@ -gint +gint gtk_source_search_context_get_occurrences_count () @@ -99,7 +99,7 @@ -gint +gint gtk_source_search_context_get_occurrence_position () @@ -107,7 +107,7 @@ -gboolean +gboolean gtk_source_search_context_forward () @@ -123,7 +123,7 @@ -gboolean +gboolean gtk_source_search_context_forward_finish () @@ -131,7 +131,7 @@ -gboolean +gboolean gtk_source_search_context_backward () @@ -147,7 +147,7 @@ -gboolean +gboolean gtk_source_search_context_backward_finish () @@ -155,7 +155,7 @@ -gboolean +gboolean gtk_source_search_context_replace () @@ -163,7 +163,7 @@ -guint +guint gtk_source_search_context_replace_all () @@ -171,7 +171,7 @@ -GError * +GError * gtk_source_search_context_get_regex_error () @@ -196,44 +196,17 @@ Read / Write / Construct Only - gboolean +gboolean highlight Read / Write / Construct - gint +gint occurrences-count Read - -gpointer -regex-error -Read -- --GtkSourceSearchSettings * -settings -Read / Write / Construct -- --GtkSourceBuffer * -buffer -Read / Write / Construct Only -- -gboolean -highlight -Read / Write / Construct -- -gint -occurrences-count -Read -- @@ -261,7 +234,7 @@gpointer +gpointer regex-error Read settings
. Ifsettings
- isNULL
, a new GtkSourceSearchSettings object will + isNULL
, a new GtkSourceSearchSettings object will be created, that you can retrieve withgtk_source_search_context_get_settings()
.-@@ -360,7 +333,7 @@Parameters
+Parameters
@@ -341,14 +314,14 @@ - settings
- a GtkSourceSearchSettings, or
NULL
.[allow-none] ++ a GtkSourceSearchSettings, or
NULL
.[allow-none] GtkSourceBuffer * gtk_source_search_context_get_buffer (@@ -388,7 +361,7 @@ gtk_source_search_context_get_settings (GtkSourceSearchContext *search
);GtkSourceSearchContext *search
); @@ -418,11 +391,11 @@GtkSourceSearchSettings *settings
);Associate a GtkSourceSearchSettings with the search context. If
+settings
is -NULL
, a new one will be created.NULL
, a new one will be created.The search context holds a reference to
settings
.-Parameters
+Parameters
@@ -448,11 +421,11 @@
@@ -437,8 +410,8 @@ - settings
- the new GtkSourceSearchSettings, or
NULL
.[allow-none] ++ the new GtkSourceSearchSettings, or
NULL
.[allow-none]
gtk_source_search_context_get_highlight ()
-gboolean +gboolean gtk_source_search_context_get_highlight (@@ -479,10 +452,10 @@GtkSourceSearchContext *search
);void gtk_source_search_context_set_highlight (+GtkSourceSearchContext *search
, -gboolean highlight
);gboolean highlight
);Enables or disables the search occurrences highlighting.
-Parameters
+Parameters
@@ -508,14 +481,14 @@
gtk_source_search_context_get_occurrences_count ()
-gint +gint gtk_source_search_context_get_occurrences_count (GtkSourceSearchContext *search
);Gets the total number of search occurrences. If the buffer is not already fully scanned, the total number of occurrences is unknown, and -1 is returned.
@@ -539,11 +512,11 @@
gtk_source_search_context_get_occurrence_position ()
-gint +gint gtk_source_search_context_get_occurrence_position (+GtkSourceSearchContext *search
, -const GtkTextIter *match_start
, -const GtkTextIter *match_end
);const GtkTextIter *match_start
, +const GtkTextIter *match_end
);Gets the position of a search occurrence. If the buffer is not already fully scanned, the position may be unknown, and -1 is returned. If 0 is returned, it means that this part of the buffer has already been scanned, and that @@ -551,7 +524,7 @@ and
match_end
don't delimit an occurrence.-Returns
+Returns
the position of the search occurrence. The first occurrence has the position 1 (not 0). Returns 0 if
match_start
andmatch_end
@@ -591,17 +564,17 @@
gtk_source_search_context_forward ()
-gboolean +gboolean gtk_source_search_context_forward (+GtkSourceSearchContext *search
, -const GtkTextIter *iter
, -GtkTextIter *match_start
, -GtkTextIter *match_end
);const GtkTextIter *iter
, +GtkTextIter *match_start
, +GtkTextIter *match_end
);Synchronous forward search. It is recommended to use the asynchronous functions instead, to not block the user interface. However, if you are sure that the
buffer
is small, this function is more convenient to use.-@@ -645,20 +618,20 @@Parameters
+Parameters
@@ -621,19 +594,19 @@ - match_start
- return location for start of match, or
NULL
.[out][allow-none] ++ return location for start of match, or
NULL
.[out][allow-none] - match_end
- return location for end of match, or
NULL
.[out][allow-none] ++ return location for end of match, or
NULL
.[out][allow-none] void gtk_source_search_context_forward_async (-GtkSourceSearchContext *search
, -const GtkTextIter *iter
, -GCancellable *cancellable
, -GAsyncReadyCallback callback
, -gpointer user_data
);Asynchronous forward search. See the GAsyncResult documentation to know +
const GtkTextIter *iter
, +GCancellable *cancellable
, +GAsyncReadyCallback callback
, +gpointer user_data
); +Asynchronous forward search. See the GAsyncResult documentation to know how to use this function.
If the operation is cancelled, the
callback
will only be called ifcancellable
- was notNULL
.gtk_source_search_context_forward_async()
takes + was notNULL
.gtk_source_search_context_forward_async()
takes ownership ofcancellable
, so you can unref it after calling this function.-Parameters
+Parameters
@@ -678,12 +651,12 @@ - cancellable
- a GCancellable, or
NULL
.[allow-none] ++ a GCancellable, or
NULL
.[allow-none] - callback
+ a GAsyncReadyCallback to call when the operation is finished.
a GAsyncReadyCallback to call when the operation is finished.
@@ -700,17 +673,17 @@
gtk_source_search_context_forward_finish ()
-gboolean +gboolean gtk_source_search_context_forward_finish (+GtkSourceSearchContext *search
, -GAsyncResult *result
, -GtkTextIter *match_start
, -GtkTextIter *match_end
, -GError **error
);GAsyncResult *result
, +GtkTextIter *match_start
, +GtkTextIter *match_end
, +GError **error
);Finishes a forward search started with
gtk_source_search_context_forward_async()
.-@@ -756,17 +729,17 @@Parameters
+Parameters
@@ -725,29 +698,29 @@ - result
+ a GAsyncResult.
a GAsyncResult.
- match_start
- return location for start of match, or
NULL
.[out][allow-none] ++ return location for start of match, or
NULL
.[out][allow-none] - match_end
- return location for end of match, or
NULL
.[out][allow-none] ++ return location for end of match, or
NULL
.[out][allow-none] - error
+
gtk_source_search_context_backward ()
-gboolean +gboolean gtk_source_search_context_backward (+GtkSourceSearchContext *search
, -const GtkTextIter *iter
, -GtkTextIter *match_start
, -GtkTextIter *match_end
);const GtkTextIter *iter
, +GtkTextIter *match_start
, +GtkTextIter *match_end
);Synchronous backward search. It is recommended to use the asynchronous functions instead, to not block the user interface. However, if you are sure that the
buffer
is small, this function is more convenient to use.-@@ -810,20 +783,20 @@Parameters
+Parameters
@@ -786,19 +759,19 @@ - match_start
- return location for start of match, or
NULL
.[out][allow-none] ++ return location for start of match, or
NULL
.[out][allow-none] - match_end
- return location for end of match, or
NULL
.[out][allow-none] ++ return location for end of match, or
NULL
.[out][allow-none] void gtk_source_search_context_backward_async (-GtkSourceSearchContext *search
, -const GtkTextIter *iter
, -GCancellable *cancellable
, -GAsyncReadyCallback callback
, -gpointer user_data
);Asynchronous backward search. See the GAsyncResult documentation to know +
const GtkTextIter *iter
, +GCancellable *cancellable
, +GAsyncReadyCallback callback
, +gpointer user_data
); +Asynchronous backward search. See the GAsyncResult documentation to know how to use this function.
If the operation is cancelled, the
callback
will only be called ifcancellable
- was notNULL
.gtk_source_search_context_backward_async()
takes + was notNULL
.gtk_source_search_context_backward_async()
takes ownership ofcancellable
, so you can unref it after calling this function.-Parameters
+Parameters
@@ -843,12 +816,12 @@ - cancellable
- a GCancellable, or
NULL
.[allow-none] ++ a GCancellable, or
NULL
.[allow-none] - callback
+ a GAsyncReadyCallback to call when the operation is finished.
a GAsyncReadyCallback to call when the operation is finished.
@@ -865,17 +838,17 @@
gtk_source_search_context_backward_finish ()
-gboolean +gboolean gtk_source_search_context_backward_finish (+GtkSourceSearchContext *search
, -GAsyncResult *result
, -GtkTextIter *match_start
, -GtkTextIter *match_end
, -GError **error
);GAsyncResult *result
, +GtkTextIter *match_start
, +GtkTextIter *match_end
, +GError **error
);Finishes a backward search started with
gtk_source_search_context_backward_async()
.-@@ -921,24 +894,24 @@Parameters
+Parameters
@@ -890,29 +863,29 @@ - result
+ a GAsyncResult.
a GAsyncResult.
- match_start
- return location for start of match, or
NULL
.[out][allow-none] ++ return location for start of match, or
NULL
.[out][allow-none] - match_end
- return location for end of match, or
NULL
.[out][allow-none] ++ return location for end of match, or
NULL
.[out][allow-none] - error
+
gtk_source_search_context_replace ()
-gboolean +gboolean gtk_source_search_context_replace (+GtkSourceSearchContext *search
, -const GtkTextIter *match_start
, -const GtkTextIter *match_end
, -const gchar *replace
, -gint replace_length
, -GError **error
);const GtkTextIter *match_start
, +const GtkTextIter *match_end
, +const gchar *replace
, +gint replace_length
, +GError **error
);Replaces a search match by another text. If
+doesn't correspond to a search match,match_start
andmatch_end
-doesn't correspond to a search match,FALSE
is returned.FALSE
is returned.For a regular expression replacement, you can check if
+backreferences; read thereplace
is valid by -callingg_regex_check_replacement()
. Thereplace
+callingg_regex_check_replacement()
. Thereplace
text can contain -backreferences; read theg_regex_replace()
documentation for more details.g_regex_replace()
documentation for more details. @@ -990,20 +963,20 @@
gtk_source_search_context_replace_all ()
-guint +guint gtk_source_search_context_replace_all (+GtkSourceSearchContext *search
, -const gchar *replace
, -gint replace_length
, -GError **error
);const gchar *replace
, +gint replace_length
, +GError **error
);Replaces all search matches by another text. It is a synchronous function, so it can block the user interface.
For a regular expression replacement, you can check if
+backreferences; read thereplace
is valid by -callingg_regex_check_replacement()
. Thereplace
+callingg_regex_check_replacement()
. Thereplace
text can contain -backreferences; read theg_regex_replace()
documentation for more details.g_regex_replace()
documentation for more details. @@ -1045,15 +1018,15 @@
@@ -1094,54 +1067,7 @@gtk_source_search_context_get_regex_error ()
-GError * +GError * gtk_source_search_context_get_regex_error (GtkSourceSearchContext *search
);Regular expression patterns must follow certain rules. If “search-text” breaks a rule, the error can be retrieved -with this function. The error domain is G_REGEX_ERROR.
-Free the return value with
+with this function. The error domain is G_REGEX_ERROR. +g_error_free()
.Free the return value with
g_error_free()
.-Returns
-the GError, or
- +NULL
if the pattern is valid.Returns
+the GError, or
+NULL
if the pattern is valid.[nullable]
Since 3.10
-The
-“highlight”
property“highlight” gboolean-Highlight the search occurrences.
-Flags: Read / Write / Construct
-Default value: TRUE
-Since 3.10
-
---The
-“occurrences-count”
property“occurrences-count” gint-The total number of search occurrences. If the search is disabled, -the value is 0. If the buffer is not already fully scanned, the value -is -1.
-Flags: Read
-Allowed values: >= -1
-Default value: 0
-Since 3.10
-
---The
-“regex-error”
property“regex-error” gpointer-If the regex search pattern doesn't follow all the rules, this -property will be set. If the pattern is valid, the value is
-NULL
.Free with
-g_error_free()
.Flags: Read
-Since 3.10
-
---The
-“settings”
property“settings” GtkSourceSearchSettings *-The GtkSourceSearchSettings associated to the search context.
-Flags: Read / Write / Construct
-Since 3.10
-
---The
-“buffer”
property“buffer” GtkSourceBuffer *-The GtkSourceBuffer associated to the search context.
-Flags: Read / Write / Construct Only
-Since 3.10
-
--\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceSearchSettings.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceSearchSettings.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceSearchSettings.html 2014-04-14 20:11:05.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceSearchSettings.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“highlight”
property“highlight” gboolean+“highlight” gbooleanHighlight the search occurrences.
Flags: Read / Write / Construct
Default value: TRUE
@@ -1150,7 +1076,7 @@
+ Generated by GTK-Doc V1.21.1The
-“occurrences-count”
property“occurrences-count” gint+“occurrences-count” gintThe total number of search occurrences. If the search is disabled, the value is 0. If the buffer is not already fully scanned, the value is -1.
@@ -1162,10 +1088,10 @@
@@ -1185,6 +1111,6 @@The
-“regex-error”
property“regex-error” gpointer+“regex-error” gpointerIf the regex search pattern doesn't follow all the rules, this -property will be set. If the pattern is valid, the value is
-NULL
.Free with
+property will be set. If the pattern is valid, the value isg_error_free()
.NULL
. +Free with
g_error_free()
.Flags: Read
Since 3.10
GtkSourceView 3 Reference Manual: GtkSourceSearchSettings +GtkSourceSearchSettings: GtkSourceView 3 Reference Manual - + @@ -50,7 +50,7 @@- const gchar * + const gchar * gtk_source_search_settings_get_search_text () @@ -66,7 +66,7 @@ -gboolean +gboolean gtk_source_search_settings_get_case_sensitive () @@ -82,7 +82,7 @@ -gboolean +gboolean gtk_source_search_settings_get_at_word_boundaries () @@ -98,7 +98,7 @@ -gboolean +gboolean gtk_source_search_settings_get_wrap_around () @@ -114,7 +114,7 @@ -gboolean +gboolean gtk_source_search_settings_get_regex_enabled () @@ -141,54 +141,28 @@ - gboolean +gboolean at-word-boundaries Read / Write / Construct - gboolean +gboolean case-sensitive Read / Write / Construct - gboolean +gboolean regex-enabled Read / Write / Construct -gchar * +gchar *search-text Read / Write / Construct - -gboolean -wrap-around -Read / Write / Construct -- -gboolean -at-word-boundaries -Read / Write / Construct -- -gboolean -case-sensitive -Read / Write / Construct -- -gboolean -regex-enabled -Read / Write / Construct -- --gchar * -search-text -Read / Write / Construct -- @@ -210,7 +184,7 @@ @@ -233,7 +207,7 @@ gtk_source_search_settings_new (gboolean +gboolean wrap-around Read / Write / Construct void
);Creates a new search settings object.
@@ -242,14 +216,14 @@
@@ -276,9 +250,9 @@gtk_source_search_settings_get_search_text ()
-const gchar * +const gchar * gtk_source_search_settings_get_search_text (GtkSourceSearchSettings *settings
);Gets the text to search. The return value must not be freed.
You may be interested to call
gtk_source_utils_escape_search_text()
after this function.-Returns
-the text to search, or
- +NULL
if the search is disabled.Returns
+the text to search, or
+NULL
if the search is disabled.[nullable]
Since 3.10
void gtk_source_search_settings_set_search_text (+GtkSourceSearchSettings *settings
, -const gchar *search_text
);const gchar *search_text
);Sets the text to search. If
text
- isNULL
or is empty, the search will be + isNULL
or is empty, the search will be disabled. A copy oftext
will be made, so you can safely freetext
after @@ -286,7 +260,7 @@You may be interested to call
gtk_source_utils_unescape_search_text()
before this function.-Parameters
+Parameters
@@ -312,11 +286,11 @@
@@ -301,8 +275,8 @@ - search_text
- the nul-terminated text to search, or
NULL
to disable the search.[allow-none] ++ the nul-terminated text to search, or
NULL
to disable the search.[allow-none]
gtk_source_search_settings_get_case_sensitive ()
-gboolean +gboolean gtk_source_search_settings_get_case_sensitive (@@ -343,10 +317,10 @@GtkSourceSearchSettings *settings
);void gtk_source_search_settings_set_case_sensitive (+GtkSourceSearchSettings *settings
, -gboolean case_sensitive
);gboolean case_sensitive
);Enables or disables the case sensitivity for the search.
-Parameters
+Parameters
@@ -372,11 +346,11 @@
gtk_source_search_settings_get_at_word_boundaries ()
-gboolean +gboolean gtk_source_search_settings_get_at_word_boundaries (@@ -403,14 +377,14 @@GtkSourceSearchSettings *settings
);void gtk_source_search_settings_set_at_word_boundaries (+GtkSourceSearchSettings *settings
, -gboolean at_word_boundaries
);gboolean at_word_boundaries
);Change whether the search is done at word boundaries. If
+isat_word_boundaries
-isTRUE
, a search match must start and end a word. The match can span -multiple words. See alsogtk_text_iter_starts_word()
and -gtk_text_iter_ends_word()
.TRUE
, a search match must start and end a word. The match can span +multiple words. See alsogtk_text_iter_starts_word()
and +gtk_text_iter_ends_word()
.-Parameters
+Parameters
@@ -436,11 +410,11 @@
gtk_source_search_settings_get_wrap_around ()
-gboolean +gboolean gtk_source_search_settings_get_wrap_around (@@ -467,14 +441,14 @@GtkSourceSearchSettings *settings
);void gtk_source_search_settings_set_wrap_around (+GtkSourceSearchSettings *settings
, -gboolean wrap_around
);gboolean wrap_around
);Enables or disables the wrap around search. If
wrap_around
- isTRUE
, the + isTRUE
, the forward search continues at the beginning of the buffer if no search occurrences are found. Similarly, the backward search continues to search at the end of the buffer.-Parameters
+Parameters
@@ -500,11 +474,11 @@
gtk_source_search_settings_get_regex_enabled ()
-gboolean +gboolean gtk_source_search_settings_get_regex_enabled (@@ -531,12 +505,12 @@GtkSourceSearchSettings *settings
);void gtk_source_search_settings_set_regex_enabled (+GtkSourceSearchSettings *settings
, -gboolean regex_enabled
);gboolean regex_enabled
);Enables or disables whether to search by regular expressions. If enabled, the “search-text” property contains the pattern of the regular expression.
-Parameters
+Parameters
@@ -571,59 +545,8 @@ Property Details
-The
-“at-word-boundaries”
property“at-word-boundaries” gboolean-If
-TRUE
, a search match must start and end a word. The match can -span multiple words.Flags: Read / Write / Construct
-Default value: FALSE
-Since 3.10
-
---The
-“case-sensitive”
property“case-sensitive” gboolean-Whether the search is case sensitive.
-Flags: Read / Write / Construct
-Default value: FALSE
-Since 3.10
-
---The
-“regex-enabled”
property“regex-enabled” gboolean-Search by regular expressions with -“search-text” as the pattern.
-Flags: Read / Write / Construct
-Default value: FALSE
-Since 3.10
-
---The
-“search-text”
property“search-text” gchar *-A search string, or
-NULL
if the search is disabled. If the regular -expression search is enabled, “search-text” is -the pattern.Flags: Read / Write / Construct
-Default value: NULL
-Since 3.10
-
---The
-“wrap-around”
property“wrap-around” gboolean-For a forward search, continue at the beginning of the buffer if no -search occurrence is found. For a backward search, continue at the -end of the buffer.
-Flags: Read / Write / Construct
-Default value: FALSE
-Since 3.10
-
--The
-“at-word-boundaries”
property“at-word-boundaries” gboolean-If
TRUE
, a search match must start and end a word. The match can +“at-word-boundaries” gboolean+If
TRUE
, a search match must start and end a word. The match can span multiple words.Flags: Read / Write / Construct
Default value: FALSE
@@ -632,7 +555,7 @@
The
-“case-sensitive”
property“case-sensitive” gboolean+“case-sensitive” gbooleanWhether the search is case sensitive.
Flags: Read / Write / Construct
Default value: FALSE
@@ -641,7 +564,7 @@
The
-“regex-enabled”
property“regex-enabled” gboolean+“regex-enabled” gbooleanSearch by regular expressions with “search-text” as the pattern.
Flags: Read / Write / Construct
@@ -651,8 +574,8 @@
\ No newline at end of file diff -Nru gtksourceview3-3.12.1/docs/reference/html/GtkSourceStyle.html gtksourceview3-3.14.4/docs/reference/html/GtkSourceStyle.html --- gtksourceview3-3.12.1/docs/reference/html/GtkSourceStyle.html 2014-04-14 20:11:04.000000000 +0000 +++ gtksourceview3-3.14.4/docs/reference/html/GtkSourceStyle.html 2015-04-04 12:43:22.000000000 +0000 @@ -2,13 +2,13 @@ -The
-“search-text”
property“search-text” gchar *-A search string, or
NULL
if the search is disabled. If the regular +“search-text” gchar *+A search string, or
NULL
if the search is disabled. If the regular expression search is enabled, “search-text” is the pattern.Flags: Read / Write / Construct
@@ -662,7 +585,7 @@
+ Generated by GTK-Doc V1.21.1GtkSourceView 3 Reference Manual: GtkSourceStyle +GtkSourceStyle: GtkSourceView 3 Reference Manual - + @@ -61,169 +61,85 @@-gchar * +gchar *background Read / Write / Construct Only - gboolean +gboolean background-set Read / Write / Construct Only - gboolean +gboolean bold Read / Write / Construct Only - gboolean +gboolean bold-set Read / Write / Construct Only -gchar * +gchar *foreground Read / Write / Construct Only - gboolean +gboolean foreground-set Read / Write / Construct Only - gboolean +gboolean italic Read / Write / Construct Only - gboolean +gboolean italic-set Read / Write / Construct Only -gchar * +gchar *line-background Read / Write / Construct Only - gboolean +gboolean line-background-set Read / Write / Construct Only -gchar * +gchar *scale Read / Write / Construct Only - gboolean +gboolean scale-set Read / Write / Construct Only - gboolean +gboolean strikethrough Read / Write / Construct Only - gboolean +gboolean strikethrough-set Read / Write / Construct Only - gboolean +gboolean underline Read / Write / Construct Only - -gboolean -underline-set -Read / Write / Construct Only -- --gchar * -background -Read / Write / Construct Only -- -gboolean -background-set -Read / Write / Construct Only -- -gboolean -bold -Read / Write / Construct Only -- -gboolean -bold-set -Read / Write / Construct Only -- --gchar * -foreground -Read / Write / Construct Only -- -gboolean -foreground-set -Read / Write / Construct Only -- -gboolean -italic -Read / Write / Construct Only -- -gboolean -italic-set -Read / Write / Construct Only -- --gchar * -line-background -Read / Write / Construct Only -- -gboolean -line-background-set -Read / Write / Construct Only -- --gchar * -scale -Read / Write / Construct Only -- -gboolean -scale-set -Read / Write / Construct Only -- -gboolean -strikethrough -Read / Write / Construct Only -- -gboolean -strikethrough-set -Read / Write / Construct Only -- -gboolean -underline -Read / Write / Construct Only -- @@ -245,7 +161,7 @@ @@ -269,7 +185,7 @@ , that is a new GtkSourceStyle instance which has the same attributes set.gboolean +gboolean underline-set Read / Write / Construct Only -@@ -304,135 +220,7 @@Returns
+Returns
copy of
style
-, callg_object_unref()
+, callg_object_unref()
when you are done with it.[transfer full]
Property Details
-The
-“background”
property“background” gchar *-Background color.
-Flags: Read / Write / Construct Only
-Default value: NULL
-
---The
-“background-set”
property“background-set” gboolean-Whether background color is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“bold”
property“bold” gboolean-Bold.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“bold-set”
property“bold-set” gboolean-Whether bold attribute is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“foreground”
property“foreground” gchar *-Foreground color.
-Flags: Read / Write / Construct Only
-Default value: NULL
-
---The
-“foreground-set”
property“foreground-set” gboolean-Whether foreground color is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“italic”
property“italic” gboolean-Italic.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“italic-set”
property“italic-set” gboolean-Whether italic attribute is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“line-background”
property“line-background” gchar *-Line background color.
-Flags: Read / Write / Construct Only
-Default value: NULL
-
---The
-“line-background-set”
property“line-background-set” gboolean-Whether line background color is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“scale”
property“scale” gchar *-Text scale factor.
-Flags: Read / Write / Construct Only
-Default value: NULL
-
---The
-“scale-set”
property“scale-set” gboolean-Whether scale attribute is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“strikethrough”
property“strikethrough” gboolean-Strikethrough.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“strikethrough-set”
property“strikethrough-set” gboolean-Whether strikethrough attribute is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“underline”
property“underline” gboolean-Underline.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
---The
-“underline-set”
property“underline-set” gboolean-Whether underline attribute is set.
-Flags: Read / Write / Construct Only
-Default value: FALSE
-
-