arcadia 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/README +39 -38
  2. data/bin/arc +3 -0
  3. data/bin/arcadia +0 -1
  4. data/conf/arcadia.conf +54 -35
  5. data/conf/arcadia.init.rb +26 -3
  6. data/conf/arcadia.res.rb +56 -4
  7. data/ext/ae-breakpoints/ae-breakpoints.rb +1 -1
  8. data/ext/ae-dir-projects/ae-dir-projects.rb +113 -45
  9. data/ext/ae-editor/ae-editor.conf +6 -2
  10. data/ext/ae-editor/ae-editor.rb +1009 -616
  11. data/ext/ae-editor/langs/coderay.tokens +40 -0
  12. data/ext/ae-editor/langs/conf.lang +12 -10
  13. data/ext/ae-editor/langs/erb.lang.bind +1 -0
  14. data/ext/ae-editor/langs/java.lang +4 -0
  15. data/ext/ae-editor/langs/rb.lang +25 -55
  16. data/ext/ae-editor/langs/rhtml.lang +4 -0
  17. data/ext/ae-editor/langs/tokens.lang.bind +1 -0
  18. data/ext/ae-editor/langs/xml.lang +4 -0
  19. data/ext/ae-file-history/ae-file-history.rb +140 -32
  20. data/ext/ae-output/ae-output.rb +267 -262
  21. data/ext/ae-rad/ae-rad-inspector.rb +1 -1
  22. data/ext/ae-rad/ae-rad-libs.rb +15 -7
  23. data/ext/ae-rad/ae-rad.conf +4 -4
  24. data/ext/ae-rad/lib/tk/al-tk.rb +4 -3
  25. data/ext/ae-ruby-debug/ae-ruby-debug.conf +4 -2
  26. data/ext/ae-ruby-debug/ae-ruby-debug.rb +40 -15
  27. data/ext/ae-search-in-files/ae-search-in-files.rb +70 -14
  28. data/ext/ae-search-in-files/ext/ack-in-files/ack-in-files.conf +15 -0
  29. data/ext/ae-search-in-files/ext/ack-in-files/ack-in-files.rb +80 -0
  30. data/ext/ae-shell/ae-shell.conf +4 -1
  31. data/ext/ae-shell/ae-shell.rb +78 -43
  32. data/ext/test-shutdown-after-startup/test-shutdown-after-startup.conf +4 -0
  33. data/ext/test-shutdown-after-startup/test-shutdown-after-startup.rb +20 -0
  34. data/lib/a-commons.rb +118 -22
  35. data/lib/a-contracts.rb +46 -2
  36. data/lib/a-core.rb +970 -284
  37. data/lib/a-tkcommons.rb +16 -8
  38. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ArrowButton.html +0 -0
  39. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/BWidget.html +0 -0
  40. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Button.html +0 -0
  41. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ButtonBox.html +0 -0
  42. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ComboBox.html +0 -0
  43. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Dialog.html +20 -0
  44. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/DragSite.html +6 -4
  45. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/DropSite.html +15 -3
  46. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/DynamicHelp.html +8 -5
  47. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Entry.html +0 -0
  48. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Label.html +0 -0
  49. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/LabelEntry.html +0 -0
  50. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/LabelFrame.html +0 -0
  51. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ListBox.html +1 -1
  52. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/MainFrame.html +8 -0
  53. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/MessageDlg.html +0 -0
  54. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/NoteBook.html +0 -0
  55. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/PagesManager.html +0 -0
  56. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/PanedWindow.html +21 -5
  57. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/PanelFrame.html +0 -0
  58. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/PasswdDlg.html +0 -0
  59. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ProgressBar.html +0 -0
  60. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ProgressDlg.html +0 -0
  61. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ScrollView.html +0 -0
  62. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ScrollableFrame.html +5 -2
  63. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/ScrolledWindow.html +36 -4
  64. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/SelectColor.html +0 -0
  65. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/SelectFont.html +0 -0
  66. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Separator.html +0 -0
  67. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/SpinBox.html +0 -0
  68. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/StatusBar.html +0 -0
  69. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/TitleFrame.html +0 -0
  70. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Tree.html +21 -31
  71. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/Widget.html +0 -0
  72. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/contents.html +0 -0
  73. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/index.html +0 -0
  74. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/navtree.html +0 -0
  75. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/BWman/options.htm +0 -0
  76. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/CHANGES.txt +0 -0
  77. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/ChangeLog +289 -0
  78. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/LICENSE.txt +0 -0
  79. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/README.txt +2 -2
  80. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/arrow.tcl +1 -1
  81. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/bitmap.tcl +0 -0
  82. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/button.tcl +0 -0
  83. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/buttonbox.tcl +23 -12
  84. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/color.tcl +0 -0
  85. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/combobox.tcl +101 -25
  86. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/basic.tcl +0 -0
  87. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/bwidget.xbm +0 -0
  88. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/demo.tcl +1 -1
  89. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/dnd.tcl +0 -0
  90. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/manager.tcl +0 -0
  91. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/select.tcl +0 -0
  92. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/tmpldlg.tcl +0 -0
  93. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/tree.tcl +0 -0
  94. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/demo/x1.xbm +0 -0
  95. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/dialog.tcl +0 -0
  96. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/dragsite.tcl +0 -0
  97. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/dropsite.tcl +2 -1
  98. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/dynhelp.tcl +194 -33
  99. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/entry.tcl +8 -5
  100. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/font.tcl +0 -0
  101. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/bold.gif +0 -0
  102. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/copy.gif +0 -0
  103. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/cut.gif +0 -0
  104. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/dragfile.gif +0 -0
  105. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/dragicon.gif +0 -0
  106. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/error.gif +0 -0
  107. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/file.gif +0 -0
  108. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/folder.gif +0 -0
  109. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/hourglass.gif +0 -0
  110. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/info.gif +0 -0
  111. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/italic.gif +0 -0
  112. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/minus.xbm +0 -0
  113. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/new.gif +0 -0
  114. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/opcopy.xbm +0 -0
  115. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/open.gif +0 -0
  116. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/openfold.gif +0 -0
  117. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/oplink.xbm +0 -0
  118. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/opmove.xbm +0 -0
  119. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/overstrike.gif +0 -0
  120. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/palette.gif +0 -0
  121. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/passwd.gif +0 -0
  122. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/paste.gif +0 -0
  123. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/plus.xbm +0 -0
  124. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/print.gif +0 -0
  125. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/question.gif +0 -0
  126. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/redo.gif +0 -0
  127. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/save.gif +0 -0
  128. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/target.xbm +0 -0
  129. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/underline.gif +0 -0
  130. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/undo.gif +0 -0
  131. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/images/warning.gif +0 -0
  132. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/init.tcl +0 -0
  133. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/label.tcl +0 -0
  134. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/labelentry.tcl +0 -0
  135. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/labelframe.tcl +0 -0
  136. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/lang/da.rc +0 -0
  137. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/lang/de.rc +0 -0
  138. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/lang/en.rc +0 -0
  139. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/lang/es.rc +0 -0
  140. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/lang/fr.rc +0 -0
  141. data/tcl/BWidget-1.9.0/lang/hu.rc +52 -0
  142. data/tcl/BWidget-1.9.0/lang/nl.rc +52 -0
  143. data/tcl/BWidget-1.9.0/lang/no.rc +52 -0
  144. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/listbox.tcl +89 -34
  145. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/mainframe.tcl +14 -13
  146. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/messagedlg.tcl +0 -0
  147. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/notebook.tcl +3 -1
  148. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/pagesmgr.tcl +0 -0
  149. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/panedw.tcl +22 -18
  150. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/panelframe.tcl +0 -0
  151. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/passwddlg.tcl +7 -3
  152. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/pkgIndex.tcl +2 -2
  153. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/progressbar.tcl +0 -0
  154. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/progressdlg.tcl +0 -0
  155. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/scrollframe.tcl +60 -24
  156. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/scrollview.tcl +0 -0
  157. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/scrollw.tcl +13 -11
  158. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/separator.tcl +0 -0
  159. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/spinbox.tcl +0 -0
  160. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/statusbar.tcl +0 -0
  161. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/tests/entry.test +0 -0
  162. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/titleframe.tcl +0 -0
  163. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/tree.tcl +51 -41
  164. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/utils.tcl +26 -11
  165. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/widget.tcl +53 -19
  166. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/wizard.tcl +0 -0
  167. data/tcl/{BWidget-1.8.0 → BWidget-1.9.0}/xpm2image.tcl +0 -0
  168. metadata +170 -145
