Sha256: 58289560288ded2fba4b0feb632e8f5771c60ab76d019a588d351f7fd64e5a38

Contents?: true

Size: 456 Bytes

Versions: 111

Compression:

Stored size: 456 Bytes

Contents

#!/usr/bin/env ruby
=begin
  sourcelanguagesmanager.rb - Ruby/GtkSourceView sample script.

  Copyright (c) 2006 Ruby-GNOME2 Project Team
  This program is licenced under the same licence as Ruby-GNOME2.

  $Id: sourcelanguagesmanager.rb,v 1.3 2007/06/03 02:11:07 mutoh Exp $
=end

require 'gtksourceview2'

s = Gtk::SourceLanguageManager.new
s.language_ids.each do |v|
  puts v
end
s.search_path.each do |v|
  puts v
end
puts s.get_language("html").name

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
gtksourceview2-3.4.3 sample/sourcelanguagemanager.rb
gtksourceview2-3.4.2 sample/sourcelanguagemanager.rb
gtksourceview2-3.4.1 sample/sourcelanguagemanager.rb
gtksourceview2-3.4.0 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.9 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.8 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.7 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.6 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.5 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.4 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.3 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.2 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.1 sample/sourcelanguagemanager.rb
gtksourceview2-3.3.0 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.9 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.8 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.7 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.6 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.5 sample/sourcelanguagemanager.rb
gtksourceview2-3.2.4 sample/sourcelanguagemanager.rb