mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-11-22 00:31:04 +00:00
Fixed typos
This commit is contained in:
parent
c3c80f9f1e
commit
d136148a3b
@ -22,7 +22,7 @@ There is also a Hex/Decimal converter utility and some in-app documentation for
|
||||
In the pipeline are some more useful features (as I get a chance):
|
||||
* Syntax Highlighting **(Currently in progress!)**
|
||||
* More low-level disk exploration tools (sector-level stuff, comparing DOS versions between disks, etc.)
|
||||
* More analysis of AppleSoft programs (Tracing flow control; determining unaccessable lines of code; finding addresses of PEEKS, POKES, CALLS, USRs, and &'s)
|
||||
* More analysis of Applesoft programs (Tracing flow control; determining unaccessable lines of code; finding addresses of PEEKS, POKES, CALLS, USRs, and &'s)
|
||||
* Processing and analysis of Integer Basic files
|
||||
* Much more robust disassembly tools:
|
||||
* Handling differences between 6502/65C02/65816 ops, as well as "undocumented" ops on the original 6502
|
||||
|
@ -495,7 +495,7 @@ QList<ApplesoftToken> ApplesoftRetokenizer::retokenizeNegativeNumbers(QList<Appl
|
||||
// A = 1 - - 4 should
|
||||
// A = 1 - - - 4 should, probably, but it's errorprone to say the least,
|
||||
// as are any multiple arbitrary +/-'s. Have to hope for the best here.
|
||||
// Best bet would be to look at how AppleSoft handles these values.
|
||||
// Best bet would be to look at how Applesoft handles these values.
|
||||
// A = - 0 is the same as 0
|
||||
|
||||
ApplesoftToken token;
|
||||
|
@ -16,7 +16,7 @@ ApplesoftFileViewer::ApplesoftFileViewer(QWidget *parent) :
|
||||
m_afdv = Q_NULLPTR;
|
||||
|
||||
QSettings settings;
|
||||
QString title = QString("AppleSoft Viewer");
|
||||
QString title = QString("Applesoft Viewer");
|
||||
m_title = title;
|
||||
setWindowTitle(title);
|
||||
|
||||
@ -266,7 +266,7 @@ void ApplesoftFileViewer::setFile(ApplesoftFile *file) {
|
||||
m_file = file;
|
||||
m_formatter->setFile(file);
|
||||
|
||||
QString title = QString("AppleSoft Viewer: %1").arg(m_file->filename());
|
||||
QString title = QString("Applesoft Viewer: %1").arg(m_file->filename());
|
||||
m_title = title;
|
||||
setWindowTitle(title);
|
||||
QTextDocument *doc = ui->textArea->document();
|
||||
@ -349,14 +349,23 @@ void ApplesoftFileViewer::doPrint()
|
||||
QPrinter printer;
|
||||
|
||||
QPrintDialog dialog(&printer, this);
|
||||
dialog.setWindowTitle(tr("Print AppleSoft File"));
|
||||
dialog.setWindowTitle(tr("Print Applesoft File"));
|
||||
if (ui->textArea->textCursor().hasSelection())
|
||||
dialog.addEnabledOption(QAbstractPrintDialog::PrintSelection);
|
||||
if (dialog.exec() != QDialog::Accepted) {
|
||||
return;
|
||||
}
|
||||
|
||||
ui->textArea->print(&printer);
|
||||
QTextDocument printDoc;
|
||||
QFont printFont("Courier",10);
|
||||
printDoc.setDefaultFont(printFont);
|
||||
QTextOption printOptions;
|
||||
printOptions.setWrapMode(QTextOption::WrapAtWordBoundaryOrAnywhere);
|
||||
printDoc.setDefaultTextOption(printOptions);
|
||||
m_formatter->formatDocument(&printDoc);
|
||||
printDoc.print(&printer);
|
||||
|
||||
//ui->textArea->document()->print(&printer);
|
||||
}
|
||||
|
||||
bool ApplesoftFileViewer::canExport() const { return true; }
|
||||
@ -367,7 +376,7 @@ void ApplesoftFileViewer::doExport()
|
||||
QDir savename = QDir(defaultPath).filePath(m_file->filename()+".txt");
|
||||
|
||||
QString saveName = QFileDialog::getSaveFileName(this,
|
||||
tr("Export AppleSoft"), savename.path(), tr("Text Files (*.txt)"));
|
||||
tr("Export Applesoft"), savename.path(), tr("Text Files (*.txt)"));
|
||||
|
||||
if (saveName == "") return; // User cancelled
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user