data/README CHANGED
@@ -1,8 +1,8 @@
1
1
  = Arcadia Ruby Ide
2
- version 0.7.0
2
+ version 0.8.0
3
3
 
4
4
  by Antonio Galeone
5
- on Jul 22, 2009
5
+ on Dec 11, 2009
6
6
 
7
7
 
8
8
  == About
@@ -16,31 +16,35 @@ Some of Arcadia ruby ide project features include:
16
16
  * Working on any platform where ruby and tcl-tk work.
17
17
  * Highly extensibility architecture.
18
18
 
19
- == In this release
19
+ == In this release 0.8.0
20
20
  [New extensions]
21
- - project drawer
22
-
21
+ ack in files:
22
+ - similar to "search in files" using ack utility
23
+
23
24
  [Improvements]
24
- ae-file-history :
25
- - tree "auto expand" if it only has one child
26
- - describe better what "sync" means, somehow.
27
-
28
- ae-search-in-files :
29
- - make it so that you don't have to click on one of the search
30
- entries to be able to use the mouse scrollwheel to scroll up and down.
31
-
32
- ae-editor :
33
- - auto completion of current word based on words within the current window also
34
- like textmate's hitting escape.
35
- - added "ctrl +o" shortcut that opens the filesystem dialog
36
- in the directory that file you’re on is.
37
-
38
- commons :
39
- - make "do you want to exit" optional
40
-
41
-
42
-
43
-
25
+ commons:
26
+ - porting ruby 1.9
27
+ - bug-fixing
28
+ core:
29
+ - remenber window size/position, show/hide toolbar preferences and layout from previous run
30
+ editor:
31
+ - remember the last file your were editing, with editing location, on startup
32
+ - added new hightlight engine based on coderay, others kind of file are now supported (erb,rhtml,java)
33
+ - added auto completion of current word based on words within the current window
34
+ also; then added escape key short cut.
35
+ - added outline syncronization
36
+
37
+ == Dependencies
38
+ - rubygems
39
+ - ruby-tk
40
+ - tcl/tk
41
+ - ack
42
+ - gem coderay
43
+ - gem ruby-debug (ruby-debug19 on ruby 1.9)
44
+ - gem whichr
45
+ - gem win32-process (only on windows)
46
+ - gem ruby-wmi (only on windows)
47
+
44
48
  == How to install
