Sha256: bc2a0a62e1d0163de823261d9284b219d4959d085e4868f0078e0aeb24554185

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

# ide

t=text(content: "touch me to open the code editor", xx: 50)
t.touch do
  coding({atome_id: :code_editor, content: :circle})
end

code_editor_font_size=12
c=circle({size: 33})
c2=circle({size: 33, x: 69})
t=c.text({content: "-", center: true, color: :black})
t2=c2.text({content: "+", center: true, color: :black, x: 69})
t.center(true)
t2.center(true)


c.touch do
  code_editor_font_size=code_editor_font_size-5
  ATOME.codemirror_font_size( code_editor_font_size)

end

c2.touch do
  code_editor_font_size=code_editor_font_size+5
  ATOME.codemirror_font_size( code_editor_font_size)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/code_editor.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/code_editor.rb