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

Instance Method Details

#highlight(from, to) ⇒ Object

pale_yellow = Wx::Colour.new(255, 255, 192) HIGHLIGHTED_STYLE = Wx::TextAttr.new( Wx::BLACK, pale_yellow )



104
105
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 104

def highlight(from, to) 
end

#unhighlightObject



106
107
# File 'lib/weft/wxgui/controls/textcontrols.rb', line 106

def unhighlight()
end