visualruby 3.1.7 → 3.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.vr_settings.yaml +13 -5
- data/examples/listview/.vr_settings.yaml +4 -3
- data/lib/treeview/ViewCommon.rb +1 -1
- data/lib/treeview/columns/TreeViewColumn.rb +4 -0
- data/src/editor/VR_Document.rb +8 -3
- data/src/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9216c347790872263d9a2b9efbf12b2dc4360d97
|
4
|
+
data.tar.gz: 04913ad2f67266ba4f8ed45abddf9642b8790e67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbc2f25d7ab4f2d8494712b72da96373cb35ef9653c082de15604336cb08c886cdb289c0a7ab3107845cf45e6fb257938cedf79182a733a16603b56833153ae1
|
7
|
+
data.tar.gz: 639e297b21968e4e5b00688b05ffb803a5f6f684e5c19ea048fe1bf5d741904303a436dfabc8bb0a9f3c48b13df1c2b01a3e9aaed5b01db939128ed778cdecf5
|
data/.vr_settings.yaml
CHANGED
@@ -7,17 +7,25 @@ notebook_panel_position: 472
|
|
7
7
|
run_command_line: ruby vr
|
8
8
|
open_files:
|
9
9
|
- "/home/eric/vrp/vr3/lib/GladeGUI.rb"
|
10
|
+
- "/home/eric/vrp/vr3/vr.gemspec"
|
11
|
+
- "/home/eric/vrp/vr3/vr"
|
12
|
+
- "/home/eric/vrp/vr3/src/editor/VR_Document.rb"
|
13
|
+
- "/home/eric/vrp/vr3/src/editor/VR_TabSearch.rb"
|
14
|
+
- "/home/eric/vrp/vr3/src/version.rb"
|
15
|
+
- "/home/eric/vrp/vr3/site/Download.md"
|
16
|
+
- "/home/eric/vrp/vr3/lib/treeview/ListView.rb"
|
17
|
+
- "/home/eric/vrp/vr3/src/main/OpenProject.rb"
|
10
18
|
open_folders:
|
11
19
|
- "/home/eric/vrp/vr3"
|
12
20
|
- "/home/eric/vrp/vr3/examples"
|
13
|
-
- "/home/eric/vrp/vr3/examples/
|
21
|
+
- "/home/eric/vrp/vr3/examples/listview"
|
14
22
|
- "/home/eric/vrp/vr3/lib"
|
15
|
-
- "/home/eric/vrp/vr3/
|
23
|
+
- "/home/eric/vrp/vr3/lib/treeview"
|
24
|
+
- "/home/eric/vrp/vr3/site"
|
16
25
|
- "/home/eric/vrp/vr3/src"
|
17
|
-
- "/home/eric/vrp/vr3/src/editor"
|
18
26
|
- "/home/eric/vrp/vr3/src/main"
|
19
|
-
current_file: "/home/eric/vrp/vr3/
|
20
|
-
current_line:
|
27
|
+
current_file: "/home/eric/vrp/vr3/src/main/OpenProject.rb"
|
28
|
+
current_line: 84
|
21
29
|
rdoc_command_line: yardoc lib - site/*.*
|
22
30
|
builder: !ruby/object:Gtk::Builder {}
|
23
31
|
top_level_window: false
|
@@ -1,5 +1,5 @@
|
|
1
1
|
--- !ruby/object:VR_ENV
|
2
|
-
vr_yaml_file: "
|
2
|
+
vr_yaml_file: "/home/eric/vrp/vr3/examples/listview/.vr_settings.yaml"
|
3
3
|
width: 1251
|
4
4
|
height: 691
|
5
5
|
panel_pos: 322
|
@@ -8,9 +8,10 @@ run_command_line: ruby main.rb
|
|
8
8
|
open_files:
|
9
9
|
- "/home/eric/vrp/vr3/examples/listview/bin/SongListViewGUI.rb"
|
10
10
|
- "/home/eric/vrp/vr3/examples/listview/main.rb"
|
11
|
+
- "/home/eric/vrp/vr3/examples/listview/bin/SongListView.rb"
|
11
12
|
open_folders:
|
12
13
|
- "/home/eric/vrp/vr3/examples/listview"
|
13
|
-
current_file: "/home/eric/vrp/vr3/examples/listview/
|
14
|
-
current_line:
|
14
|
+
current_file: "/home/eric/vrp/vr3/examples/listview/bin/SongListView.rb"
|
15
|
+
current_line: 28
|
15
16
|
rdoc_command_line: rdoc -x README
|
16
17
|
filename: ".vr_settings.yaml"
|
data/lib/treeview/ViewCommon.rb
CHANGED
data/src/editor/VR_Document.rb
CHANGED
@@ -16,10 +16,15 @@ class VR_Document < GtkSource::View
|
|
16
16
|
show_right_margin = true
|
17
17
|
right_margin_position = 80
|
18
18
|
auto_indent = true
|
19
|
-
if ["", ".gemspec"
|
19
|
+
if ["", ".gemspec"].include?(File.extname(full_path_file))
|
20
20
|
buffer.language = GtkSource::LanguageManager.new.get_language("ruby")
|
21
|
-
|
22
|
-
buffer.language = GtkSource::LanguageManager.new.
|
21
|
+
elsif [".html", ".erb"].include?(File.extname(full_path_file))
|
22
|
+
buffer.language = GtkSource::LanguageManager.new.get_language("html")
|
23
|
+
elsif [".yaml", ".yml"].include?(File.extname(full_path_file))
|
24
|
+
buffer.language = GtkSource::LanguageManager.new.get_language("yaml")
|
25
|
+
else
|
26
|
+
guess_lang = GtkSource::LanguageManager.new.guess_language(File.basename(full_path_file))
|
27
|
+
buffer.language = guess_lang
|
23
28
|
end
|
24
29
|
buffer.highlight_syntax = true
|
25
30
|
buffer.highlight_matching_brackets = false
|
data/src/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = "3.1.
|
1
|
+
VERSION = "3.1.9"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: visualruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Cunningham
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir:
|
10
10
|
- "."
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gtk3
|