45
49
  There are two way:
46
50
  1. exec as root on command line "gem install arcadia"
@@ -49,19 +53,16 @@ There are two way:
49
53
  a. untar (on unix) (tar -xzf) arcadia-<version>.tar.gz
50
54
  b. unzip (on windows) arcadia-<version>.zip
51
55
 
52
-
53
56
  == How to run
54
57
  * exec on command line "ruby <path/>arcadia"
55
58
 
56
59
 
57
60
  == Short User guide
58
- Application layout is splitted in vertical
59
- and horizontal resizing frames. Clicking on vertical splitter
60
- appear two button for left or right one shot frame close.
61
- The horizontal splitter has two little button for the same reason.
61
+ Application layout is splitted in vertical and horizontal resizing frames.
62
+ On vertical and horizontal splitter appear two button for left or right
63
+ one shot frame close.
62
64
  Every frame has a title, a button to expand or resizing it and a menu-button
63
65
  for the dynamic layout functions.
64
- There are very essential feature:
65
66
 
66
67
  ==== Main Toolbar
67
68
  The toolbar button are in order:
@@ -77,16 +78,18 @@ The toolbar button are in order:
77
78
 
78
79
  ==== Editor
79
80
  Editor use the notebook metaphor. Same command are on the popup menu
80
- that is raised on "Button-3" click event fundamentalally for closing the tab
81
+ that is raised on "Button-3" click event fundamentally for closing the tab
81
82
  under the mouse pointer.
82
83
  These are same editor short-cut:
83
84
  - Ctrl-c => copy selected text
84
85
  - Ctrl-v => paste copied text
85
86
  - Ctrl-x => cut selected text
87
+ - Ctrl-g => show go to line dialog
88
+ - Ctrl-o => shoe open file dialog
86
89
  - Ctrl-z => undo
87
90
  - Ctrl-f => copy the selected text on input combobox of find dialog and moves focus
