Class: Gtk::SourceView
- Inherits:
-
Object
- Object
- Gtk::SourceView
- Defined in:
- lib/merrol/gtk/source_view.rb
Instance Attribute Summary collapse
-
#highlight_brackets ⇒ Object
readonly
Returns the value of attribute highlight_brackets.
-
#theme ⇒ Object
Returns the value of attribute theme.
Instance Method Summary collapse
Instance Attribute Details
#highlight_brackets ⇒ Object (readonly)
Returns the value of attribute highlight_brackets.
3 4 5 |
# File 'lib/merrol/gtk/source_view.rb', line 3 def highlight_brackets @highlight_brackets end |
#theme ⇒ Object
Returns the value of attribute theme.
3 4 5 |
# File 'lib/merrol/gtk/source_view.rb', line 3 def theme @theme end |
Instance Method Details
#highlight_matching_brackets=(on) ⇒ Object
13 14 15 |
# File 'lib/merrol/gtk/source_view.rb', line 13 def highlight_matching_brackets= on @highlight_brackets = on end |
#scroll_to_cursor ⇒ Object
17 18 19 |
# File 'lib/merrol/gtk/source_view.rb', line 17 def scroll_to_cursor scroll_mark_onscreen buffer.selection_bound end |