GtkSourceView
[email protected] (Jace Ferguson) Mon, 25 Jun 2007 13:48:47 -0500
| Newsgroups | php.gtk.doc |
|---|---|
| Message-ID | <[email protected]> |
GtkSouceView doc update. Jace
gtksourceview.txt
(text/plain, 5 KB)
287c287 < <parameter>enable</parameter> is defaulted to <literal>false</literal>. --- > This method is <literal>false</literal> by default. 300c300 < <paramdef><parameter>show</parameter></paramdef> --- > <paramdef>bool <parameter>show</parameter></paramdef> 304c304 < --- > If <literal>true</literal> the current line will be highlighted. 306a307,317 > <para> > If <parameter>show</parameter> is <literal>true</literal> > the source view will highlight the line that is being edited. > </para> > <para> > This method is <literal>false</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_highlight_current_line</function> > </para> 314c325 < <paramdef><parameter>enable</parameter></paramdef> --- > <paramdef>bool <parameter>enable</parameter></paramdef> 318c329 < --- > If <literal>true</literal> tabs will be converted into spaces. 320a332,342 > <para> > If <parameter>enable</parameter> is <literal>true</literal> > all tabs will be converted into spaces. > </para> > <para> > This method is <literal>false</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_insert_spaces_instead_of_tabs</function> > </para> 328c350 < <paramdef><parameter>margin</parameter></paramdef> --- > <paramdef>int <parameter>margin</parameter></paramdef> 332c354 < --- > Set the width of the right side margin. 334a357,369 > <para> > This method sets the width of the source view margin to the size > given by <parameter>margin</parameter>. > </para> > <para> > The default margin width is 80. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_margin</function>, > <function class="GtkSourceView">get_show_margin</function>, > <function class="GtkSourceView">set_show_margin</function> > </para> 347c382 < --- > This method is currently not implemented. 357c392 < <paramdef><parameter>show</parameter></paramdef> --- > <paramdef>bool <parameter>show</parameter></paramdef> 361c396 < --- > If <literal>true</literal> the view displays line markers. 363a399,409 > <para> > If <parameter>show</parameter> is <literal>true</literal> > line markers will be displayed in the source view. > </para> > <para> > This method is <literal>false</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_show_line_markers</function> > </para> 371c417 < <paramdef><parameter>show</parameter></paramdef> --- > <paramdef>bool <parameter>show</parameter></paramdef> 375c421 < --- > If <literal>true</literal> the view displays line numbers. 377a424,435 > <para> > If <parameter>show</parameter> is <literal>true</literal> > line numbers will be displayed in the source view to > the left of each line. > </para> > <para> > This method is <literal>false</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_show_line_numbers</function> > </para> 385c443 < <paramdef><parameter>show</parameter></paramdef> --- > <paramdef>bool <parameter>show</parameter></paramdef> 389c447 < --- > If <literal>true</literal> the margin is shown. 391a450,462 > <para> > If <parameter>show</parameter> is <literal>true</literal> > the margin is show in the source view. > </para> > <para> > This method is <literal>false</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_show_margin</function>, > <function class="GtkSourceView">get_margin</function>, > <function class="GtkSourceView">set_margin</function> > </para> 399c470 < <paramdef><parameter>enable</parameter></paramdef> --- > <paramdef>bool <parameter>enable</parameter></paramdef> 403c474 < --- > If <literal>true</literal> smart Home and End is enabled. 405a477,492 > <para> > If <parameter>enable</parameter> is <literal>true</literal> > smart Home and End are enabled. When enabled, when the user > hits the Home or End key, the cursor will be positioned > at the first/last non-space character of the line. If > <parameter>enable</parameter> is <literal>false</literal> > the Home and End key will take the cursor to the first/last > character in the line. > </para> > <para> > This method is <literal>true</literal> by default. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_smart_home_end</function> > </para> 413c500 < <paramdef><parameter>width</parameter></paramdef> --- > <paramdef>int <parameter>width</parameter></paramdef> 417c504 < --- > Sets the width of the tabs. 419a507,516 > <para> > Sets the width of the tabs to <parameter>width</parameter>. > </para> > <para> > The default tabs width is 8. > </para> > <para> > &seealso; > <function class="GtkSourceView">get_tabs_width</function> > </para>