Class: HighlightScanner
- Inherits:
-
Object
show all
- Defined in:
- ext/ae-editor/ae-editor.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of HighlightScanner.
3153
3154
3155
3156
|
# File 'ext/ae-editor/ae-editor.rb', line 3153
def initialize(_langs_conf)
@langs_conf = _langs_conf
@lang=@langs_conf['language'].to_sym if @langs_conf['language']
end
|
Instance Method Details
#classes ⇒ Object
3161
3162
3163
3164
3165
3166
|
# File 'ext/ae-editor/ae-editor.rb', line 3161
def classes
if !defined?(@h_classes)
@h_classes = @langs_conf["#{@langs_conf['scanner']}.classes"].split(',')
end
@h_classes
end
|
3158
3159
|
# File 'ext/ae-editor/ae-editor.rb', line 3158
def highlight_tags(_row_begin,_code)
end
|