523 Commits

Author SHA1 Message Date
Le Tan
b4873feb41 exporter: OK button to close dialog after exported 2017-07-22 12:21:48 +08:00
Le Tan
226263f77c bug-fix: save wrong geometry state in single panel view 2017-07-21 22:09:40 +08:00
Le Tan
365c0ce91f vim-mode: disable input method in Command type in command line edit 2017-07-20 19:20:04 +08:00
Le Tan
8a6ce16db5 support drag and drop into edit area to open external files 2017-07-20 19:19:28 +08:00
Le Tan
d0bcd7a2c6 vim-mode: make cursor block visible after actions 2017-07-19 20:25:28 +08:00
Le Tan
561cc91069 refine Chinese translations 2017-07-18 21:05:04 +08:00
Le Tan
0b9d259de6 support opening external files from context menu in system browser 2017-07-18 14:36:15 +08:00
Le Tan
e33ff1fede add Info action to tab context menu 2017-07-17 10:10:18 +08:00
Le Tan
8a56dc8b87 support editing external files 2017-07-15 12:46:04 +08:00
Le Tan
30c9403a21 release v1.7 v1.7 2017-07-14 21:40:14 +08:00
Le Tan
ecd3e65a2d refine Chinese translations 2017-07-14 21:22:04 +08:00
Le Tan
fea491d938 web-view: support title navigation shortcuts
Like Vim mode, support following title navigtion shortcuts:

