Browse Source

release v3.3.0 (#1794)

Le Tan 4 years ago
parent
commit
88a3ee183f

+ 1 - 1
.github/workflows/ci-linux.yml

@@ -10,7 +10,7 @@ on:
   workflow_dispatch:
 
 env:
-    VNOTE_VER: 3.2.0
+    VNOTE_VER: 3.3.0
 
 jobs:
   build-linux:

+ 1 - 1
.github/workflows/ci-macos.yml

@@ -10,7 +10,7 @@ on:
   workflow_dispatch:
 
 env:
-    VNOTE_VER: 3.2.0
+    VNOTE_VER: 3.3.0
 
 jobs:
   build-linux:

+ 1 - 1
.github/workflows/ci-win.yml

@@ -10,7 +10,7 @@ on:
   workflow_dispatch:
 
 env:
-    VNOTE_VER: 3.2.0
+    VNOTE_VER: 3.3.0
 
 jobs:
   build:

+ 5 - 0
changes.md

@@ -1,4 +1,9 @@
 # Changes
+## v3.3.0
+* Editor: support auto indent, auto list
+* Support opening notes with external programs
+* Add a delay after code/math blocks update before preview
+
 ## v3.2.0
 * Support local PlantUml and Graphviz rendering
 * Add shortcuts to tab navigation in ViewSplit

+ 1 - 1
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.2.0"
+        "version" : "3.3.0"
     },
     "core" : {
         "theme" : "pure",

+ 0 - 1
src/widgets/editors/previewhelper.cpp

@@ -5,7 +5,6 @@
 #include <QTextBlock>
 #include <QTimer>
 
-#include <vtextedit/pegmarkdownhighlighterdata.h>
 #include <vtextedit/texteditorconfig.h>
 #include <vtextedit/previewmgr.h>
 #include <vtextedit/textutils.h>

+ 2 - 6
src/widgets/editors/previewhelper.h

@@ -6,6 +6,8 @@
 
 #include <vtextedit/global.h>
 #include <vtextedit/lrucache.h>
+#include <vtextedit/pegmarkdownhighlighterdata.h>
+
 #include <core/global.h>
 #include "markdownvieweradapter.h"
 
@@ -14,12 +16,6 @@ class QTextDocument;
 
 namespace vte
 {
-    namespace peg
-    {
-        struct FencedCodeBlock;
-        struct MathBlock;
-    }
-
     struct PreviewItem;
 }