rwdfoldeditor 0.01 → 0.02
Sign up to get free protection for your applications and to get access to all the features.
- data/code/01rwdcore/01rwdcore.rb +2 -2
- data/code/superant.com.foldeditor/0uninstallapplet.rb +1 -1
- data/code/superant.com.foldeditor/helptexthashrwdhypernote.rb +16 -16
- data/code/superant.com.foldeditor/launchfoldeditorurl.rb +10 -0
- data/code/superant.com.foldeditor/listfoldeditorfiles.rb +1 -1
- data/code/superant.com.foldeditor/loadconfigurationrecord.rb +22 -0
- data/code/superant.com.foldeditor/loadconfigurationvariables.rb +14 -0
- data/code/superant.com.foldeditor/saveconfigurationrecord.rb +20 -0
- data/configuration/{rwdwfoldeditor-0.01.dist → rwdwfoldeditor-0.02.dist} +4 -2
- data/gui/tinkerbackwindows/superant.com.foldeditor/15htmlview.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.foldeditor/67viewconfiguration.rwd +27 -0
- data/installed/{rwdwfoldeditor-0.01.inf → rwdwfoldeditor-0.02.inf} +2 -2
- data/rwd_files/HowTo_FoldEditor.txt +4 -0
- data/tests/makedist-rwdwfoldeditor.rb +1 -1
- data/tests/makedist.rb +1 -1
- data/zips/rwdwfoldeditor-0.02.zip +0 -0
- metadata +10 -5
- data/zips/rwdwfoldeditor-0.01.zip +0 -0
data/code/01rwdcore/01rwdcore.rb
CHANGED
@@ -5,33 +5,33 @@
|
|
5
5
|
text notes can be entered and saved and organized into a fold link file
|
6
6
|
|
7
7
|
Notes can be saved in any structure you want in directories
|
8
|
-
|
8
|
+
<p>
|
9
9
|
|
10
10
|
There are tabs to enter notes and links and edit configurations
|
11
|
-
|
11
|
+
<p>
|
12
12
|
'View/Edit Document' - to create a note or edit and existing note
|
13
|
-
|
13
|
+
<p>
|
14
14
|
'FoldEditor File View' - to view and navigate the fold link file
|
15
|
-
|
15
|
+
<p>
|
16
16
|
'RwdFoldEditor edit file' - to edit change fold link files
|
17
17
|
",
|
18
|
-
:foldlinkview_help => "You can create or edit notes
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
'
|
23
|
-
|
24
|
-
|
25
|
-
|
18
|
+
:foldlinkview_help => "You can create or edit notes<p>
|
19
|
+
'Open Detail' to view the selected note you already have.<p>
|
20
|
+
'Save changes' to save your edits
|
21
|
+
<p>
|
22
|
+
'Create New Note' to start a new note<p>
|
23
|
+
Before you come to this tab, you need to visit the Foldeditor FileView to select
|
24
|
+
the note from the list in a fold file.
|
25
|
+
",
|
26
26
|
:foldlinkutility_help => "You can choose the link file to work on
|
27
|
-
|
27
|
+
<p>
|
28
28
|
You can edit links for note pages
|
29
|
-
|
29
|
+
<p>
|
30
30
|
You can open the link file if you have one already
|
31
|
-
|
31
|
+
<p>
|
32
32
|
You can see the list of link files by clicking 'List Local Link Files'
|
33
33
|
You can open one of those file
|
34
|
-
|
34
|
+
<p>
|
35
35
|
If you do not have a link file, you can create one with 'create link file' button
|
36
36
|
|
37
37
|
"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# this code is to list the fold files that are available
|
2
2
|
def loadfoldeditorlinkfilelist
|
3
3
|
|
4
|
-
fileList = Dir.new(
|
4
|
+
fileList = Dir.new($rwdfoldeditor_directory).entries.sort.delete_if { |x| ! (x =~ /fld$/) }
|
5
5
|
@foldeditorlinkfiles = fileList.rwd_options
|
6
6
|
end
|
7
7
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# this method puts the configuration rexord on the screen
|
2
|
+
def loadrwdfoldeditorconfiguration
|
3
|
+
|
4
|
+
require 'fileutils'
|
5
|
+
|
6
|
+
@a_foldeditconfigurationfilename = "rwdwfoldeditor-" + RwdFoldEditorVersion + ".cnf"
|
7
|
+
|
8
|
+
|
9
|
+
begin # exception trapped block
|
10
|
+
|
11
|
+
Dir.chdir($progdir)
|
12
|
+
fileName = File.join(ConfigurationDir, @a_foldeditconfigurationfilename )
|
13
|
+
|
14
|
+
|
15
|
+
fd = File.open(fileName,"r")
|
16
|
+
@a_foldeditconfigurationfile= fd.read
|
17
|
+
fd.close
|
18
|
+
rescue SystemCallError, StandardError
|
19
|
+
$stderr.print "system call error: " + $!
|
20
|
+
end # exception rescue
|
21
|
+
|
22
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# this method loads the on screen variables into the running class
|
2
|
+
def loadrwdfoldeditorconfigurationvariables
|
3
|
+
|
4
|
+
tmpfilename = "rwdwfoldeditor-" + RwdFoldEditorVersion + ".cnf"
|
5
|
+
configfiletoload = File.join(ConfigurationDir, tmpfilename )
|
6
|
+
begin
|
7
|
+
load configfiletoload
|
8
|
+
@extrahypconfigdatadisplay = ""
|
9
|
+
@newhypconfigurationresult = "Config Variables loaded"
|
10
|
+
rescue
|
11
|
+
@extrahypconfigdatadisplay = ""
|
12
|
+
@newhypconfigurationresult = "loading error"
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# this method saves configuration record
|
2
|
+
def saverwdfoldeditorconfiguration
|
3
|
+
require 'fileutils'
|
4
|
+
|
5
|
+
|
6
|
+
newname = "rwdwfoldeditor-" + RwdFoldEditorVersion + ".cnf" # grab the filename to create
|
7
|
+
newdata = @a_foldeditconfigurationfile
|
8
|
+
|
9
|
+
|
10
|
+
begin # exception trapped block
|
11
|
+
fileName = File.join( ConfigurationDir, newname )
|
12
|
+
fd = File.open(fileName,"w")
|
13
|
+
fd.print(newdata) # save the record info to the file
|
14
|
+
fd.close
|
15
|
+
@newconfigurationresult=newdata # show the record info in the browser
|
16
|
+
rescue SystemCallError, StandardError
|
17
|
+
$stderr.print "system call error: " + $!
|
18
|
+
end # exception rescue
|
19
|
+
|
20
|
+
end
|
@@ -1,6 +1,8 @@
|
|
1
|
-
##VERSION:0.
|
1
|
+
##VERSION:0.02
|
2
2
|
##NAME:$rwdfoldeditor_directory:0
|
3
3
|
$rwdfoldeditor_directory = "rwd_files"
|
4
|
+
##NAME:$foldeditorbrowser:0
|
5
|
+
$foldeditorbrowser = "firefox"
|
4
6
|
##NAME:$testharnesssarray:0
|
5
7
|
$testharnessarray += ["rwdfoldeditor_all_tests"]
|
6
8
|
$tinkerhelpaboutarray += ["RwdFoldEditor"]
|
@@ -8,5 +10,5 @@ $tinkerdocumentsarray += ["HowTo_FoldEditor.txt"]
|
|
8
10
|
JumpLink.update(:RwdFoldEditor=>"runrwdfoldeditorwindow")
|
9
11
|
$rwdjumplink +=["RwdFoldEditor"]
|
10
12
|
##NAME:RwdFoldEditorVersion:0
|
11
|
-
RwdFoldEditorVersion = "0.
|
13
|
+
RwdFoldEditorVersion = "0.02"
|
12
14
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"viewrwdfoldeditorconfiguration\" caption=\"RwdFoldEditor Configuration\">
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
<table>
|
8
|
+
<row> <p> </row>
|
9
|
+
<row> <p align=\"right\">You can view or edit the rwdfoldeditor configuration file here</row>
|
10
|
+
<row> <p> </row>
|
11
|
+
<horizontal>
|
12
|
+
<button caption=\"Fill Record\" action=\"loadrwdfoldeditorconfiguration\"/>
|
13
|
+
<button caption=\"Save Changes\" action=\"saverwdfoldeditorconfiguration\"/>
|
14
|
+
<button caption=\"Reload Variables\" action=\"loadrwdfoldeditorconfigurationvariables\"/>
|
15
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdfoldeditor\"/>
|
16
|
+
</horizontal>
|
17
|
+
<table>
|
18
|
+
|
19
|
+
<textarea name=\"a_foldeditconfigurationfile\"/> </row>
|
20
|
+
|
21
|
+
</table>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
</tab>"
|
27
|
+
|
@@ -4,8 +4,8 @@ code/superant.com.foldeditor
|
|
4
4
|
tests/makedist-rwdwfoldeditor.rb
|
5
5
|
tests/gemspec-rwdwfoldeditor
|
6
6
|
rwd_files/HowTo_FoldEditor.txt
|
7
|
-
configuration/rwdwfoldeditor-0.
|
8
|
-
configuration/rwdwfoldeditor-0.
|
7
|
+
configuration/rwdwfoldeditor-0.02.cnf
|
8
|
+
configuration/rwdwfoldeditor-0.02.dist
|
9
9
|
rwd_files/default.fld
|
10
10
|
rwd_files/rwdhypernote-0.13.fld
|
11
11
|
|
data/tests/makedist.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rwdfoldeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.02"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Gibson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-14 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -89,15 +89,19 @@ files:
|
|
89
89
|
- code/superant.com.foldeditor/openhelpwindowrwdhyernote.rb
|
90
90
|
- code/superant.com.foldeditor/changehypernotename.rb
|
91
91
|
- code/superant.com.foldeditor/loadrwdfoldeditlinkfile.rb
|
92
|
+
- code/superant.com.foldeditor/saveconfigurationrecord.rb
|
92
93
|
- code/superant.com.foldeditor/0uninstallapplet.rb
|
93
94
|
- code/superant.com.foldeditor/rwdtinkerversion.rb
|
95
|
+
- code/superant.com.foldeditor/loadconfigurationrecord.rb
|
94
96
|
- code/superant.com.foldeditor/rwddisplayfoldlinks.rb
|
95
97
|
- code/superant.com.foldeditor/helptexthashrwdhypernote.rb
|
96
98
|
- code/superant.com.foldeditor/createnewnotehtml.rb
|
97
99
|
- code/superant.com.foldeditor/hyperlinkcreatelinkfile.rb
|
100
|
+
- code/superant.com.foldeditor/loadconfigurationvariables.rb
|
98
101
|
- code/superant.com.foldeditor/listfoldeditorfiles.rb
|
99
102
|
- code/superant.com.foldeditor/loadfolddocument.rb
|
100
103
|
- code/superant.com.foldeditor/choosenotefile.rb
|
104
|
+
- code/superant.com.foldeditor/launchfoldeditorurl.rb
|
101
105
|
- code/superant.com.foldeditor/chooselinkfile.rb
|
102
106
|
- code/superant.com.foldeditor/savefoldlinkfile.rb
|
103
107
|
- code/superant.com.foldeditor/runrwdapplet.rb
|
@@ -105,7 +109,7 @@ files:
|
|
105
109
|
- configuration/tinkerwin2variables.dist
|
106
110
|
- configuration/language.dist
|
107
111
|
- configuration/rwdapplicationidentity.dist
|
108
|
-
- configuration/rwdwfoldeditor-0.
|
112
|
+
- configuration/rwdwfoldeditor-0.02.dist
|
109
113
|
- lang/en/rwdcore/languagefile.rb
|
110
114
|
- lang/es/rwdcore/languagefile-es.rb
|
111
115
|
- lang/fr/rwdcore/languagefile.rb
|
@@ -131,6 +135,7 @@ files:
|
|
131
135
|
- gui/tinkerbackwindows/superant.com.foldeditor/56viewfold.rwd
|
132
136
|
- gui/tinkerbackwindows/superant.com.foldeditor/15htmlview.rwd
|
133
137
|
- gui/tinkerbackwindows/superant.com.foldeditor/9end.rwd
|
138
|
+
- gui/tinkerbackwindows/superant.com.foldeditor/67viewconfiguration.rwd
|
134
139
|
- gui/tinkerbackwindows/superant.com.foldeditor/10aviewnote.rwd
|
135
140
|
- gui/tinkerbackwindows/superant.com.foldeditor/10appletbegin.rwd
|
136
141
|
- gui/tinkerbackwindows/superant.com.foldeditor/81jumplinkcommands.rwd
|
@@ -150,7 +155,7 @@ files:
|
|
150
155
|
- gui/frontwindowselections/00selectiontabbegin.rwd
|
151
156
|
- gui/zzcoreguiend/yy9rwdend.rwd
|
152
157
|
- installed/temp.rb
|
153
|
-
- installed/rwdwfoldeditor-0.
|
158
|
+
- installed/rwdwfoldeditor-0.02.inf
|
154
159
|
- rwd_files/tinker.png
|
155
160
|
- rwd_files/favicon.ico
|
156
161
|
- rwd_files/default.fld
|
@@ -164,7 +169,7 @@ files:
|
|
164
169
|
- rwd_files/HowTo_FoldEditor.txt
|
165
170
|
- zips/rwdwgutenberg-0.09.zip
|
166
171
|
- zips/temp.rb
|
167
|
-
- zips/rwdwfoldeditor-0.
|
172
|
+
- zips/rwdwfoldeditor-0.02.zip
|
168
173
|
- zips/rwdwcalc-0.61.zip
|
169
174
|
- zips/rwdwshell-1.04.zip
|
170
175
|
- zips/rwdwaddresses-1.05.zip
|
Binary file
|