gtksourceview-2.0 Reference Manual

Synopsis

public class SourceBuffer : TextBuffer  {
    public    weak bool                 can_redo                  { get; } ;
    public    weak bool                 can_undo                  { get; } ;
    public    weak bool                 highlight_matching_brackets { get; set; } ;
    public    weak bool                 highlight_syntax          { get; set; } ;
    public    weak SourceLanguage       language                  { get; set; } ;
    public    weak int                  max_undo_levels           { get; set; } ;
    public    weak SourceStyleScheme    style_scheme              { get; set; } ;


    public                              SourceBuffer              ( TextTagTable        table ) ;
    public                              SourceBuffer.with_language ( SourceLanguage      language ) ;


    public    signal void               source_mark_updated       ( TextMark            p0 )  ;


    public    bool                      backward_iter_to_source_mark ( TextIter            iter,
                                                                    string              category ) ;
    public    void                      begin_not_undoable_action (  ) ;
    public    weak SourceMark           create_source_mark        ( string              name,
                                                                    string              category,
                                                                    TextIter            where ) ;
    public    void                      end_not_undoable_action   (  ) ;
    public    void                      ensure_highlight          ( TextIter            start,
                                                                    TextIter            end ) ;
    public    bool                      forward_iter_to_source_mark ( TextIter            iter,
                                                                    string              category ) ;
    public    bool                      get_highlight_matching_brackets (  ) ;
    public    bool                      get_highlight_syntax      (  ) ;
    public    weak SourceLanguage       get_language              (  ) ;
    public    int                       get_max_undo_levels       (  ) ;
    public    weak GLib.SList           get_source_marks_at_iter  ( TextIter            iter,
                                                                    string              category ) ;
    public    weak GLib.SList           get_source_marks_at_line  ( int                 line,
                                                                    string              category ) ;
    public    weak SourceStyleScheme    get_style_scheme          (  ) ;
    public    void                      redo                      (  ) ;
    public    void                      remove_source_marks       ( TextIter            start,
                                                                    TextIter            end,
                                                                    string              category ) ;
    public    void                      set_highlight_matching_brackets ( bool                highlight ) ;
    public    void                      set_highlight_syntax      ( bool                highlight ) ;
    public    void                      set_language              ( SourceLanguage      language ) ;
    public    void                      set_max_undo_levels       ( int                 max_undo_levels ) ;
    public    void                      set_style_scheme          ( SourceStyleScheme   scheme ) ;
    public    void                      undo                      (  ) ;
}

SourceBuffer Description

Details

Constructor Details

SourceBuffer ()
    public                              SourceBuffer              ( TextTagTable        table ) ;		

SourceBuffer.with_language ()
    public                              SourceBuffer.with_language ( SourceLanguage      language ) ;		

Field Details

Signal Details

source_mark_updated
    public    signal void               source_mark_updated       ( TextMark            p0 )  ;		

Property Details

can_redo
    public    weak bool                 can_redo                  { get; } ;		

can_undo
    public    weak bool                 can_undo                  { get; } ;		

highlight_matching_brackets
    public    weak bool                 highlight_matching_brackets { get; set; } ;		

highlight_syntax
    public    weak bool                 highlight_syntax          { get; set; } ;		

language
    public    weak SourceLanguage       language                  { get; set; } ;		

max_undo_levels
    public    weak int                  max_undo_levels           { get; set; } ;		

style_scheme
    public    weak SourceStyleScheme    style_scheme              { get; set; } ;		

Method Details

backward_iter_to_source_mark ()
    public    bool                      backward_iter_to_source_mark ( TextIter            iter,
                                                                    string              category ) ;		

begin_not_undoable_action ()
    public    void                      begin_not_undoable_action (  ) ;		

create_source_mark ()
    public    weak SourceMark           create_source_mark        ( string              name,
                                                                    string              category,
                                                                    TextIter            where ) ;		

end_not_undoable_action ()
    public    void                      end_not_undoable_action   (  ) ;		

ensure_highlight ()
    public    void                      ensure_highlight          ( TextIter            start,
                                                                    TextIter            end ) ;		

forward_iter_to_source_mark ()
    public    bool                      forward_iter_to_source_mark ( TextIter            iter,
                                                                    string              category ) ;		

get_highlight_matching_brackets ()
    public    bool                      get_highlight_matching_brackets (  ) ;		

get_highlight_syntax ()
    public    bool                      get_highlight_syntax      (  ) ;		

get_language ()
    public    weak SourceLanguage       get_language              (  ) ;		

get_max_undo_levels ()
    public    int                       get_max_undo_levels       (  ) ;		

get_source_marks_at_iter ()
    public    weak GLib.SList           get_source_marks_at_iter  ( TextIter            iter,
                                                                    string              category ) ;		

get_source_marks_at_line ()
    public    weak GLib.SList           get_source_marks_at_line  ( int                 line,
                                                                    string              category ) ;		

get_style_scheme ()
    public    weak SourceStyleScheme    get_style_scheme          (  ) ;		

redo ()
    public    void                      redo                      (  ) ;		

remove_source_marks ()
    public    void                      remove_source_marks       ( TextIter            start,
                                                                    TextIter            end,
                                                                    string              category ) ;		

set_highlight_matching_brackets ()
    public    void                      set_highlight_matching_brackets ( bool                highlight ) ;		

set_highlight_syntax ()
    public    void                      set_highlight_syntax      ( bool                highlight ) ;		

set_language ()
    public    void                      set_language              ( SourceLanguage      language ) ;		

set_max_undo_levels ()
    public    void                      set_max_undo_levels       ( int                 max_undo_levels ) ;		

set_style_scheme ()
    public    void                      set_style_scheme          ( SourceStyleScheme   scheme ) ;		

undo ()
    public    void                      undo                      (  ) ;		


Created by Valadoc