Update internal manual

This commit is contained in:
Skylar Ittner 2015-12-03 17:10:59 -07:00
parent e2dcf6515c
commit 40cea4cf2e
6 changed files with 27 additions and 10 deletions

View File

@ -66,15 +66,16 @@
<Component class="javax.swing.JList" name="topicList"> <Component class="javax.swing.JList" name="topicList">
<Properties> <Properties>
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor"> <Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
<StringArray count="8"> <StringArray count="9">
<StringItem index="0" value="Welcome"/> <StringItem index="0" value="Welcome"/>
<StringItem index="1" value="Basics"/> <StringItem index="1" value="Basics"/>
<StringItem index="2" value="Editor"/> <StringItem index="2" value="Editor"/>
<StringItem index="3" value="Pads"/> <StringItem index="3" value="Pads"/>
<StringItem index="4" value="Graphing"/> <StringItem index="4" value="Graphing"/>
<StringItem index="5" value="Tasks"/> <StringItem index="5" value="Notepad"/>
<StringItem index="6" value="Commands"/> <StringItem index="6" value="Tasks"/>
<StringItem index="7" value="Licenses"/> <StringItem index="7" value="Commands"/>
<StringItem index="8" value="Licenses"/>
</StringArray> </StringArray>
</Property> </Property>
<Property name="selectionMode" type="int" value="0"/> <Property name="selectionMode" type="int" value="0"/>

View File

@ -127,7 +127,11 @@ public class Help extends javax.swing.JInternalFrame {
setBackground(Color.LIGHT_GRAY); setBackground(Color.LIGHT_GRAY);
styleloaded = 0; styleloaded = 0;
} }
loadTopic(topicList.getSelectedValue().toString().toLowerCase()); try {
loadTopic(topicList.getSelectedValue().toString().toLowerCase());
} catch (Exception ex) {
loadTopic("welcome");
}
} }
} }
@ -172,7 +176,7 @@ public class Help extends javax.swing.JInternalFrame {
jSplitPane1.setResizeWeight(0.1); jSplitPane1.setResizeWeight(0.1);
topicList.setModel(new javax.swing.AbstractListModel() { topicList.setModel(new javax.swing.AbstractListModel() {
String[] strings = { "Welcome", "Basics", "Editor", "Pads", "Graphing", "Tasks", "Commands", "Licenses" }; String[] strings = { "Welcome", "Basics", "Editor", "Pads", "Graphing", "Notepad", "Tasks", "Commands", "Licenses" };
public int getSize() { return strings.length; } public int getSize() { return strings.length; }
public Object getElementAt(int i) { return strings[i]; } public Object getElementAt(int i) { return strings[i]; }
}); });

View File

@ -8,6 +8,7 @@
<br>Try typing commands, like "2*2" or "sin(.5)". <br>Try typing commands, like "2*2" or "sin(.5)".
<br>You can make variables too, try "x=.5" then "sin(x)". <br>You can make variables too, try "x=.5" then "sin(x)".
<br><br>SyMAT keeps track of the last few commands you enter in a shell. <br><br>SyMAT keeps track of the last few commands you enter in a shell.
To run one again, use the up and down keys to navigate the history.</p> To run one again, use the up and down keys to navigate the history.
<br><br>To see a list of special SyMAT commands, press Ctrl-Space while editing code.</p>
</body> </body>
</html> </html>

View File

@ -0,0 +1,11 @@
<html>
<head>
<title>Notepad</title>
</head>
<body>
<h1>Notepad</h1>
<p>
The Notepad is a window that automatically remembers what you type. Save reminders, code snippets, and more.
</p>
</body>
</html>

View File

@ -10,7 +10,7 @@
servers. Share the address SyMAT gives you, and other people can servers. Share the address SyMAT gives you, and other people can
access the script online. access the script online.
<br>To access a script, open Pads from the Tools tab. <br>To access a script, open Pads from the Tools tab.
You can add, share, edit, and download pads from this window. You can add, share, edit, run, and download pads from this window.
</p> </p>
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
<body> <body>
<h1>Task Lists</h1> <h1>Task Lists</h1>
<p> <p>
Create a new Task List from the SyMAT Menu or the Tools tab. Create a new Task List from the SyMAT Menu or the Ribbon.
<br>Items can be added from the Edit menu. <br>Items can be added from the Edit menu.
To change the values of a task item, To change the values of a task item,
click the corresponding menu button. click the corresponding menu button.