88
91
  - Ctrl-s => save
89
- - Ctrl-space => completion code
92
+ - Ctrl-space or esc => completion code
90
93
  - Ctrl-shift-i => indent the selected block
91
94
  - Ctrl-shift-u => unindent the selected block
92
95
  - Ctrl-shift-c => comment/uncomment the selected code block
@@ -132,10 +135,8 @@ under ~/.arcadia directory. The format of property definition are:
132
135
  <OPERATING SYSTEM IDENTIFY::>PROPERTY_NAME=PROPERTY_VALUE
133
136
 
134
137
 
135
- == Requirement
136
- I include into distribution also the BWidget lib (under tcl directory) so
137
- are require realy only the standard tcl tk lib (tested on tcl tk 8.4 & tcl tk 8.5).
138
- I have tested arcadia with ruby 1.8.4, 1.8.5, 1.8.6, 1.8.7 on
138
+ I have tested arcadia with ruby 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9.1 on
139
+
139
140
  * Archlinux
140
141
  * Ubuntu
141
142
  * FreeBsd6.x, FreeBsd7.x,
@@ -159,4 +160,4 @@ antonio-galeone@rubyforge.org
159
160
 
160
161
  For bugs, support request, features request:
161
162
  http://groups.google.it/group/arcadia-ruby-ide
162
- http://rubyforge.org/projects/arcadia
163
+ http://rubyforge.org/projects/arcadia
data/bin/arc ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ load File.dirname(__FILE__) + "/arcadia" # the real arcadia executable
@@ -3,7 +3,6 @@
3
3
  # arcadia - Arcadia Ruby ide
4
4
  # by Antonio Galeone <antonio-galeone@rubyforge.org>
5
5
  #
6
-
7
6
  $pwd = Dir.pwd
8
7
  Dir.chdir("#{File.dirname(__FILE__)}/..")
9
8
  if FileTest.exist?('conf/arcadia.init.rb')
@@ -6,6 +6,7 @@
6
6
 
7
7
  #:::::::::::::::: layout ::::::::::::::::::::::<begin>
8
8
  layout.splitter.length=5
9
+ layout.exchange_panel_if_no_tabbed=false
9
10
  arm::layout.splitter.length=10
10
11
  #layout.split=1,2
11
12
  #layout.split.1=0.0r70%
@@ -17,6 +18,7 @@ layout.split.2=0.1r70%
17
18
  layout.split.3=0.1c60%
18
19
  layout.split.4=0.0r60%
19
20
 
21
+ #layout.maximized=
20
22
  #layout.split=1,2,3
21
23
  #layout.split.1=0.0c20%
22
24
  #layout.split.2=0.0r30%
@@ -190,6 +192,7 @@ hightlight.1.background=#abc9fc
190
192
  hightlight.1.borderwidth=1
191
193
  hightlight.1.relief=raised
192
194
  #hightlight.selected
195
+ hightlight.2.foreground=red
193
196
  hightlight.2.background=yellow
194
197
  #hightlight.tabs
195
198
  hightlight.3.foreground=black
@@ -203,7 +206,6 @@ hightlight.4.borderwidth=1
203
206
  hightlight.4.relief=raised
204
207
  #+--------------------------------------------------
205
208
 
206
-
207
209
  #keyword
208
210
  hightlight.5.foreground=#00007F
209
211
  #method_name
@@ -227,40 +229,58 @@ hightlight.14.foreground=#000000
227
229
  #symbol
228
230
  hightlight.15.foreground=#bdc175
229
231
  #debug
230
- #hightlight.16.foreground=black
232
+ hightlight.16.foreground=#d95ed9
231
233
  hightlight.16.background=#b3c1d9
232
234
  hightlight.16.borderwidth=2
233
235
  hightlight.16.relief=groove
234
236
 
