Skip to content

Commit

Permalink
some minor tweaks in prep for 2025.1 release (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
eteran authored Jan 11, 2025
1 parent 8693dbf commit 3703305
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

project(nedit-ng
LANGUAGES CXX
VERSION 2020.1)
VERSION 2025.1)

enable_testing()

Expand Down
2 changes: 1 addition & 1 deletion Util/include/Util/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef VERSION_H_
#define VERSION_H_

constexpr auto NEDIT_VERSION_MAJ = 2020;
constexpr auto NEDIT_VERSION_MAJ = 2025;
constexpr auto NEDIT_VERSION_REV = 1;
constexpr auto NEDIT_VERSION = (NEDIT_VERSION_MAJ * 1000 + NEDIT_VERSION_REV);

Expand Down
2 changes: 2 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ words:
- Greef
- konsole
- Markus
- metacharacter
- metacharacters
- nedit
- overtype
- pixmap
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extra_css:
- css/extra.css
- css/version-select.css
extra:
version: 2020.1
version: 2025.1
nav:
- Welcome: index.md
- Getting Started: 01.md
Expand Down
8 changes: 4 additions & 4 deletions src/Tags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,9 +846,9 @@ bool addRelTagsFile(const QString &tagSpec, const QString &windowPath, SearchMod

QString pathName;
if (!windowPath.isEmpty()) {
pathName = tr("%1/%2").arg(windowPath, filename);
pathName = QStringLiteral("%1/%2").arg(windowPath, filename);
} else {
pathName = tr("%1/%2").arg(QDir::currentPath(), filename);
pathName = QStringLiteral("%1/%2").arg(QDir::currentPath(), filename);
}

pathName = NormalizePathname(pathName);
Expand Down Expand Up @@ -916,7 +916,7 @@ bool addTagsFile(const QString &tagSpec, SearchMode mode) {

QString pathName;
if (!QFileInfo(filename).isAbsolute()) {
pathName = tr("%1/%2").arg(QDir::currentPath(), filename);
pathName = QStringLiteral("%1/%2").arg(QDir::currentPath(), filename);
} else {
pathName = filename;
}
Expand Down Expand Up @@ -989,7 +989,7 @@ bool deleteTagsFile(const QString &tagSpec, SearchMode mode, bool force_unload)

QString pathName;
if (!QFileInfo(filename).isAbsolute()) {
pathName = tr("%1/%2").arg(QDir::currentPath(), filename);
pathName = QStringLiteral("%1/%2").arg(QDir::currentPath(), filename);
} else {
pathName = filename;
}
Expand Down

0 comments on commit 3703305

Please sign in to comment.