vedeu 0.6.32 → 0.6.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -2
- data/README.md +2 -2
- data/Rakefile +2 -2
- data/docs/borders.md +62 -0
- data/docs/{cursor.md → cursors.md} +7 -7
- data/docs/events/application.md +1 -1
- data/docs/events/document.md +9 -9
- data/docs/events/drb.md +7 -7
- data/docs/events/focus.md +3 -3
- data/docs/events/menu.md +10 -10
- data/docs/events/movement.md +3 -3
- data/docs/events/refresh.md +5 -10
- data/docs/events/system.md +8 -8
- data/docs/events/view.md +3 -3
- data/docs/events/visibility.md +13 -13
- data/docs/geometry.md +1 -1
- data/docs/interfaces.md +1 -1
- data/lib/vedeu/borders/border.rb +6 -2
- data/lib/vedeu/borders/refresh.rb +13 -18
- data/lib/vedeu/borders/repository.rb +23 -0
- data/lib/vedeu/buffers/refresh.rb +9 -5
- data/lib/vedeu/cursors/cursor.rb +2 -0
- data/lib/vedeu/cursors/refresh.rb +9 -4
- data/lib/vedeu/cursors/repository.rb +1 -1
- data/lib/vedeu/editor/cropper.rb +2 -1
- data/lib/vedeu/error.rb +6 -1
- data/lib/vedeu/groups/refresh.rb +7 -1
- data/lib/vedeu/interfaces/null.rb +3 -9
- data/lib/vedeu/models/focus.rb +5 -1
- data/lib/vedeu/null/generic.rb +3 -9
- data/lib/vedeu/output/clear/interface.rb +9 -3
- data/lib/vedeu/repositories/repository.rb +2 -2
- data/lib/vedeu/terminal/buffer.rb +2 -0
- data/lib/vedeu/version.rb +1 -1
- data/test/lib/vedeu/borders/refresh_test.rb +10 -2
- data/test/lib/vedeu/cursors/repository_test.rb +16 -7
- data/test/lib/vedeu/groups/refresh_test.rb +29 -1
- data/test/lib/vedeu/interfaces/null_test.rb +7 -14
- data/test/lib/vedeu/models/focus_test.rb +1 -1
- data/test/lib/vedeu/null/generic_test.rb +12 -7
- data/test/lib/vedeu/output/renderers/all_test.rb +20 -13
- data/test/support/examples/material_colours_app.rb +90 -23
- metadata +4 -4
- data/docs/border.md +0 -23
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vedeu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Laking
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -263,10 +263,10 @@ files:
|
|
263
263
|
- bin/vedeu_test
|
264
264
|
- config/rubocop_enabled.yml
|
265
265
|
- docs/api.md
|
266
|
-
- docs/
|
266
|
+
- docs/borders.md
|
267
267
|
- docs/buffer.md
|
268
268
|
- docs/configuration.md
|
269
|
-
- docs/
|
269
|
+
- docs/cursors.md
|
270
270
|
- docs/dsl.md
|
271
271
|
- docs/events.md
|
272
272
|
- docs/events/application.md
|
data/docs/border.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# @title Vedeu Borders
|
2
|
-
# Vedeu Borders
|
3
|
-
|
4
|
-
The interfaces of Vedeu can each have their own border.
|
5
|
-
|
6
|
-
- It has a name. This name associates it with an
|
7
|
-
{file:docs/interface.md Interface}.
|
8
|
-
- Each of its corners, the horizontal, and the vertical character can
|
9
|
-
be defined as different characters.
|
10
|
-
- It can have a foreground and a background and style, independent of
|
11
|
-
the interface to which it belongs.
|
12
|
-
- Each of the sides of the border can be shown or hidden
|
13
|
-
independently.
|
14
|
-
- The border itself can be enabled and disabled (shown/hidden) as
|
15
|
-
required.
|
16
|
-
- The border can have a title, which is displayed on the top side.
|
17
|
-
- It can also have a caption, which is displayed on the bottom side.
|
18
|
-
- The sides of the border will use:
|
19
|
-
- The first (top) line of the geometry.
|
20
|
-
- The last (bottom) line of the geometry.
|
21
|
-
- The first character (left) of the geometry.
|
22
|
-
- The last character (right) of the geometry.
|
23
|
-
- The border can be refreshed independently of the interface.
|