237
+ hightlight.17.foreground=#682821
238
+ hightlight.18.foreground=#3866d9
239
+
240
+ #:::::::::::::::::::::::::::::::::::::::::::::::::
241
+
242
+ hightlight.reserved.foreground=#00007F
243
+ hightlight.comment.foreground=#007F00
244
+ hightlight.string.foreground=#7F007F
245
+ hightlight.symbol.foreground=#bdc175
246
+ hightlight.operator.foreground=#000000
247
+ hightlight.class.foreground=#0000FF
248
+ hightlight.method.foreground=#007F7F
249
+ hightlight.number.foreground=#007F7F
250
+ hightlight.instance_variable.foreground=#7F7F7F
251
+ hightlight.global_variable.foreground=#db66ca
252
+ hightlight.constant.foreground=#bdc175
253
+ hightlight.tag.foreground=#69a8d9
254
+
235
255
  #:::::::::::::::::::::::::::::::::::::::::::::::::<end>
236
256
  #:::::::::::::::::::: menu ::::::::::::::::::::::<begin>
237
257
  #user_menu.contexts=File2
238
258
  #user_menu.File2.context_path=/
239
- #user_menu.File2=open,new,save,quit
259
+ #user_menu.File2=open,new,save,-,quit
240
260
 
241
261
  #user_menu.File2.open.name=open
242
262
  #user_menu.File2.open.hint=Open
243
263
  #user_menu.File2.open.caption=Open
244
- #user_menu.File2.open.image_data=OPEN_GIF
245
- #user_menu.File2.open.event_class=OpenBufferEvent
264
+ #user_menu.File2.open.image_data=!OPEN_GIF
265
+ #user_menu.File2.open.event_class=!OpenBufferEvent
246
266
 
247
267
  #user_menu.File2.new.name=new
248
268
  #user_menu.File2.new.hint=New
249
269
  #user_menu.File2.new.caption=New
250
- #user_menu.File2.new.image_data=NEW_GIF
251
- #user_menu.File2.new.event_class=NewBufferEvent
270
+ #user_menu.File2.new.image_data=!NEW_GIF
271
+ #user_menu.File2.new.event_class=!NewBufferEvent
252
272
  #
253
273
  #user_menu.File2.save.name=save
254
274
  #user_menu.File2.save.hint=Save
255
275
  #user_menu.File2.save.caption=Save
256
- #user_menu.File2.save.image_data=BACKUP_GIF
257
- #user_menu.File2.save.event_class=SaveBufferEvent
276
+ #user_menu.File2.save.image_data=!BACKUP_GIF
277
+ #user_menu.File2.save.event_class=!SaveBufferEvent
258
278
  #
259
279
  #user_menu.File2.quit.name=quit
260
280
  #user_menu.File2.quit.hint=Quit
261
281
  #user_menu.File2.quit.caption=Quit
262
- #user_menu.File2.quit.image_data=EXIT_STORY_GIF
263
- #user_menu.File2.quit.event_class=QuitEvent
282
+ #user_menu.File2.quit.image_data=!EXIT_STORY_GIF
283
+ #user_menu.File2.quit.event_class=!QuitEvent
264
284
  #:::::::::::::::::::::::::::::::::::::::::::::::::<end>
265
285
  #:::::::::::::::: toolbar ::::::::::::::::::::::<begin>
266
286
  user_toolbar.contexts=file,run,debug
@@ -268,64 +288,64 @@ user_toolbar.contexts=file,run,debug
268
288
  user_toolbar.file=new,open,save,find
269
289
  user_toolbar.file.new.name=new
270
290
  user_toolbar.file.new.hint=New file
271
- user_toolbar.file.new.image_data=PAGE_WHITE_ADD_GIF
272
- user_toolbar.file.new.event_class=NewBufferEvent
291
+ user_toolbar.file.new.image_data=!PAGE_WHITE_ADD_GIF
292
+ user_toolbar.file.new.event_class=!NewBufferEvent
273
293
 
274
294
  user_toolbar.file.open.name=open
275
295
  user_toolbar.file.open.hint=Open file
276
- user_toolbar.file.open.image_data=OPEN_GIF
277
- user_toolbar.file.open.event_class=OpenBufferEvent
296
+ user_toolbar.file.open.image_data=!OPEN_GIF
297
+ user_toolbar.file.open.event_class=!OpenBufferEvent
278
298
 
279
299
  user_toolbar.file.save.name=save
280
300
  user_toolbar.file.save.hint=Save current file
281
- user_toolbar.file.save.image_data=BACKUP_GIF
282
- user_toolbar.file.save.event_class=SaveBufferEvent
301
+ user_toolbar.file.save.image_data=!BACKUP_GIF
302
+ user_toolbar.file.save.event_class=!SaveBufferEvent
283
303
 
