From 4defcc7aea988aba45832460b0c09445f1ec5a02 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Wed, 28 Jul 2021 21:03:26 +0800 Subject: [PATCH] release v3.5.1 --- .github/workflows/ci-linux.yml | 2 +- .github/workflows/ci-macos.yml | 2 +- .github/workflows/ci-win.yml | 2 +- changes.md | 3 +++ src/core/global.h | 4 ++-- src/data/core/vnotex.json | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index ab0ee429e7..9ebb73ef7c 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: env: - VNOTE_VER: 3.5.0 + VNOTE_VER: 3.5.1 jobs: build-linux: diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 27e6a043af..a632860475 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: env: - VNOTE_VER: 3.5.0 + VNOTE_VER: 3.5.1 jobs: build-linux: diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml index 35f4017999..afa79af953 100644 --- a/.github/workflows/ci-win.yml +++ b/.github/workflows/ci-win.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: env: - VNOTE_VER: 3.5.0 + VNOTE_VER: 3.5.1 jobs: build: diff --git a/changes.md b/changes.md index 2ef421e275..d85e8d3c36 100644 --- a/changes.md +++ b/changes.md @@ -1,4 +1,7 @@ # Changes +## v3.5.1 +* LocationList: fix recently introduced regression when highlighting segments of text + ## v3.5.0 * Support History * ViewArea diff --git a/src/core/global.h b/src/core/global.h index 29b8e4ee76..79f478ddf0 100644 --- a/src/core/global.h +++ b/src/core/global.h @@ -133,10 +133,10 @@ namespace vnotex int m_length = -1; }; - Q_DECLARE_METATYPE(Segment); - } // ns vnotex Q_DECLARE_OPERATORS_FOR_FLAGS(vnotex::FindOptions); +Q_DECLARE_METATYPE(vnotex::Segment); + #endif // GLOBAL_H diff --git a/src/data/core/vnotex.json b/src/data/core/vnotex.json index 28fd9b0ec4..44b6aeeb3a 100644 --- a/src/data/core/vnotex.json +++ b/src/data/core/vnotex.json @@ -3,7 +3,7 @@ "metadata" : { "//comment": "When releasing new version, please go through the following configs to check if override is needed.", "//Comment": "markdown_editor#override_viewer_resource", - "version" : "3.5.0" + "version" : "3.5.1" }, "core" : { "theme" : "pure",