Skip to content

Commit

Permalink
Update test example app to allow testing of wrapping;
Browse files Browse the repository at this point in the history
Work relating to #341.
  • Loading branch information
gavinlaking committed Dec 9, 2015
1 parent 4e2f7fe commit 331250c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/support/examples/material_colours_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,16 @@ class VedeuMaterialColoursApp
zindex(0)
end

Vedeu.interface 'wrapping' do
colour background: '#555555', foreground: '#ffffff'
geometry do
x 3
xn 13
y 36
yn 39
end
end

Vedeu.keymap('_global_') do
key(:up) { Vedeu.trigger(:_cursor_up_) }
key(:right) { Vedeu.trigger(:_cursor_right_) }
Expand Down Expand Up @@ -583,6 +593,11 @@ class VedeuMaterialColoursApp
line 'style'
end
end
view('wrapping') do
lines do
line { text 'This is a line of text that should wrap.', mode: :wrap }
end
end
end

Vedeu.focus_by_name 'main_interface'
Expand Down

0 comments on commit 331250c

Please sign in to comment.