284
304
  user_toolbar.file.find.name=find
285
305
  user_toolbar.file.find.hint=Search on current file
286
- user_toolbar.file.find.image_data=LARGE_FIND_GIF
287
- user_toolbar.file.find.event_class=SearchBufferEvent
306
+ user_toolbar.file.find.image_data=!LARGE_FIND_GIF
307
+ user_toolbar.file.find.event_class=!SearchBufferEvent
288
308
 
289
309
 
290
310
  user_toolbar.run=runcurr,runlast
291
311
 
292
312
  user_toolbar.run.runcurr.name=run_current
293
313
  user_toolbar.run.runcurr.hint=Run current
294
- user_toolbar.run.runcurr.image_data=RUN_CURRENT_GIF
295
- user_toolbar.run.runcurr.event_class=RunRubyFileEvent
314
+ user_toolbar.run.runcurr.image_data=!RUN_CURRENT_GIF
315
+ user_toolbar.run.runcurr.event_class=!RunRubyFileEvent
296
316
 
297
317
  user_toolbar.run.runlast.name=run_last
298
318
  user_toolbar.run.runlast.hint=Run last
299
- user_toolbar.run.runlast.image_data=RUN_LAST_GIF
300
- user_toolbar.run.runlast.event_class=RunRubyFileEvent
301
- user_toolbar.run.runlast.event_args={'file'=>"*LAST"}
319
+ user_toolbar.run.runlast.image_data=!RUN_LAST_GIF
320
+ user_toolbar.run.runlast.event_class=!RunRubyFileEvent
321
+ user_toolbar.run.runlast.event_args=!{'file'=>"*LAST"}
302
322
 
303
323
 
304
324
  user_toolbar.debug=debugcurr,debuglast,debugquit
305
325
 
306
326
  user_toolbar.debug.debugcurr.name=debug
307
327
  user_toolbar.debug.debugcurr.hint=Debug current
308
- user_toolbar.debug.debugcurr.image_data=DEBUG_CURRENT_GIF
309
- user_toolbar.debug.debugcurr.event_class=StartDebugEvent
328
+ user_toolbar.debug.debugcurr.image_data=!DEBUG_CURRENT_GIF
329
+ user_toolbar.debug.debugcurr.event_class=!StartDebugEvent
310
330
 
311
331
  user_toolbar.debug.debuglast.name=debug
312
332
  user_toolbar.debug.debuglast.hint=Debug last
313
- user_toolbar.debug.debuglast.image_data=DEBUG_LAST_GIF
314
- user_toolbar.debug.debuglast.event_class=StartDebugEvent
315
- user_toolbar.debug.debuglast.event_args={'file'=>"*LAST"}
333
+ user_toolbar.debug.debuglast.image_data=!DEBUG_LAST_GIF
334
+ user_toolbar.debug.debuglast.event_class=!StartDebugEvent
335
+ user_toolbar.debug.debuglast.event_args=!{'file'=>"*LAST"}
316
336
 
317
337
  user_toolbar.debug.debugquit.name=debugquit
318
338
  user_toolbar.debug.debugquit.hint=Quit debug
319
- user_toolbar.debug.debugquit.image_data=DEBUG_QUIT_GIF
320
- user_toolbar.debug.debugquit.event_class=StopDebugEvent
339
+ user_toolbar.debug.debugquit.image_data=!DEBUG_QUIT_GIF
340
+ user_toolbar.debug.debugquit.event_class=!StopDebugEvent
321
341
 
322
342
 
323
343
  e.user_toolbar.contexts=sys
324
344
  e.user_toolbar.sys=exit
325
345
  e.user_toolbar.sys.exit.name=exit
326
346
  e.user_toolbar.sys.exit.hint=Exit from Arcadia
327
- e.user_toolbar.sys.exit.image_data=EXIT_STORY_GIF
328
- e.user_toolbar.sys.exit.event_class=QuitEvent
347
+ e.user_toolbar.sys.exit.image_data=!EXIT_STORY_GIF
348
+ e.user_toolbar.sys.exit.event_class=!QuitEvent
329
349
 
330
350
  user_toolbar_show=yes
331
351
  #:::::::::::::::: toolbar ::::::::::::::::::::::<end>
