Minor update

This commit is contained in:
Roy Qu 2023-10-27 09:49:34 +08:00
parent c0e9a324f5
commit 9a51678d09
5 changed files with 279 additions and 274 deletions

View File

@ -1420,7 +1420,7 @@ void MainWindow::updateStatusbarForLineCol(const Editor* e, bool clear)
int col = e->charToColumn(e->caretY(),e->caretX());
QString msg;
if (e->selAvail()) {
msg = tr("Line: %1 Col: %2 (%3 chars) Lines: %4")
msg = tr("Line: %1 Col: %2 Sel:%3 Lines: %4")
.arg(e->caretY())
.arg(col)
.arg(e->selText().length())

View File

@ -36,6 +36,7 @@ public:
const StatementMap& childrenStatements(const PStatement& statement = PStatement()) const;
const StatementMap& childrenStatements(std::weak_ptr<Statement> statement) const;
void clear();
int count() const { return mCount; }
#ifdef QT_DEBUG
void dump(const QString& logFile);
void dumpAll(const QString& logFile);

View File

@ -5388,7 +5388,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Line: %1 Col: %2 (%3 chars) Lines: %4</source>
<source>Line: %1 Col: %2 Sel:%3 Lines: %4</source>
<translation type="unfinished"></translation>
</message>
</context>

File diff suppressed because it is too large Load Diff

View File

@ -5109,7 +5109,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Line: %1 Col: %2 (%3 chars) Lines: %4</source>
<source>Line: %1 Col: %2 Sel:%3 Lines: %4</source>
<translation type="unfinished"></translation>
</message>
</context>