Skip to content

Commit

Permalink
Rename menu item
Browse files Browse the repository at this point in the history
Changed "File > Assemble" to "File > Generate Assembly".

Also, correctly mark a read-only text field as such.
  • Loading branch information
fadden committed Apr 19, 2024
1 parent 89df327 commit 8532cfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SourceGen/AsmGen/WpfGui/GenAndAsm.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ limitations under the License.
<DockPanel Grid.Column="3" Grid.Row="2">
<TextBlock DockPanel.Dock="Left" Margin="0,1,0,0">Work directory:</TextBlock>
<TextBox DockPanel.Dock="Right" Name="workDirectoryTextBox" Margin="8,0,0,0"
Text="C:\this\that\theother"/>
IsReadOnly="True" Text="C:\this\that\theother"/>
</DockPanel>
</Grid>

Expand Down
2 changes: 1 addition & 1 deletion SourceGen/WpfGui/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ limitations under the License.
</Style>

<RoutedUICommand x:Key="AboutCmd" Text="About..."/>
<RoutedUICommand x:Key="AssembleCmd" Text="Assemble...">
<RoutedUICommand x:Key="AssembleCmd" Text="Generate Assembly...">
<RoutedUICommand.InputGestures>
<KeyGesture>Ctrl+Shift+A</KeyGesture>
</RoutedUICommand.InputGestures>
Expand Down
2 changes: 1 addition & 1 deletion docs/sgmanual/codegen.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>SourceGen: Code Generation &amp; Assembly</h1>
Every assembler is different, so support must be added to SourceGen
for each.</p>
<p>The generation / assembly dialog can be opened with
<samp>File &gt; Assemble</samp>.</p>
<samp>File &gt; Generate Assembly</samp>.</p>
<p>If you want to show code to others, perhaps by adding a page to
your web site, you can "export" the formatted code as text or HTML.
This is explained in more detail <a href="#export-source">below</a>.
Expand Down
3 changes: 2 additions & 1 deletion docs/sgtutorial/generating-code.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ <h2>Generating Code</h2>
</div>
<div class="grid-item-text">
<p>You can generate assembly source code from the disassembled data.
Select <samp>File &gt; Assemble</samp> (or hit <kbd class="key">Ctrl+Shift+A</kbd>)
Select <samp>File &gt; Generate Assembly</samp>
(or hit <kbd class="key">Ctrl+Shift+A</kbd>)
to open the source generation and assembly dialog.</p>
</div>
</div>
Expand Down

0 comments on commit 8532cfb

Please sign in to comment.