Module: QDA::GUI::HighlightingTextCtrl::NullHighlighter
- Included in:
- QDA::GUI::HighlightingTextCtrl
- Defined in:
- lib/weft/wxgui/controls/textcontrols.rb
Overview
TODO - using set_style on GTK (1.2) seems to trigger a serious bug where the text is moved out of correct position, and multiple successive calls trigger a segfault. This module provides stub functionality to hide this problem on Linux
Instance Method Summary collapse
-
#highlight(from, to) ⇒ Object
pale_yellow = Wx::Colour.new(255, 255, 192) HIGHLIGHTED_STYLE = Wx::TextAttr.new( Wx::BLACK, pale_yellow ).
- #unhighlight ⇒ Object
Instance Method Details
#highlight(from, to) ⇒ Object
pale_yellow = Wx::Colour.new(255, 255, 192) HIGHLIGHTED_STYLE = Wx::TextAttr.new( Wx::BLACK, pale_yellow )
112 113 |
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 112 def highlight(from, to) end |
#unhighlight ⇒ Object
114 115 |
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 114 def unhighlight() end |