Przeglądaj źródła

update changes.md

Le Tan 7 lat temu
rodzic
commit
a4d6f042ef
2 zmienionych plików z 18 dodań i 2 usunięć
  1. 16 0
      changes.md
  2. 2 2
      src/veditor.cpp

+ 16 - 0
changes.md

@@ -1,4 +1,20 @@
 # Changes History
+## v2.0
+- Vim: support specifying leader key via "[editor]/vim_leader_key";
+- LivePreview
+    - Smart live preview for PlantUML (Live Preview Tunnel);
+    - Expand live preview area via `Ctrl+E U`;
+- In-Place Preview: support in-place preview for online PlantUML;
+- Captain: fix captain mode shortcuts in different keyboard layout (Linux/Windows only);
+- Quick Access: specify a note for quick access via `Ctrl+Alt+I`;
+- Magic Word: support `%att%` as the relative path of the attachment folder;
+- Search: highlight matches of full-text search results in page in edit mode;
+- Editor
+    - Allow inserting link or content when dropping files in;
+    - Support highlighting tabs;
+- Support parsing HTML tables without head;
+- Export: support outline panel in exported HTML files;
+
 ## v1.22
 - Editor
     - Support parsting HTML as converted Markdown text;

+ 2 - 2
src/veditor.cpp

@@ -777,7 +777,7 @@ bool VEditor::findText(const VSearchToken &p_token, bool p_forward, bool p_fromS
 
         highlightSearchedWordUnderCursor(tcursor);
 
-        emit m_object->statusMessage(QObject::tr("Match found: %2 of %3")
+        emit m_object->statusMessage(QObject::tr("Match found: %1 of %2")
                                                 .arg(idx + 1)
                                                 .arg(result.size()));
     }
@@ -834,7 +834,7 @@ bool VEditor::findTextInRange(const QString &p_text,
 
         highlightSearchedWordUnderCursor(tcursor);
 
-        emit m_object->statusMessage(QObject::tr("Match found: %2 of %3")
+        emit m_object->statusMessage(QObject::tr("Match found: %1 of %2")
                                                 .arg(idx + 1)
                                                 .arg(result.size()));
     }