@@ -400,5 +420,4 @@ win::all.frame.title.font.italic=courier 9 italic
400
420
 
401
421
  #theme=default
402
422
  #theme=dark
403
- #theme=harlock
404
-
423
+ #theme=harlock
@@ -1,15 +1,39 @@
1
1
  # In this file init configuration
2
+ load_ok=true
3
+ if load_ok
4
+ begin
5
+ require 'rubygems' # for a few dependencies
6
+ rescue LoadError => e
7
+ load_ok=false
8
+ print <<EOL
9
+ ----------------------------------------------
10
+ *** LOAD ERROR ***
11
+ ----------------------------------------------
12
+ Arcadia require rubygems
13
+ you must install before run ...
14
+ ----------------------------------------------
15
+ EOL
16
+ end
17
+ end
2
18
 
19
+ if load_ok
3
20
  begin
4
21
  require 'tk'
5
22
  rescue LoadError => e
23
+ load_ok=false
6
24
  print <<EOL
25
+ ----------------------------------------------
26
+ *** LOAD ERROR ***
7
27
  ----------------------------------------------
8
28
  Arcadia require ruby-tk extension
9
29
  and tcl/tk run-time
10
30
  you must install before run ...
11
31
  ----------------------------------------------
12
32
  EOL
33
+ end
34
+ end
35
+
36
+ if !load_ok
13
37
  i=30
14
38
  l=i
15
39
  msg=e.message
@@ -21,7 +45,7 @@ while l < msg.length
21
45
  l=l+i
22
46
  end
23
47
  print <<EOL
24
- ---Tk LoadError Details-----------------------
48
+ ----- LoadError Details-----------------------
25
49
  Platform : "#{RUBY_PLATFORM}"
26
50
  Ruby version : "#{RUBY_VERSION}"
27
51
  Message :
@@ -30,5 +54,4 @@ print <<EOL
30
54
  EOL
31
55
  exit
32
56
  end
33
-
34
- Tk.tk_call "eval","set auto_path [concat $::auto_path tcl]"
57
+ Tk.tk_call "eval","set auto_path [concat $::auto_path tcl]"
@@ -1325,10 +1325,10 @@ eqrNtPhBLrRLK8ELJorJ12VRg0TI1EWXcT5/SWRUSwQAOw==
1325
1325
  EOS
1326
1326
 
1327
1327
  FOLDER_GIF=<<EOS
1328
- R0lGODlhEgASAKIHAAAAAO/Tpa2qrYSCAP///4SChPfjtf///yH5BAEAAAcA
1329
- LAAAAAASABIAAANOSLrcLsJJAlWlUcbLM/OXYShAE4mWIIrlR6wjxpovHANG
1330
- u5w2G+iWWg/wo/V8QErgmCs2AMSh0wFdroiAwoRQRRa02ypgkAVvudDveZ0A
1331
- ADs=
1328
+ R0lGODlhEgASAMIGAAAAAISCAISChK2qre/Tpffjtf///////yH+EUNyZWF0
1329
+ ZWQgd2l0aCBHSU1QACH5BAEAAAcALAAAAAASABIAAANSeLrcPsPJA42BCstx
1330
+ ebca431GUVhAw5ngYJqpWL4trM7vaQBFvKy5F4Dgy+CCwyLlmEuqCEEh0QEY
1331
+ Rp2SKlQKEEwOWhhR4P1qAYFu+QuuktnwBAA7
1332
1332
  EOS
1333
1333
 
1334
1334
  FIND_GIF=<<EOS
@@ -1580,3 +1580,55 @@ xxQPoTQwncWsRHdKKhGFX3Ys2XapysMBIB4Xy1zSNF2oL4nb4zYu5x3qgGwa
1580
1580
  EXkiZmd/BQMDdh1DRh4XRSoKBgKLbEJLHoR8JxoEjEtNm1krGgCZTUCDk6eC
1581
1581
  q0udLSdvrrS4ubghADs=
1582
1582
  EOS
