Le Tan
6a5fecf8ef
Add Navigation Mode to Captain Mode
...
In Captain Mode, W will trigger the Navigation Mode. In this mode,
registered widgets will display some characters for hints and after user
pressing the the keys, corresponding widget will take action as response.
For now, only VNotebookSelector registers in the Navigation Mode.
2017-04-04 18:02:47 +08:00
Le Tan
b0d3e42647
refine edit mode
...
1. Support "Ctrl+Alt+<N>" to insert title in Markdown;
2. Support Auto Indent;
3. Support Auto List;
2017-04-04 13:21:51 +08:00
Le Tan
3406eab29c
Captain mode
2017-03-27 19:44:23 +08:00
Le Tan
1894606c10
bugfix: add custom Exit action in menubar for macOS
...
Qt will create a default exit action for macOS which will crash the app.
2017-03-24 20:29:05 +08:00
Le Tan
a9b34955ee
support MathJax
...
Work well with Hoedown and Markdown-it.
2017-03-23 20:57:31 +08:00
Le Tan
b9f8144f29
bugfix for "locate to directory"
2017-03-23 14:14:44 +08:00
Le Tan
7c7db3fbb8
release v1.1
2017-03-22 21:58:08 +08:00
Le Tan
bed6a0d234
support mermaid diagram
2017-03-22 14:18:00 +08:00
Le Tan
7a51ee5b3d
add Markdown renderer markdown-it
2017-03-21 15:43:54 +08:00
Le Tan
fdb8c3bb3a
toggle m_importNoteAct according to current directory state
2017-03-18 18:12:36 +08:00
Le Tan
85a5ea6054
open two panels view after locating file
2017-03-18 17:51:00 +08:00
Le Tan
f46b023d1b
refine more messages to use tr()
2017-03-04 14:28:09 +08:00
Le Tan
38b18af4ab
refine Chinese translations
2017-03-04 13:49:22 +08:00
Le Tan
238983ed0d
refine all messages
2017-02-27 22:30:35 +08:00
Le Tan
c83fcf6ce9
add settings dialog and language setting
...
Add VSettingsDialog to show a settings dialog.
For now, VNote supports setting of language.
Add imcomplete Chinese support.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-02-26 17:13:52 +08:00
Le Tan
46988f5bef
refine editing shortcuts
...
1. Ctrl+[ behaves exactly like ESC;
2. Ctrl+W should delete the selected text if there has one.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-19 23:48:00 +08:00
Le Tan
59611872d4
use "image" as the default image title
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-14 09:26:48 +08:00
Le Tan
901c477705
utilize ExtraSelection for special highlighting
...
1. Highlight current line;
2. Highlight selected word;
3. Highlight searched word;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-12 21:00:06 +08:00
Le Tan
3005d9bf5c
implement Find/Replace logics
...
Supports Find/Replace in both edit and preview modes.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-08 21:09:00 +08:00
Le Tan
768c1632b0
save and restore the sate of the main splitter
...
Add a config "main_splitter_state" to store the state of the main
splitter.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-02 10:00:59 +08:00
Le Tan
41abbb21d0
refactor VMainWindow
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 15:46:57 +08:00
Le Tan
eaab820d8b
add find and replace dialog
...
Logic is not implemented yet.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2017-01-01 14:43:28 +08:00
Le Tan
3b442f55a9
highlight curren cursor line
...
Add configuration "highlight_cursor_line" in vnote.ini.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-25 20:31:59 +08:00
Le Tan
1aa264adc8
support locating current note
...
Support locating the notebook and directory of current note.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-24 13:09:19 +08:00
Le Tan
d2f61bc605
add shortcuts
...
1. `Ctrl + W`, `Ctrl + R`, `Ctrl + Q`, `Ctrl + S` for edit and view mode;
2. `Ctrl + E` to toggle expand view;
3. `Ctrl + N` to create note in current directory;
4. `Ctrl + H` in edit mode to delete previous char;
5. `Ctrl + W` in edit mode to delete till the start of previous word;
6. `Ctrl + U` in edit mode to delete till the start of current line;
7. `Tab`, `Shift + Tab` to indent or unindent selected lines;
8. `Ctrl + B`, `Ctrl + I` to make selected text bold or italic;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-18 22:26:01 +08:00
Le Tan
e069305b23
menu and actions text normalization
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-13 21:41:17 +08:00
Le Tan
5ff46d6237
implement insert image menu action
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 23:14:53 +08:00
Le Tan
66c1d543c2
synchronize current header in read and edit mode
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-12 21:58:53 +08:00
Le Tan
a884991150
refactor: add VMdEdit to inherit VEdit for markdown edit
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-11 14:42:01 +08:00
Le Tan
6a745df2eb
combine save and discard tool buttons
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 18:08:03 +08:00
Le Tan
68e6a214e9
combine view panel actions in toolbar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 17:24:33 +08:00
Le Tan
67c1f69a5b
disable context menu on QMainWindow to prevent hiding the toolbar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:28:10 +08:00
Le Tan
edca922f5e
support avatar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-10 11:21:08 +08:00
Le Tan
8f866f34ff
stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-09 21:08:38 +08:00
Le Tan
9413ef875b
modify stylesheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-08 22:42:34 +08:00
Le Tan
e32ee1fa90
refactor: VNotebookSelector
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-07 13:08:06 +08:00
Le Tan
9a197b5087
refactor: add VNotebookSelector for notebook management
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-04 22:26:48 +08:00
Le Tan
02d5300821
support copy and paste directory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-12-03 11:42:11 +08:00
Le Tan
e7c42ba5be
refactor: add VFile and VDirectory
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-30 22:58:00 +08:00
Le Tan
8e8d69c85f
refactor: VNote and VNotebook
...
regression: notebook renaming logics does not work for now
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-26 12:45:29 +08:00
Le Tan
7c69f80f17
split setupUI() in VMainWindow
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-24 22:23:50 +08:00
Le Tan
3722e6cb71
close all files before closing app
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-21 22:07:01 +08:00
Le Tan
0298b8bfe1
change the look of the notebook combobox
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 16:15:27 +08:00
Le Tan
e77c10df36
add icon for notebook and directory items
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 13:22:35 +08:00
Le Tan
3ae3462597
save/restore window state and geometry
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-20 11:12:15 +08:00
Le Tan
c7259c307e
add delete note button in tool bar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-15 22:17:15 +08:00
Le Tan
a6c2416cc8
add note info button in tool bar
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-15 14:48:16 +08:00
Le Tan
62c75427e7
complete rename logics
...
1. Handle directory rename correctly;
2. Handle file rename correctly;
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-14 22:40:38 +08:00
Le Tan
5e97ca8060
display current file in window title
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-13 16:15:13 +08:00
Le Tan
dcc7e6a0f7
add vnote.qss for style sheet
...
Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-11-13 08:05:43 +08:00