Sha256: b453f8cadc6f912873e30473838d25f4aea3bef5190de8569e033d6a2b4ead56

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

require 'dispel'
require 'language_sniffer'

require 'ruco/version'

require 'ruco/core_ext/object'
require 'ruco/core_ext/string'
require 'ruco/core_ext/array'
require 'ruco/core_ext/hash'
require 'ruco/core_ext/range'
require 'ruco/core_ext/file'

require 'ruco/position'
require 'ruco/history'
require 'ruco/option_accessor'
require 'ruco/file_store'
require 'ruco/window'
require 'ruco/syntax_parser'

require 'ruco/editor'
require 'ruco/editor/line_numbers'
require 'ruco/editor/history'
require 'ruco/status_bar'
require 'ruco/command_bar'
require 'ruco/application'

if $ruco_colors
  begin
    # there are some other gems out there like spox-textpow etc, so be picky
    gem 'plist'
    require 'plist'
    gem 'textpow'
    require 'textpow'

    # we do not need there if any other color li failed
    require 'ruco/array_processor'
    require 'ruco/tm_theme'
    require 'ruco/editor/colors'
  rescue LoadError
    warn "Could not load color libs -- #{$!}"
  end
end

require 'ruco/form'
require 'ruco/text_area'
require 'ruco/editor_area'
require 'ruco/text_field'

module Ruco
  autoload :Clipboard, 'clipboard' # can crash when loaded -> load if needed

  TAB_SIZE = 2

  class << self
    attr_accessor :application
  end

  def self.configure(&block)
    application.instance_exec(&block)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruco-0.4.0 lib/ruco.rb