From 8d9a27ae0c9f2976222b153d4b4c0b17e590f6ea Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Sat, 13 Nov 2021 15:46:59 -0800 Subject: [PATCH] Minor word-smithing on Tips Also, tweaked the HTML templates. --- SourceGen/RuntimeData/ExportTemplate.html | 7 +++---- SourceGen/RuntimeData/SGStyle.css | 7 +++++++ SourceGen/RuntimeData/Tips/daily-tips.json | 16 ++++++++-------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/SourceGen/RuntimeData/ExportTemplate.html b/SourceGen/RuntimeData/ExportTemplate.html index ac6f3f8..10deaa5 100644 --- a/SourceGen/RuntimeData/ExportTemplate.html +++ b/SourceGen/RuntimeData/ExportTemplate.html @@ -3,12 +3,11 @@ - $ProjectName$ Disassembly - - - + + + $ProjectName$ Disassembly diff --git a/SourceGen/RuntimeData/SGStyle.css b/SourceGen/RuntimeData/SGStyle.css index 10f492d..c8e15b9 100644 --- a/SourceGen/RuntimeData/SGStyle.css +++ b/SourceGen/RuntimeData/SGStyle.css @@ -10,6 +10,13 @@ body { font-size: 14px; /* 16 recommended for mobile */ padding: 0px; margin: 20px 10px 10px 10px; /* TRBL order */ + + /* + * For white text on black background, uncomment this, and + * update the link text colors below. + */ + /* color: white; + background-color: black; */ } table, th, td { border: 1px solid black; diff --git a/SourceGen/RuntimeData/Tips/daily-tips.json b/SourceGen/RuntimeData/Tips/daily-tips.json index 1b0410d..b1367ba 100644 --- a/SourceGen/RuntimeData/Tips/daily-tips.json +++ b/SourceGen/RuntimeData/Tips/daily-tips.json @@ -21,29 +21,29 @@ "Image" : "pseudo-op-names.png" }, { - "Text" : "The References window shows all locations that reference the selected line. Double-click on an entry to jump directly there." + "Text" : "The References window lists all locations that reference the currently-selected line. Double-click on an entry in the list to jump to the referring location." }, { - "Text" : "Use the Goto feature (Ctrl+G) to jump to an address, file offset, or label." + "Text" : "Use the Go To feature (Ctrl+G) to jump to an address, file offset, or label." }, { - "Text" : "All actions that affect the project are added to the undo/redo buffer. Feel free to experiment." + "Text" : "All actions that affect the project are added to the undo/redo buffer. Use the Navigate menu to jump to the last change." }, { - "Text" : "Notes are like full-line comments, but they don't appear in generated source code, so you can use them to make notes while you work. They also serve as color-coded bookmarks.", + "Text" : "Notes are like full-line comments, but they don't appear in generated source code, so you can use them to leave notes for yourself while you work. They also serve as color-coded bookmarks.", "Image" : "note-sample.png" }, { - "Text" : "You're not limited to global labels. You can create non-unique local labels, like \"@LOOP\", and define multiple labels for zero-page addresses in Local Variable Tables." + "Text" : "You're not limited to global labels. You can create non-unique local labels, like \"@LOOP\", and define multiple labels for zero-page addresses with Local Variable Tables." }, { - "Text" : "You can copy and paste lines from the disassembly listing as text simply by selecting them and hitting Ctrl+C. This can be handy for bug reports and online forum postings. The set of columns copied can be chosen in the application settings." + "Text" : "You can copy and paste lines from the disassembly listing as text simply by selecting them and hitting Ctrl+C. This can be handy for bug reports and online forum postings. The set of columns copied can be changed in the application settings." }, { - "Text" : "2D bitmap images and 3D wireframe meshes can be converted to images that are displayed inline. This can make it much easier to figure out what a piece of code is drawing." + "Text" : "2D bitmap images and 3D wireframe meshes can be converted to images that are displayed in the listing. This can make it much easier to figure out what a piece of code is drawing." }, { - "Text" : "Large tables of pointers to code and data can be formatted with a single operation. Various arrangements of address bytes are supported, including low/high parts split into separate tables." + "Text" : "Large tables of pointers to code and data can be formatted with a single operation. Various arrangements of address bytes are supported, including low/high parts split across separate tables." }, { "Text" : "Source code can be generated for several cross-assemblers, or exported to HTML with embedded graphics. Animations can be exported as animated GIFs."