1583
+
1584
+ FILE_ICON_DEFAULT=DOCUMENT_GIF
1585
+ FILE_ICON_RB=RUBY_DOCUMENT_GIF
1586
+ FILE_ICON_RBW=FILE_ICON_RB
1587
+
1588
+
1589
+ FILE_ICON_JAVA=<<EOS
1590
+ R0lGODlhEAAQAOMKAAAAAAAAQAAAVQAAgAAAqn8AAKoAAL8AAL9AAKpVAP//
1591
+ /////////////////////yH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEAAA8A
1592
+ LAAAAAAQABAAAARM8Mn5Er244C215ZN2gGFlkI9XfKSGgIQwIatEPEMgBTdG
1593
+ BDKBLkcMEAGDSfIh8+mYPaO0mBw0d5fY4zfpCYreLrBH+QnIMaqUsHxEAAA7
1594
+ EOS
1595
+
1596
+ FILE_ICON_RHTML=<<EOS
1597
+ R0lGODlhDwAOAMZOALQzPK0qMbVqepwfM68xN7U7PrhKR/r076UcJsh0Wffq
1598
+ 55QiOOS2sakkK9uqrLxUScNqVezNytyhmchyZ5EhNsJdTsp/Xr10gMNiUL5U
1599
+ Vc2BfO7XvdGMbYwjNblMVKIiNKYpPvDbyZgbMvXn2OrLtY4eMfn3975lUKkk
1600
+ NcVrZ7djb5EqP9GHhcudqu/U0t6umdmndp4mN+/S1Ojb3v77+q0tOqAvRbqD
1601
+ j4kcLZwQGf7+/KQyPPj49d+3hZ5YY9WPkMx4eqUmPNm4walHVdXX271caM2L
1602
+ ldiWiqcrMJlFUcNWYJQYK7dwfrQoOP////r6+v//////////////////////
1603
+ ////////////////////////////////////////////////////////////
1604
+ ////////////////////////////////////////////////////////////
1605
+ /////////////////////////////////////////////////ywAAAAADwAO
1606
+ AAAHs4BPQkwCTIaGhYhPTygDAA8THBIJJAkVBgCLH44PFRMyCgcHERMEiwNN
1607
+ TRMZGiQbJCQSLxqLKKmsIRsvDSkSEA+LqQQBPCMjCAUIBBwWwU0eGQcKCgEI
1608
+ 1jDNTyU1QAdOOi4AAQ0NHAmLODspTuwRBMMBJ+dPCwMu7E4KHgDDFtkeDhTg
1609
+ oxGgAL8EEBZRWDIDnxMXPwpgarKoAw4iDdkZmNgExaIVKygMECFiRxAQKG3c
1610
+ eBIIADs=
1611
+ EOS
1612
+
1613
+
1614
+ FILE_ICON_ERB=FILE_ICON_RHTML
1615
+
1616
+ FILE_ICON_XML=<<EOS
1617
+ R0lGODlhDwAQALMAAAAAADGcAAAAhACEhAAAzTFjnDFj/zGc/zHO/zH//1r/
1618
+ KYSEhKXO98bGxvf39////yH5BAEAAAoALAAAAAAPABAAAARXcMlJpbrr6c3b
1619
+ wtzmPE7zfBmpjiPgApnDjMNgkPMDP4zwDI/EwSeYwXqkQQIREIyKO6ThECAQ
1620
+ jbGcYItrpVir1c5RKJvNXg14TRqf3+kw2zGWh1/4PD4CADs=
1621
+ EOS
1622
+
1623
+ FILE_ICON_BAT=<<EOS
1624
+ R0lGODlhDwAPAMIGAAAAAICAAP//AAAAgICAgMDAwP///////ywAAAAADwAP
1625
+ AAADP0i63DUwykjejKWAUrP/X2WMZEmKJmEa6BhUQFC2hmwAAnAWZBDkuICO
1626
+ xRvhYrrNiCbwIXer4ay4SjWujKo2AQA7
1627
+ EOS
1628
+
1629
+ FILE_ICON_NO_EXT=<<EOS
1630
+ R0lGODlhDQANALMAAP////f39+/v7+fn59/f38bGxr6+vra2tmVlZQAAAAAA
1631
+ AAAAAAAAAAAAAAAAAAAAACH5BAAHAP8ALAAAAAANAA0AAAREEJhZpp2SgM13
1632
+ IFgnSkZgBkh6AhVgqmpAuieKmGQg7ELKzzzf73AIDI5IJEmATCVZhgFhmppO
1633
+ SQOOTCswSCqGAtgCiAAAOw==
1634
+ EOS