[[, ]], [], ][, [{, ]}.
2017-07-14 19:37:51 +08:00
Le Tan
5ad99ee9b8 bug-fix: * will recursively expand the directory tree causing crash
We build the complete subtree before expanding to avoid crash.
2017-07-14 19:34:29 +08:00
Le Tan
eb71c8eff1 vim-mode: support Ctrl+R to read a register
Support `Ctrl+R` to read a register both in Insert mode and command line.
2017-07-14 10:13:55 +08:00
Le Tan
cd2ac10509 vim-mode: refine command line mode
1. Support `/` and `?` to search. `N` and `Shift+N` to find next/previous
occurence.
2. `Ctrl+N` and `Ctrl+Shift+N` to navigate through the command history.
3. `:nohlsearch` or `<leader><space>` to clear search highlight.
4. `#` and `*` to search current word under cursor.
2017-07-13 18:26:38 +08:00
Le Tan
c53950fe77 refine find/replace logics
Do not select the found target. Use highlight instead.
2017-07-12 13:16:14 +08:00
Le Tan
0d0f6d4e47 refine line number area 2017-07-11 19:47:43 +08:00
Le Tan
ba84489c68 support custom shortcuts 2017-07-11 09:13:32 +08:00
Le Tan
301879c50c edit-tab: init editor at the first time entering edit mode
Do not init the editor if we just open a note in read mode to speed up.
2017-07-10 13:23:07 +08:00
Le Tan
4374f2d8f1 editor: add line number and editor-line-number config 2017-07-07 17:21:15 +08:00
Le Tan
7fe89d816b refine inline functions in VConfigManager 2017-07-07 11:08:45 +08:00
Le Tan
95a46c9d31 create an artifact on appveyor containing only exe for update test 2017-07-06 21:48:47 +08:00
Le Tan
6fd92f915b toolbar: implement strikethrough and add shortcut tips 2017-07-06 20:40:23 +08:00
Le Tan
71bcfe3019 vim-mode
- `Ctrl+Tab` and `Ctrl+Shift+Tab` in Normal mode to alternate tabs;
- Support `:<num>` command for line jump;
- Support `%`;
2017-07-05 19:42:40 +08:00
Le Tan
33146efcd9 bug-fix: copying image/imageURl in read mode fails due to URL encoding on Windows 2017-07-05 11:37:29 +08:00
Le Tan
f9f7a365f8 add toolbar for text editing
Bold, italic, underline, strikethrough, inline code.

Underline and strikethrough are not implemented yet.
2017-07-04 14:07:48 +08:00
Le Tan
b73f30222d refine search_wrap.svg with logo color 2017-07-03 21:44:42 +08:00
Le Tan
c4683dd232 vim-mode: support ~ to reverse case 2017-07-03 21:22:06 +08:00
Le Tan
a87048cac2 bug-fix: compare two paths with case convertion on Windows
On Windows, case difference in file name is ignored.
2017-07-03 19:09:50 +08:00
Le Tan
a802222b06 constrain the length of the inserted image file 2017-07-02 17:52:11 +08:00
Le Tan
c48d646a55 vim-mode: auto disable input method in non-Insert mode
Add config "enable_smart_im_in_vim_mode".
2017-07-02 13:59:07 +08:00
Le Tan
2b2ae17cd1 refine default.mdhl
- Use a less attractive color for image link.
- Use the same color as code block for inline code.
2017-07-02 11:23:57 +08:00
Le Tan
59cf0a9e33 bug-fix: re-connect signals about Vim status after moving split 2017-07-01 17:21:26 +08:00
Le Tan
026e9f7ed5 refine README.md
1. Update README.md;
2. Split into two versions: English and Chinese.
2017-07-01 16:38:01 +08:00
Le Tan
f911c60c79 support flowchart.js
VNote supports flowchart.js in all for renderers.
2017-07-01 10:19:47 +08:00
Le Tan
9278149941 vim-mode: support shorcuts to jump between titles
- `[[`: jump to previous title;
- `]]`: jump to next title;
- `[]`: jump to previous title at the same level;
- `][`: jump to next title at the same level;
- `[{`: jump to previous title at a higher level;
- `]}`: jump to next title at a higher level;
2017-06-30 20:31:46 +08:00
Le Tan
e1acd6e9a2 vim-mode: support r for replacement 2017-06-30 19:17:42 +08:00
Le Tan
6df4dbe12a vim-mode: support more text objects for i and a
Now Vim supports word, WORD, '', "", ``, (), [], <>, {} as text object.
2017-06-29 19:36:50 +08:00
Le Tan
4b1e256308 vim-mode: going back to Normal mode from insert mode will clear auto indent and auto list 2017-06-28 22:04:54 +08:00
Le Tan
eeaeb0b567 enable font-size in editor section in MDHL file 2017-06-28 20:08:01 +08:00
Le Tan
11f06bf617 vim-mode: bug fixes
1. Enable repeat in f/t/F/T movement;
2. Make cw/W behave like ce/E;
2017-06-27 22:03:41 +08:00
Le Tan
bd5e8be1c0 change default background color of cursor line in Vim Insert/Normal mode
It is too hard to find some suitable color for all 4 backgrounds.
2017-06-27 22:03:01 +08:00
Le Tan
bf8bf9cc4f refine context menu of edit tab
1. "Move one split left/right" will create a new split if needed;
2. Add "Close Tab", "Close Other Tabs", and "Close Tabs To The Right" actions.
2017-06-26 22:26:03 +08:00
Le Tan
003ba7a1f2 bug-fix: some minor bug fixes
1. Refine VUpdater to compare versions with different sections, such as
1.2.3 or 1.2;
2. Update shortcuts help;
3. Fix bug with autoindent and autolist.
2017-06-26 18:51:54 +08:00
Le Tan
cf70786448 bug-fix: revert icns file
The new redrawn app icons on macOS seems do not work properly.
2017-06-25 22:58:19 +08:00
Le Tan
96ac582253 bug-fix: set menu role for certain actions
On macOS, OS will try to merge some actions to the application menu by
text matching, which will be broken in Chinese. So we need to set these
actions' role specifically, including: settings, exit, about, about QT.
2017-06-25 22:22:45 +08:00
Le Tan
9f4ac1f260 bug-fix: add Q_OS_MAC for check
Qt 5.7 seems to use Q_OS_MAC instead of Q_OS_MACOS.
2017-06-25 18:36:05 +08:00
Le Tan
a9ad26b035 vim-mode: use MetaModifier rather than ControlModifier in Vim mode on macOS 2017-06-25 14:58:52 +08:00
Le Tan
0369848943 bug-fix: user could not choose an existing empty folder as the root folder 2017-06-25 14:41:56 +08:00
Le Tan
748dc36cac release v1.6 v1.6 2017-06-24 09:35:18 +08:00